Miscellaneous Library, read Encoder etc.
define_constants.h@0:3312872854c4, 2019-03-04 (annotated)
- Committer:
- altb
- Date:
- Mon Mar 04 11:03:51 2019 +0000
- Revision:
- 0:3312872854c4
New Lib Folder
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
altb | 0:3312872854c4 | 1 | // -------- States ------- |
altb | 0:3312872854c4 | 2 | #define INIT 0 |
altb | 0:3312872854c4 | 3 | #define INIT_MOTORS 5 |
altb | 0:3312872854c4 | 4 | #define WAIT_ARMING 10 |
altb | 0:3312872854c4 | 5 | #define ARMING 20 |
altb | 0:3312872854c4 | 6 | #define START_MOTORS 30 |
altb | 0:3312872854c4 | 7 | #define FLIGHT 40 |
altb | 0:3312872854c4 | 8 | #define MOTOR_STOPPED 50 |
altb | 0:3312872854c4 | 9 | |
altb | 0:3312872854c4 | 10 | // -------- Motor Types ------- |
altb | 0:3312872854c4 | 11 | #define AIRGEAR350 1 // small TIgerMotor 4er set |
altb | 0:3312872854c4 | 12 | |
altb | 0:3312872854c4 | 13 | // --------- UAV Types -------- |
altb | 0:3312872854c4 | 14 | #define QUAD1 1 // Ruprechts 1kg quad Plus |
altb | 0:3312872854c4 | 15 | #define X 1 // |
altb | 0:3312872854c4 | 16 | #define PLUS 2 // |
altb | 0:3312872854c4 | 17 | |
altb | 0:3312872854c4 | 18 | |
altb | 0:3312872854c4 | 19 | // --------- Flight Modes -------- |
altb | 0:3312872854c4 | 20 | #define STABILIZED 1 |
altb | 0:3312872854c4 | 21 | #define ACRO 2 |
altb | 0:3312872854c4 | 22 | #define LAND 3 |
altb | 0:3312872854c4 | 23 | #define LOITER 4 |
altb | 0:3312872854c4 | 24 | #define AUTO 5 |
altb | 0:3312872854c4 | 25 | #define RTL 6 |
altb | 0:3312872854c4 | 26 | |
altb | 0:3312872854c4 | 27 | // --------- Assumed UAV States -------- |
altb | 0:3312872854c4 | 28 | #define ONGROUND 1 |
altb | 0:3312872854c4 | 29 | #define LIFTOFF 2 |
altb | 0:3312872854c4 | 30 | #define FLYING 3 |
altb | 0:3312872854c4 | 31 | #define CRASHED 4 |
altb | 0:3312872854c4 | 32 | #define LANDING 5 |