Browse Source

Plane: cleanup HIL defines

master
Andrew Tridgell 11 years ago
parent
commit
e39247868c
  1. 2
      ArduPlane/APM_Config.h.reference
  2. 3
      ArduPlane/defines.h

2
ArduPlane/APM_Config.h.reference

@ -112,10 +112,8 @@ @@ -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

3
ArduPlane/defines.h

@ -62,8 +62,7 @@ enum gcs_failsafe { @@ -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…
Cancel
Save