Miscellaneous Library, read Encoder etc.
Revision 2:1c5c71a6fac9, committed 2019-03-06
- Comitter:
- altb
- Date:
- Wed Mar 06 14:38:04 2019 +0000
- Parent:
- 1:c680da75a614
- Commit message:
- .....
Changed in this revision
define_constants.h | Show diff for this revision Revisions of this file |
--- a/define_constants.h Wed Mar 06 14:19:10 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -// -------- States ------- -#define INIT 0 -#define INIT_MOTORS 5 -#define WAIT_ARMING 10 -#define ARMING 20 -#define START_MOTORS 30 -#define FLIGHT 40 -#define MOTOR_STOPPED 50 - -// -------- Motor Types ------- -#define AIRGEAR350 1 // small TIgerMotor 4er set - -// --------- UAV Types -------- -#define QUAD1 1 // Ruprechts 1kg quad Plus -#define X 1 // -#define PLUS 2 // - - -// --------- Flight Modes -------- -#define STABILIZED 1 -#define ACRO 2 -#define LAND 3 -#define LOITER 4 -#define AUTO 5 -#define RTL 6 - -// --------- Assumed UAV States -------- -#define ONGROUND 1 -#define LIFTOFF 2 -#define FLYING 3 -#define CRASHED 4 -#define LANDING 5