mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Updated flight modes diagrams & comments.
This commit is contained in:
parent
31089a290b
commit
ef75bbf2ef
Binary file not shown.
Binary file not shown.
@ -40,8 +40,8 @@ enum AUTOQUAD_NAV_STATUS
|
||||
AQ_NAV_STATUS_INIT=0, /* System is initializing | */
|
||||
AQ_NAV_STATUS_STANDBY=1, /* System is standing by, not active | */
|
||||
AQ_NAV_STATUS_MANUAL=2, /* Stabilized, under full manual control | */
|
||||
AQ_NAV_STATUS_ALTCTRL=4, /* Altitude hold engaged | */
|
||||
AQ_NAV_STATUS_POSCTRL=8, /* Position hold engaged | */
|
||||
AQ_NAV_STATUS_ALTCTRL=4, /* Altitude control engaged | */
|
||||
AQ_NAV_STATUS_POSCTRL=8, /* Position control engaged | */
|
||||
AQ_NAV_STATUS_DVH=16, /* Dynamic Velocity Hold is active | */
|
||||
AQ_NAV_STATUS_MISSION=32, /* Autonomous mission execution mode | */
|
||||
AQ_NAV_STATUS_CEILING_REACHED=67108864, /* Craft is at ceiling altitude | */
|
||||
|
||||
@ -230,7 +230,7 @@ void BlockMultiModeBacksideAutopilot::update()
|
||||
_actuators.control[CH_THR] = _manual.throttle;
|
||||
|
||||
} else if (_status.main_state == MAIN_STATE_ALTCTRL ||
|
||||
_status.main_state == MAIN_STATE_POSCTRL /* TODO, implement easy */) {
|
||||
_status.main_state == MAIN_STATE_POSCTRL /* TODO, implement pos control */) {
|
||||
|
||||
// calculate velocity, XXX should be airspeed, but using ground speed for now
|
||||
// for the purpose of control we will limit the velocity feedback between
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user