mirror of https://github.com/ArduPilot/ardupilot
Plane: cleanup HIL defines
This commit is contained in:
parent
24f2ac20de
commit
e39247868c
|
@ -112,10 +112,8 @@
|
|||
// HIL_PROTOCOL_MAVLINK Configure for HIL over MAVLink.
|
||||
//
|
||||
// HIL_MODE_DISABLED Configure for standard flight.
|
||||
// HIL_MODE_ATTITUDE Simulator provides attitude and position information.
|
||||
// HIL_MODE_SENSORS Simulator provides raw sensor values.
|
||||
//
|
||||
// Note that currently HIL_PROTOCOL_XPLANE requires HIL_MODE_ATTITUDE.
|
||||
// Note that currently HIL_PROTOCOL_MAVLINK requires HIL_MODE_SENSORS.
|
||||
//
|
||||
//#define HIL_MODE HIL_MODE_DISABLED
|
||||
|
|
|
@ -62,8 +62,7 @@ enum gcs_failsafe {
|
|||
// are now the same thing, and are sensors based. The old define is
|
||||
// kept to allow old APM_Config.h headers to keep working
|
||||
#define HIL_MODE_DISABLED 0
|
||||
#define HIL_MODE_ATTITUDE 1
|
||||
#define HIL_MODE_SENSORS 2
|
||||
#define HIL_MODE_SENSORS 1
|
||||
|
||||
enum FlightMode {
|
||||
MANUAL = 0,
|
||||
|
|
Loading…
Reference in New Issue