Skip to content

Commit

Permalink
Updated flight modes diagrams & comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
TickTock- committed Apr 29, 2014
1 parent 31089a2 commit ef75bbf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified Documentation/rc_mode_switch.odg
Binary file not shown.
Binary file modified Documentation/rc_mode_switch.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions mavlink/include/mavlink/v1.0/autoquad/autoquad.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 | */
Expand Down
2 changes: 1 addition & 1 deletion src/modules/fixedwing_backside/fixedwing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef75bbf

Please sign in to comment.