generalized-intelligence / GAAS

GAAS is an open-source program designed for fully autonomous VTOL(a.k.a flying cars) and drones. GAAS stands for Generalized Autonomy Aviation System.
https://www.gaas.dev
BSD 3-Clause "New" or "Revised" License
1.88k stars 441 forks source link

SET_POSITION_TARGET_LOCAL_NED coordinate frame 9 unsupported In offboard control #129

Closed droidlyx86 closed 3 years ago

droidlyx86 commented 3 years ago

In tutorial1(offboard control), px4_mavros_run.py set the coordinate frame of the function SET_POSITION_TARGET_LOCAL_NED to 9 at line 111, resulting in the mavlink warning saying that SET_POSITION_TARGET_LOCAL_NED coordinate frame 9 unsupported, which makes the program unable to set the target location of the drone. So the drone can't take off.

Coordinate frame 9 responds to MAV_FRAME_BODY_OFFSET_NED, however, according to ROS document, Currently, in PX4 firmware, only MAV_FRAME_LOCAL_NED(coordinate frame 1) is used, which may be the main reason of the problem.

Did the code used to work? it seems to be deprecated now.

cyanine-gi commented 3 years ago

Please check your px4 version. We only support px4 1.8.0 officially now.