How does MAV_FRAME_LOCAL_NED work?
Background
I am trying to use OFFBOARD control mode using px4 firmware and haven't decided if I want to publish my command to /setpoint_velocity/cmd_vel
topic or /setpoint_position/local
topic. I would like to develop a system so that I can command my quadrotor to move forward, backward, and yaw rate while quadrotor is holding its altitude.
Question
How exactly MAV_FRAME_LOCAL_NED work? Where is the origin of this frame?
When I command
/setpoint_velocity/cmd_vel
, if I give0
to itslinear.z
value, would it be enough for the quadrotor to hold its altitude?When I command
/setpoint_velocity/cmd_vel
,linear.x
,linear.y
, andlinear.z
commands are aligned with the quadrotor body frame or LOCAL_NED frame? (I think the latter is the answer, but I just want to make sure).
Thank you in advance for any help !