2013-10-13 04:14:13 -03:00
|
|
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
|
|
|
|
|
|
|
#ifndef _DEFINES_H
|
|
|
|
#define _DEFINES_H
|
|
|
|
|
2014-03-02 03:00:37 -04:00
|
|
|
// Command/Waypoint/Location Options Bitmask
|
|
|
|
//--------------------
|
|
|
|
#define MASK_OPTIONS_RELATIVE_ALT (1<<0) // 1 = Relative
|
|
|
|
// altitude
|
|
|
|
|
2014-03-06 18:13:53 -04:00
|
|
|
// Controller modes
|
|
|
|
// ----------------
|
|
|
|
|
|
|
|
enum ControlMode {
|
|
|
|
MANUAL=0,
|
2014-03-22 05:08:17 -03:00
|
|
|
STOP=1,
|
2014-04-09 02:27:56 -03:00
|
|
|
SCAN=2,
|
2014-10-06 08:45:07 -03:00
|
|
|
SERVO_TEST=3,
|
2014-03-06 18:13:53 -04:00
|
|
|
AUTO=10,
|
|
|
|
INITIALISING=16
|
|
|
|
};
|
|
|
|
|
2014-07-23 05:41:25 -03:00
|
|
|
enum ServoType {
|
|
|
|
SERVO_TYPE_POSITION=0,
|
2015-06-03 11:05:58 -03:00
|
|
|
SERVO_TYPE_ONOFF=1,
|
|
|
|
SERVO_TYPE_CR=2
|
2014-07-23 05:41:25 -03:00
|
|
|
};
|
|
|
|
|
2013-10-13 04:14:13 -03:00
|
|
|
#endif // _DEFINES_H
|
2014-03-02 03:00:37 -04:00
|
|
|
|