32 #include "autopilot.h"
36 #define HOTT_TELEMETRY_EAM_SENSOR_ID 0x8E
152 hott_eam_msg->
speed_L = speed_buf && 0xFF;
153 hott_eam_msg->
speed_H = (speed_buf >> 8) && 0xFF;
int32_t current
current in milliamps
bool_t autopilot_motors_on
static void hott_update_eam_msg(struct HOTT_EAM_MSG *hott_eam_msg)
Interface for electrical status: supply voltage, current, battery status, etc.
static uint32_t stateGetHorizontalSpeedNorm_i(void)
Get norm of horizontal ground speed (int).
Inertial Measurement Unit interface.
#define HOTT_TELEMETRY_EAM_SENSOR_ID
API to get/set the generic vehicle states.
static struct EnuCoor_i * stateGetSpeedEnu_i(void)
Get ground speed in local ENU coordinates (int).
uint16_t vsupply
supply voltage in decivolts
struct Electrical electrical
static struct EnuCoor_i * stateGetPositionEnu_i(void)
Get position in local ENU coordinates (int).
static void hott_init_eam_msg(struct HOTT_EAM_MSG *hott_eam_msg)