Browse Source

Copter: accept guided pos updates when doing NAV_GUIDED cmd

master
Randy Mackay 11 years ago
parent
commit
279926e386
  1. 2
      ArduCopter/commands_logic.pde

2
ArduCopter/commands_logic.pde

@ -857,7 +857,7 @@ static bool verify_yaw() @@ -857,7 +857,7 @@ static bool verify_yaw()
static bool do_guided(const AP_Mission::Mission_Command& cmd)
{
// only process guided waypoint if we are in guided mode
if (control_mode != GUIDED) {
if (control_mode != GUIDED && !(control_mode == AUTO && auto_mode == Auto_NavGuided)) {
return false;
}

Loading…
Cancel
Save