Closed muralivnv closed 7 years ago
I don't see any usage of _COV
in APM code.
Covariance msgs are not sent through Mavlink stream so it would never work unless you add that feature on Ardupilot Firmware.
When I looked inside common.xml under msgs in mavlink msgs package, I can see the message LOCAL_POSITION_NED_COV defined. Just to confirm what you said @TSC21, so you are saying that APM doesn't support this message and this message is defined for px4 stack autopilots. Is this right?
One thing is having the msg defined. Another is the autopilot using it. Neither PX4 is sending it (eventhough is able to receive it).
Thank you @TSC21 for clarifying. I had this doubt for long time. I'm closing this issue.
Issue details
I wrote a custom plugin that subscribes to mavlink message LOCAL_POSITION_NED_COV, so that i can view the pixhawk EKF covariances. I'm able to see the topic in "rostopic list", but after echoing the topic in terminal I'm not able to see any message details. LOCAL_POSITION_NED is giving the output but the above LOCAL_POSITION_NED_COV is not.
This is how i wrote the plugin, First of all I wrote the new plugin and added it under "src/plugins/" Then i changed the "mavros_plugins.xml" to specify the new plugin Then added the plugin in "CMakeLists.Txt" The following the program for custom plugin "LOCAL_POSITION_NED_COV"
MAVROS version and platform
Mavros: 0.18.4 ROS: Kinetic Ubuntu: 16.04
Autopilot type and version
[ ] ArduPilot Version: 3.7.1