Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
define_constants.h
- Committer:
- altb
- Date:
- 2019-02-25
- Revision:
- 11:78e723ede0c6
- Parent:
- 7:5c4cbeee68fa
File content as of revision 11:78e723ede0c6:
// -------- 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