I would like to move a copter based on the body frame (forward, right, down, yaw) in Offboard mode, using the
SET_POSITION_TARGET_LOCAL_NED mavlink message.
In PX4’s docs, it says the
MAV_FRAME_BODY_NED is supported:
However, this frame has since been deprecated and replaced by
So I tried to implement a
set_position_body function in the C++ library by replicating the
set_position_ned implementation, but instead using the
MAV_FRAME_BODY_FRD frame. I got this warning:
Is there a way to achieve positional movement based on the drone’s body (move 2m to the right, forward, etc) using MAVSDK? Any insights are greatly appreciated.