"set_position_target_local_ned: coordinate frame 0 unsupported" error in QGroundControl
-
Hello -
After upgrading SDK from 1.5.0 to 1.6.3, I am unable to calibrate the Starling 2 in QGroundControl (Version 4.4.4)
Error message: "set_position_target_local_ned: coordinate frame 0 unsupported"
It seems the Starling 2 is sending a Mavlink message that is trying to set the coordinate frame to 0 (MAV_FRAME_GLOBAL), which cannot be processed by the local NED setpoint command.
Any suggestions on how to correct this error would be appreciated.
Thanks -
@Hector-Gutierrez What calibration step is not working? Are you running any custom software, like ROS or MAVSDK based applications? If you disable voxl-vision-hub does the error go away?
-
@Eric-Katzfey : I'm not running any custom software other than voxl-vision-hub.
If I stop and disable voxl-vision-hub, the "set_position_target_local_ned: coordinate frame 0 unsupported" error goes away !
With this I am able to complete calibration (compass and IMU) successfully in GQC, BUT drone fails to arm in Position mode even though QGC shows "Ready to Fly" and all Sensor status show as "normal".
Checking VIO in VOXL Portal shows correct operation of VIO: VIO plot follows drone motion, which seems to indicate that VIO is working fine, but
QGC shows "Yaw estimate error" , and "--" as altitude estimate, which prevent the drone from arming in Position mode.
Then I re-enable and restart voxl-vision-hub.
Now GQC receives altitude estimates and I'm able to arm the drone in position mode !
So the trick seems to be to disable/stop voxl-vision-hub, calibrate IMU if needed, and enable/restart voxl-vision-hub, to be able to arm in Position mode.
Seems odd but I'll take it ! Let me know if you have any comments or suggestions. Thanks. -
@Hector-Gutierrez Well, I'm happy that worked, but you shouldn't have to disable voxl-vision-hub like that. I only suggested that as a debug step. We'll take a look and see if we can reproduce the error and come up with a better solution.