Skip to content
Snippets Groups Projects
Commit ef75bbf2 authored by TickTock-'s avatar TickTock-
Browse files

Updated flight modes diagrams & comments.

parent 31089a29
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment