VARTest: cleanup HIL defines

This commit is contained in:
Andrew Tridgell 2014-01-02 16:29:23 +11:00
parent ec913df7a9
commit f64488e2cf
2 changed files with 2 additions and 7 deletions

View File

@ -21,15 +21,11 @@
// HIL_MODE SELECTION
//
// Mavlink supports
// 1. HIL_MODE_ATTITUDE : simulated position, airspeed, and attitude
// 2. HIL_MODE_SENSORS: full sensor simulation
// 1. HIL_MODE_SENSORS: full sensor simulation
#define HIL_MODE HIL_MODE_ATTITUDE
// Sensors
// All sensors are supported in all modes.
// The magnetometer is not used in
// HIL_MODE_ATTITUDE but you may leave it
// enabled if you wish.
#define AIRSPEED_SENSOR ENABLED
#define MAGNETOMETER ENABLED
#define AIRSPEED_CRUISE 25

View File

@ -55,8 +55,7 @@
// HIL enumerations
#define HIL_MODE_DISABLED 0
#define HIL_MODE_ATTITUDE 1
#define HIL_MODE_SENSORS 2
#define HIL_MODE_SENSORS 1
// Auto Pilot modes
// ----------------