AP_Vehicle: added defines for main vehicle types

This commit is contained in:
Andrew Tridgell 2014-03-26 12:15:45 +11:00
parent f31183f22d
commit 6b2f0b9553

View File

@ -19,6 +19,8 @@
parameters needed by multiple libraries
*/
#include <AP_Param.h>
class AP_Vehicle {
public:
@ -44,4 +46,16 @@ public:
};
};
/*
define common vehicle build types. Note that the APM_BUILD_DIRECTORY
define is only available with makefile based build, not with
arduino.
Also note that code needs to support other APM_BUILD_DIRECTORY
values for example sketches
*/
#define APM_BUILD_APMrover2 1
#define APM_BUILD_ArduCopter 2
#define APM_BUILD_ArduPlane 3
#define APM_BUILD_AntennaTracker 4
#endif // AP_VEHICLE_H