ardupilot/AntennaTracker/defines.h

42 lines
926 B
C
Raw Normal View History

#pragma once
// Controller modes
// ----------------
enum ServoType {
SERVO_TYPE_POSITION=0,
SERVO_TYPE_ONOFF=1,
SERVO_TYPE_CR=2
};
enum AltSource {
2016-06-13 05:44:23 -03:00
ALT_SOURCE_BARO=0,
ALT_SOURCE_GPS=1,
ALT_SOURCE_GPS_VEH_ONLY=2
2016-06-13 05:44:23 -03:00
};
2019-06-13 14:16:29 -03:00
enum class PWMDisarmed {
ZERO = 0,
TRIM,
};
2016-07-27 23:19:54 -03:00
// Filter
#define SERVO_OUT_FILT_HZ 0.1f
#define G_Dt 0.02f
2015-12-27 03:05:14 -04:00
// Logging parameters
#define MASK_LOG_ATTITUDE (1<<0)
#define MASK_LOG_GPS (1<<1)
#define MASK_LOG_RCIN (1<<2)
#define MASK_LOG_IMU (1<<3)
#define MASK_LOG_RCOUT (1<<4)
#define MASK_LOG_COMPASS (1<<5)
#define MASK_LOG_CURRENT (1<<6)
2015-12-27 03:05:14 -04:00
#define MASK_LOG_ANY 0xFFFF
2016-05-12 02:17:31 -03:00
// Logging messages - only 32 messages are available to the vehicle here.
enum log_messages {
LOG_V_BAR_MSG,
LOG_V_POS_MSG,
};