Hello,
I would like to perform calibration using mavros, that is installed on small onboard computer in my case NanoPi.
Issue details
Right now I can initialize for example level horizon calibration it using commandLong:
rospy.loginfo("Calibrating level horizon")
try:
res = self.set_cmd_long_srv(command=241, param1=0, param2=0, param3=0, param4=0,
param5=2, param6=0, param7=0)
if res.success:
rospy.loginfo("Calibrating level horizon pending")
except rospy.ServiceException as e:
rospy.logerr(str(e))
On PX4 I am getting calibtration messages on topic /mavros/statustext/recv, but only if I forward mavlink to gcs and connect with qGroundcontrol. Otherwise I am not getting anything on that topic.
On Ardupilot I am getting preflight messages on topic /mavros/statustext/recv but when I start calibration I am getting nothing.
Is there any way to start mavros so I will get the calibration results on any topic without connecting to gcs?
Can I write some plugin to mavros that will publish FCU messages to some topic when new message appears?
Hello, I would like to perform calibration using mavros, that is installed on small onboard computer in my case NanoPi.
Issue details
Right now I can initialize for example level horizon calibration it using commandLong:
On PX4 I am getting calibtration messages on topic /mavros/statustext/recv, but only if I forward mavlink to gcs and connect with qGroundcontrol. Otherwise I am not getting anything on that topic.
Here is how i launch mavros with gcs forwarding:
On Ardupilot I am getting preflight messages on topic /mavros/statustext/recv but when I start calibration I am getting nothing.
Is there any way to start mavros so I will get the calibration results on any topic without connecting to gcs? Can I write some plugin to mavros that will publish FCU messages to some topic when new message appears?
MAVROS version and platform
Mavros: 1.15.0-1focal.20230216.003459 ROS: Noetic Ubuntu: 20.04
Autopilot type and version
[x]ArduPilot [x] PX4
Version: [v1.13.3]
Mavros output with gcs connected (they also appear on mavros topic /mavros/statustext/recv)
Diagnostics
Check ID