I’m looking for a expert opinion on what would the best way to approach integrating the measurements of a weather station (wind direction and velocity). My ultimate goal would be to fusion these measurements in the EKF.
However, I’m looking to break the process down in steps:
1- Be able to capture data from the weather station (done)
2- Be able to display the wind measurement on Qgroundcontrol and have them logged
3- Be able to transmit measurement to PX4 and have then sync with onboard measurement and logged
4- Integrate the measurement in the EKF
Weather station is connect to my PC through a serial port from which I can read the data and parse the measurement.
High level Plan:
1- Create a new mavlink message
2- Use MAVSDK to connect to the serial port, parse the measurements and transmit them using custom mavlink.
3- On QgroundControl add widget to display measure wind
4- On Px4 create a new uOrb message and convert mavlink to uorb
5- integrate measurement to wind estimation
What I would like to know is:
Does this seem like the right to go about this?
Specifically can (and should) MAVSDK be used for broadcast a mavlink message?