dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
msp_messages.h File Reference

Go to the source code of this file.

Data Structures

struct  msp_ident
 
struct  msp_status
 
struct  msp_raw_imu
 
struct  msp_servo
 
struct  msp_motor
 
struct  msp_set_motor
 
struct  msp_rc
 
struct  msp_set_raw_rc
 
struct  msp_raw_gps
 
struct  msp_set_raw_gps
 
struct  msp_comp_gps
 
struct  msp_attitude
 
struct  msp_altitude
 
struct  msp_analog
 
struct  msp_rc_tuning
 
struct  msp_set_rc_tuning
 
struct  _msp_pid_item
 
struct  msp_pid
 
struct  msp_set_pid
 
struct  msp_box
 
struct  msp_set_box
 
struct  msp_misc
 
struct  msp_set_misc
 
struct  msp_motor_pins
 
struct  msp_boxnames
 
struct  msp_pidnames
 
struct  msp_wp
 
struct  msp_set_wp
 
struct  msp_boxids
 
struct  _msp_servo_conf_item
 
struct  msp_servo_conf
 
struct  msp_select_setting
 
struct  msp_set_head
 

Enumerations

enum  msp_message_id {
  MSP_MSG_IDENT = 100, MSP_MSG_STATUS = 101, MSP_MSG_RAW_IMU = 102, MSP_MSG_SERVO = 103,
  MSP_MSG_MOTOR = 104, MSP_MSG_RC = 105, MSP_MSG_RAW_GPS = 106, MSP_MSG_COMP_GPS = 107,
  MSP_MSG_ATTITUDE = 108, MSP_MSG_ALTITUDE = 109, MSP_MSG_ANALOG = 110, MSP_MSG_RC_TUNING = 111,
  MSP_MSG_PID = 112, MSP_MSG_BOX = 113, MSP_MSG_MISC = 114, MSP_MSG_MOTOR_PINS = 115,
  MSP_MSG_BOXNAMES = 116, MSP_MSG_PIDNAMES = 117, MSP_MSG_WP = 118, MSP_MSG_BOXIDS = 119,
  MSP_MSG_SERVO_CONF = 120, MSP_MSG_SET_RAW_RC = 200, MSP_MSG_SET_RAW_GPS = 201, MSP_MSG_SET_PID = 202,
  MSP_MSG_SET_BOX = 203, MSP_MSG_SET_RC_TUNING = 204, MSP_MSG_ACC_CALIBRATION = 205, MSP_MSG_MAG_CALIBRATION = 206,
  MSP_MSG_SET_MISC = 207, MSP_MSG_RESET_CONF = 208, MSP_MSG_SET_WP = 209, MSP_MSG_SELECT_SETTING = 210,
  MSP_MSG_SET_HEAD = 211, MSP_MSG_SET_SERVO_CONF = 212, MSP_MSG_SET_MOTOR = 214, MSP_MSG_BIND = 240,
  MSP_MSG_EEPROM_WRITE = 250, MSP_EXT_NAV_STATUS = 121, MSP_EXT_NAV_CONFIG = 122, MSP_EXT_FW_CONFIG = 123,
  MSP_EXT_UID = 160, MSP_EXT_GPSSVINFO = 164, MSP_EXT_GPSDEBUGINFO = 166, MSP_EXT_ACC_TRIM = 240,
  MSP_EXT_SERVOMIX_CONF = 241, MSP_EXT_SET_NAV_CONFIG = 215, MSP_EXT_SET_FW_CONFIG = 216, MSP_EXT_SET_ACC_TRIM = 239,
  MSP_EXT_SET_SERVOMIX_CONF = 242, MSP_EXT_DEBUGMSG = 253, MSP_EXT_DEBUG = 254
}
 

Functions

struct msp_ident __attribute ((packed))
 
struct msp_box __attribute__ ((packed))
 

Variables

uint8_t version
 
uint8_t multitype
 
uint8_t msp_version
 
uint32_t capability
 
uint16_t cycle_time
 
uint16_t i2c_errors_count
 
uint16_t sensor
 
uint32_t flag
 
uint8_t current_set
 
int16_t accx
 
int16_t accy
 
int16_t accz
 
int16_t gyrx
 
int16_t gyry
 
int16_t gyrz
 
int16_t magx
 
int16_t magy
 
int16_t magz
 
uint16_t servo [8]
 
uint16_t motor [8]
 
uint16_t rc_data [8]
 
uint8_t fix
 
uint8_t num_sat
 
uint32_t coord_lat
 
uint32_t coord_lon
 
uint16_t altitude
 
uint16_t speed
 
uint16_t ground_course
 
uint16_t distance_to_home
 
uint16_t direction_to_home
 
uint8_t update
 
int16_t angx
 
int16_t angy
 
int16_t heading
 
int32_t est_alt
 
int16_t vario
 
uint8_t vbat
 
uint16_t power_meter_sum
 
uint16_t rssi
 
uint16_t amperage
 
uint8_t rc_rate
 
uint8_t rc_expo
 
uint8_t roll_pitch_rate
 
uint8_t yaw_rate
 
uint8_t dyn_thr_pid
 
uint8_t throttle_mid
 
uint8_t throttle_expo
 
uint8_t p
 
uint8_t i
 
uint8_t d
 
struct _msp_pid_item roll
 
struct _msp_pid_item pitch
 
struct _msp_pid_item yaw
 
struct _msp_pid_item alt
 
struct _msp_pid_item pos
 
struct _msp_pid_item posr
 
struct _msp_pid_item navr
 
struct _msp_pid_item level
 
struct _msp_pid_item mag
 
struct _msp_pid_item vel
 
uint16_t boxitems [1]
 
uint16_t power_trigger
 
uint16_t min_throttle
 
uint16_t max_throttle
 
uint16_t min_command
 
uint16_t failsafe_throttle
 
uint16_t arm_count
 
uint32_t lifetime
 
uint16_t mag_declination
 
uint8_t vbat_scale
 
uint8_t vbat_warn1
 
uint8_t vbat_warn2
 
uint8_t vbat_crit
 
uint8_t pwm_pin [8]
 
char items [0]
 
uint8_t wp_no
 
uint32_t lat
 
uint32_t lon
 
uint32_t alt_hold
 
uint16_t time_to_stay
 
uint8_t nav_flag
 
uint8_t checkbox_items [0]
 
uint16_t min
 
uint16_t max
 
uint16_t middle
 
uint8_t rate
 
struct _msp_servo_conf_item servos [8]
 
uint16_t mag_hold
 

Detailed Description

Author
dRonin, http://dRonin.org/, Copyright (C) 2016

Definition in file msp_messages.h.

Variable Documentation

int16_t accx

Definition at line 96 of file msp_messages.h.

int16_t accy

Definition at line 97 of file msp_messages.h.

int16_t accz

Definition at line 98 of file msp_messages.h.

struct _msp_pid_item alt

Definition at line 99 of file msp_messages.h.

uint32_t alt_hold

Definition at line 99 of file msp_messages.h.

uint16_t altitude

Definition at line 100 of file msp_messages.h.

uint16_t amperage

Definition at line 99 of file msp_messages.h.

int16_t angx

Definition at line 96 of file msp_messages.h.

int16_t angy

Definition at line 97 of file msp_messages.h.

uint16_t arm_count

Definition at line 101 of file msp_messages.h.

uint16_t boxitems

Definition at line 96 of file msp_messages.h.

uint32_t capability

Definition at line 99 of file msp_messages.h.

uint8_t checkbox_items[0]

Definition at line 96 of file msp_messages.h.

uint32_t coord_lat

Definition at line 98 of file msp_messages.h.

uint32_t coord_lon

Definition at line 99 of file msp_messages.h.

uint8_t current_set

Definition at line 100 of file msp_messages.h.

uint16_t cycle_time

Definition at line 96 of file msp_messages.h.

uint8_t d

Definition at line 98 of file msp_messages.h.

uint16_t direction_to_home

Definition at line 97 of file msp_messages.h.

uint16_t distance_to_home

Definition at line 96 of file msp_messages.h.

uint8_t dyn_thr_pid

Definition at line 100 of file msp_messages.h.

int32_t est_alt

Definition at line 96 of file msp_messages.h.

uint16_t failsafe_throttle

Definition at line 100 of file msp_messages.h.

uint8_t fix

Definition at line 96 of file msp_messages.h.

uint32_t flag

Definition at line 99 of file msp_messages.h.

uint16_t ground_course

Definition at line 102 of file msp_messages.h.

int16_t gyrx

Definition at line 99 of file msp_messages.h.

int16_t gyry

Definition at line 100 of file msp_messages.h.

int16_t gyrz

Definition at line 101 of file msp_messages.h.

uint16_t heading

Definition at line 98 of file msp_messages.h.

uint8_t i

Definition at line 97 of file msp_messages.h.

uint16_t i2c_errors_count

Definition at line 97 of file msp_messages.h.

char items

Definition at line 96 of file msp_messages.h.

uint32_t lat

Definition at line 97 of file msp_messages.h.

struct _msp_pid_item level

Definition at line 103 of file msp_messages.h.

uint32_t lifetime

Definition at line 102 of file msp_messages.h.

uint32_t lon

Definition at line 98 of file msp_messages.h.

struct _msp_pid_item mag

Definition at line 104 of file msp_messages.h.

uint16_t mag_declination

Definition at line 103 of file msp_messages.h.

uint16_t mag_hold

Definition at line 96 of file msp_messages.h.

int16_t magx

Definition at line 102 of file msp_messages.h.

int16_t magy

Definition at line 103 of file msp_messages.h.

int16_t magz

Definition at line 104 of file msp_messages.h.

uint16_t max

Definition at line 97 of file msp_messages.h.

uint16_t max_throttle

Definition at line 98 of file msp_messages.h.

uint16_t middle

Definition at line 98 of file msp_messages.h.

uint16_t min

Definition at line 96 of file msp_messages.h.

uint16_t min_command

Definition at line 99 of file msp_messages.h.

uint16_t min_throttle

Definition at line 97 of file msp_messages.h.

uint16_t motor

Definition at line 96 of file msp_messages.h.

uint8_t msp_version

Definition at line 98 of file msp_messages.h.

uint8_t multitype

Definition at line 97 of file msp_messages.h.

uint8_t nav_flag

Definition at line 102 of file msp_messages.h.

struct _msp_pid_item navr

Definition at line 102 of file msp_messages.h.

uint8_t num_sat

Definition at line 97 of file msp_messages.h.

uint8_t p

Definition at line 96 of file msp_messages.h.

struct _msp_pid_item pitch

Definition at line 97 of file msp_messages.h.

struct _msp_pid_item pos

Definition at line 100 of file msp_messages.h.

struct _msp_pid_item posr

Definition at line 101 of file msp_messages.h.

uint16_t power_meter_sum

Definition at line 97 of file msp_messages.h.

uint16_t power_trigger

Definition at line 96 of file msp_messages.h.

uint8_t pwm_pin[8]

Definition at line 96 of file msp_messages.h.

uint8_t rate

Definition at line 99 of file msp_messages.h.

uint16_t rc_data

Definition at line 96 of file msp_messages.h.

uint8_t rc_expo

Definition at line 97 of file msp_messages.h.

uint8_t rc_rate

Definition at line 96 of file msp_messages.h.

struct _msp_pid_item roll

Definition at line 96 of file msp_messages.h.

uint8_t roll_pitch_rate

Definition at line 98 of file msp_messages.h.

uint16_t rssi

Definition at line 98 of file msp_messages.h.

uint16_t sensor

Definition at line 98 of file msp_messages.h.

uint16_t servo[8]

Definition at line 96 of file msp_messages.h.

struct _msp_servo_conf_item servos[8]

Definition at line 96 of file msp_messages.h.

uint16_t speed

Definition at line 101 of file msp_messages.h.

uint8_t throttle_expo

Definition at line 102 of file msp_messages.h.

uint8_t throttle_mid

Definition at line 101 of file msp_messages.h.

uint16_t time_to_stay

Definition at line 101 of file msp_messages.h.

int16_t vario

Definition at line 97 of file msp_messages.h.

uint8_t vbat

Definition at line 96 of file msp_messages.h.

uint8_t vbat_crit

Definition at line 107 of file msp_messages.h.

uint8_t vbat_scale

Definition at line 104 of file msp_messages.h.

uint8_t vbat_warn1

Definition at line 105 of file msp_messages.h.

uint8_t vbat_warn2

Definition at line 106 of file msp_messages.h.

struct _msp_pid_item vel

Definition at line 105 of file msp_messages.h.

uint8_t version

Definition at line 96 of file msp_messages.h.

uint8_t wp_no

Definition at line 96 of file msp_messages.h.

struct _msp_pid_item yaw

Definition at line 98 of file msp_messages.h.

uint8_t yaw_rate

Definition at line 99 of file msp_messages.h.