You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first message mode is MODE_NPOS_EPOS_DPOS_YAW, which is fine; it commands the NED position and yaw. However, starting with the next mode (MODE_NVEL_EVEL_DPOS_YAWRATE), the velocities that are commanded are no longer in the inertial frame, but in the vehicle 1 frame (translated to the body, then yawed). While the down position "DPOS" or velocity/acceleration in other message modes is correct because the k axis of the v1 frame aligns with the down direction of the inertial frame, it seems wrong to have the message say "NVEL" or later "NACC" when the command is in the v1 frame, so not necessarily north.
It looks like the controller uses x, y, z as the v1 frame coordinates. Would it be appropriate to rename the command modes to align with that notation? Or should the controller be changed to use inertial frame coordinates, because maybe it would be more valuable to command velocity and accelerations in north and east directions?
The text was updated successfully, but these errors were encountered:
The first message mode is
MODE_NPOS_EPOS_DPOS_YAW
, which is fine; it commands the NED position and yaw. However, starting with the next mode (MODE_NVEL_EVEL_DPOS_YAWRATE
), the velocities that are commanded are no longer in the inertial frame, but in the vehicle 1 frame (translated to the body, then yawed). While the down position "DPOS" or velocity/acceleration in other message modes is correct because the k axis of the v1 frame aligns with the down direction of the inertial frame, it seems wrong to have the message say "NVEL" or later "NACC" when the command is in the v1 frame, so not necessarily north.It looks like the controller uses x, y, z as the v1 frame coordinates. Would it be appropriate to rename the command modes to align with that notation? Or should the controller be changed to use inertial frame coordinates, because maybe it would be more valuable to command velocity and accelerations in north and east directions?
The text was updated successfully, but these errors were encountered: