Updated flight modes diagrams & comments.

This commit is contained in:
TickTock-
2014-04-28 22:11:02 -07:00
parent 31089a290b
commit ef75bbf2ef
4 changed files with 3 additions and 3 deletions
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 | */
+1 -1
View File
@@ -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