mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 01:28:29 -04:00
Copter: remove OF_LOITER entirely
This commit is contained in:
parent
d969154391
commit
0e85f55cfc
@ -161,7 +161,6 @@ NOINLINE void Copter::send_extended_status1(mavlink_channel_t chan)
|
|||||||
case RTL:
|
case RTL:
|
||||||
case CIRCLE:
|
case CIRCLE:
|
||||||
case LAND:
|
case LAND:
|
||||||
case OF_LOITER:
|
|
||||||
case POSHOLD:
|
case POSHOLD:
|
||||||
case BRAKE:
|
case BRAKE:
|
||||||
control_sensors_enabled |= MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL;
|
control_sensors_enabled |= MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL;
|
||||||
|
@ -95,7 +95,6 @@ enum autopilot_modes {
|
|||||||
RTL = 6, // automatic return to launching point
|
RTL = 6, // automatic return to launching point
|
||||||
CIRCLE = 7, // automatic circular flight with automatic throttle
|
CIRCLE = 7, // automatic circular flight with automatic throttle
|
||||||
LAND = 9, // automatic landing with horizontal position control
|
LAND = 9, // automatic landing with horizontal position control
|
||||||
OF_LOITER = 10, // deprecated
|
|
||||||
DRIFT = 11, // semi-automous position, yaw and throttle control
|
DRIFT = 11, // semi-automous position, yaw and throttle control
|
||||||
SPORT = 13, // manual earth-frame angular rate control with manual throttle
|
SPORT = 13, // manual earth-frame angular rate control with manual throttle
|
||||||
FLIP = 14, // automatically flip the vehicle on the roll axis
|
FLIP = 14, // automatically flip the vehicle on the roll axis
|
||||||
|
@ -352,9 +352,6 @@ void Copter::print_flight_mode(AP_HAL::BetterStream *port, uint8_t mode)
|
|||||||
case LAND:
|
case LAND:
|
||||||
port->print("LAND");
|
port->print("LAND");
|
||||||
break;
|
break;
|
||||||
case OF_LOITER:
|
|
||||||
port->print("OF_LOITER");
|
|
||||||
break;
|
|
||||||
case DRIFT:
|
case DRIFT:
|
||||||
port->print("DRIFT");
|
port->print("DRIFT");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user