4#define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B 171
7typedef struct __mavlink_serial_udb_extra_f2_b_t {
10 int32_t sue_barom_press;
11 int32_t sue_barom_alt;
12 int16_t sue_pwm_input_1;
13 int16_t sue_pwm_input_2;
14 int16_t sue_pwm_input_3;
15 int16_t sue_pwm_input_4;
16 int16_t sue_pwm_input_5;
17 int16_t sue_pwm_input_6;
18 int16_t sue_pwm_input_7;
19 int16_t sue_pwm_input_8;
20 int16_t sue_pwm_input_9;
21 int16_t sue_pwm_input_10;
22 int16_t sue_pwm_input_11;
23 int16_t sue_pwm_input_12;
24 int16_t sue_pwm_output_1;
25 int16_t sue_pwm_output_2;
26 int16_t sue_pwm_output_3;
27 int16_t sue_pwm_output_4;
28 int16_t sue_pwm_output_5;
29 int16_t sue_pwm_output_6;
30 int16_t sue_pwm_output_7;
31 int16_t sue_pwm_output_8;
32 int16_t sue_pwm_output_9;
33 int16_t sue_pwm_output_10;
34 int16_t sue_pwm_output_11;
35 int16_t sue_pwm_output_12;
36 int16_t sue_imu_location_x;
37 int16_t sue_imu_location_y;
38 int16_t sue_imu_location_z;
39 int16_t sue_location_error_earth_x;
40 int16_t sue_location_error_earth_y;
41 int16_t sue_location_error_earth_z;
42 int16_t sue_osc_fails;
43 int16_t sue_imu_velocity_x;
44 int16_t sue_imu_velocity_y;
45 int16_t sue_imu_velocity_z;
46 int16_t sue_waypoint_goal_x;
47 int16_t sue_waypoint_goal_y;
48 int16_t sue_waypoint_goal_z;
52 int16_t sue_barom_temp;
55 int16_t sue_bat_amp_hours;
56 int16_t sue_desired_height;
57 int16_t sue_memory_stack_free;
58}) mavlink_serial_udb_extra_f2_b_t;
60#define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN 108
61#define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_MIN_LEN 108
62#define MAVLINK_MSG_ID_171_LEN 108
63#define MAVLINK_MSG_ID_171_MIN_LEN 108
65#define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_CRC 245
66#define MAVLINK_MSG_ID_171_CRC 245
70#if MAVLINK_COMMAND_24BIT
71#define MAVLINK_MESSAGE_INFO_SERIAL_UDB_EXTRA_F2_B { \
73 "SERIAL_UDB_EXTRA_F2_B", \
75 { { "sue_time", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_time) }, \
76 { "sue_pwm_input_1", NULL, MAVLINK_TYPE_INT16_T, 0, 16, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_1) }, \
77 { "sue_pwm_input_2", NULL, MAVLINK_TYPE_INT16_T, 0, 18, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_2) }, \
78 { "sue_pwm_input_3", NULL, MAVLINK_TYPE_INT16_T, 0, 20, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_3) }, \
79 { "sue_pwm_input_4", NULL, MAVLINK_TYPE_INT16_T, 0, 22, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_4) }, \
80 { "sue_pwm_input_5", NULL, MAVLINK_TYPE_INT16_T, 0, 24, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_5) }, \
81 { "sue_pwm_input_6", NULL, MAVLINK_TYPE_INT16_T, 0, 26, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_6) }, \
82 { "sue_pwm_input_7", NULL, MAVLINK_TYPE_INT16_T, 0, 28, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_7) }, \
83 { "sue_pwm_input_8", NULL, MAVLINK_TYPE_INT16_T, 0, 30, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_8) }, \
84 { "sue_pwm_input_9", NULL, MAVLINK_TYPE_INT16_T, 0, 32, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_9) }, \
85 { "sue_pwm_input_10", NULL, MAVLINK_TYPE_INT16_T, 0, 34, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_10) }, \
86 { "sue_pwm_input_11", NULL, MAVLINK_TYPE_INT16_T, 0, 36, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_11) }, \
87 { "sue_pwm_input_12", NULL, MAVLINK_TYPE_INT16_T, 0, 38, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_12) }, \
88 { "sue_pwm_output_1", NULL, MAVLINK_TYPE_INT16_T, 0, 40, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_1) }, \
89 { "sue_pwm_output_2", NULL, MAVLINK_TYPE_INT16_T, 0, 42, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_2) }, \
90 { "sue_pwm_output_3", NULL, MAVLINK_TYPE_INT16_T, 0, 44, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_3) }, \
91 { "sue_pwm_output_4", NULL, MAVLINK_TYPE_INT16_T, 0, 46, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_4) }, \
92 { "sue_pwm_output_5", NULL, MAVLINK_TYPE_INT16_T, 0, 48, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_5) }, \
93 { "sue_pwm_output_6", NULL, MAVLINK_TYPE_INT16_T, 0, 50, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_6) }, \
94 { "sue_pwm_output_7", NULL, MAVLINK_TYPE_INT16_T, 0, 52, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_7) }, \
95 { "sue_pwm_output_8", NULL, MAVLINK_TYPE_INT16_T, 0, 54, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_8) }, \
96 { "sue_pwm_output_9", NULL, MAVLINK_TYPE_INT16_T, 0, 56, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_9) }, \
97 { "sue_pwm_output_10", NULL, MAVLINK_TYPE_INT16_T, 0, 58, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_10) }, \
98 { "sue_pwm_output_11", NULL, MAVLINK_TYPE_INT16_T, 0, 60, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_11) }, \
99 { "sue_pwm_output_12", NULL, MAVLINK_TYPE_INT16_T, 0, 62, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_12) }, \
100 { "sue_imu_location_x", NULL, MAVLINK_TYPE_INT16_T, 0, 64, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_location_x) }, \
101 { "sue_imu_location_y", NULL, MAVLINK_TYPE_INT16_T, 0, 66, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_location_y) }, \
102 { "sue_imu_location_z", NULL, MAVLINK_TYPE_INT16_T, 0, 68, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_location_z) }, \
103 { "sue_location_error_earth_x", NULL, MAVLINK_TYPE_INT16_T, 0, 70, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_location_error_earth_x) }, \
104 { "sue_location_error_earth_y", NULL, MAVLINK_TYPE_INT16_T, 0, 72, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_location_error_earth_y) }, \
105 { "sue_location_error_earth_z", NULL, MAVLINK_TYPE_INT16_T, 0, 74, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_location_error_earth_z) }, \
106 { "sue_flags", NULL, MAVLINK_TYPE_UINT32_T, 0, 4, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_flags) }, \
107 { "sue_osc_fails", NULL, MAVLINK_TYPE_INT16_T, 0, 76, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_osc_fails) }, \
108 { "sue_imu_velocity_x", NULL, MAVLINK_TYPE_INT16_T, 0, 78, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_velocity_x) }, \
109 { "sue_imu_velocity_y", NULL, MAVLINK_TYPE_INT16_T, 0, 80, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_velocity_y) }, \
110 { "sue_imu_velocity_z", NULL, MAVLINK_TYPE_INT16_T, 0, 82, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_velocity_z) }, \
111 { "sue_waypoint_goal_x", NULL, MAVLINK_TYPE_INT16_T, 0, 84, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_waypoint_goal_x) }, \
112 { "sue_waypoint_goal_y", NULL, MAVLINK_TYPE_INT16_T, 0, 86, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_waypoint_goal_y) }, \
113 { "sue_waypoint_goal_z", NULL, MAVLINK_TYPE_INT16_T, 0, 88, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_waypoint_goal_z) }, \
114 { "sue_aero_x", NULL, MAVLINK_TYPE_INT16_T, 0, 90, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_aero_x) }, \
115 { "sue_aero_y", NULL, MAVLINK_TYPE_INT16_T, 0, 92, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_aero_y) }, \
116 { "sue_aero_z", NULL, MAVLINK_TYPE_INT16_T, 0, 94, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_aero_z) }, \
117 { "sue_barom_temp", NULL, MAVLINK_TYPE_INT16_T, 0, 96, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_barom_temp) }, \
118 { "sue_barom_press", NULL, MAVLINK_TYPE_INT32_T, 0, 8, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_barom_press) }, \
119 { "sue_barom_alt", NULL, MAVLINK_TYPE_INT32_T, 0, 12, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_barom_alt) }, \
120 { "sue_bat_volt", NULL, MAVLINK_TYPE_INT16_T, 0, 98, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_bat_volt) }, \
121 { "sue_bat_amp", NULL, MAVLINK_TYPE_INT16_T, 0, 100, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_bat_amp) }, \
122 { "sue_bat_amp_hours", NULL, MAVLINK_TYPE_INT16_T, 0, 102, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_bat_amp_hours) }, \
123 { "sue_desired_height", NULL, MAVLINK_TYPE_INT16_T, 0, 104, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_desired_height) }, \
124 { "sue_memory_stack_free", NULL, MAVLINK_TYPE_INT16_T, 0, 106, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_memory_stack_free) }, \
128#define MAVLINK_MESSAGE_INFO_SERIAL_UDB_EXTRA_F2_B { \
129 "SERIAL_UDB_EXTRA_F2_B", \
131 { { "sue_time", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_time) }, \
132 { "sue_pwm_input_1", NULL, MAVLINK_TYPE_INT16_T, 0, 16, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_1) }, \
133 { "sue_pwm_input_2", NULL, MAVLINK_TYPE_INT16_T, 0, 18, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_2) }, \
134 { "sue_pwm_input_3", NULL, MAVLINK_TYPE_INT16_T, 0, 20, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_3) }, \
135 { "sue_pwm_input_4", NULL, MAVLINK_TYPE_INT16_T, 0, 22, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_4) }, \
136 { "sue_pwm_input_5", NULL, MAVLINK_TYPE_INT16_T, 0, 24, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_5) }, \
137 { "sue_pwm_input_6", NULL, MAVLINK_TYPE_INT16_T, 0, 26, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_6) }, \
138 { "sue_pwm_input_7", NULL, MAVLINK_TYPE_INT16_T, 0, 28, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_7) }, \
139 { "sue_pwm_input_8", NULL, MAVLINK_TYPE_INT16_T, 0, 30, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_8) }, \
140 { "sue_pwm_input_9", NULL, MAVLINK_TYPE_INT16_T, 0, 32, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_9) }, \
141 { "sue_pwm_input_10", NULL, MAVLINK_TYPE_INT16_T, 0, 34, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_10) }, \
142 { "sue_pwm_input_11", NULL, MAVLINK_TYPE_INT16_T, 0, 36, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_11) }, \
143 { "sue_pwm_input_12", NULL, MAVLINK_TYPE_INT16_T, 0, 38, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_input_12) }, \
144 { "sue_pwm_output_1", NULL, MAVLINK_TYPE_INT16_T, 0, 40, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_1) }, \
145 { "sue_pwm_output_2", NULL, MAVLINK_TYPE_INT16_T, 0, 42, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_2) }, \
146 { "sue_pwm_output_3", NULL, MAVLINK_TYPE_INT16_T, 0, 44, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_3) }, \
147 { "sue_pwm_output_4", NULL, MAVLINK_TYPE_INT16_T, 0, 46, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_4) }, \
148 { "sue_pwm_output_5", NULL, MAVLINK_TYPE_INT16_T, 0, 48, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_5) }, \
149 { "sue_pwm_output_6", NULL, MAVLINK_TYPE_INT16_T, 0, 50, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_6) }, \
150 { "sue_pwm_output_7", NULL, MAVLINK_TYPE_INT16_T, 0, 52, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_7) }, \
151 { "sue_pwm_output_8", NULL, MAVLINK_TYPE_INT16_T, 0, 54, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_8) }, \
152 { "sue_pwm_output_9", NULL, MAVLINK_TYPE_INT16_T, 0, 56, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_9) }, \
153 { "sue_pwm_output_10", NULL, MAVLINK_TYPE_INT16_T, 0, 58, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_10) }, \
154 { "sue_pwm_output_11", NULL, MAVLINK_TYPE_INT16_T, 0, 60, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_11) }, \
155 { "sue_pwm_output_12", NULL, MAVLINK_TYPE_INT16_T, 0, 62, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_pwm_output_12) }, \
156 { "sue_imu_location_x", NULL, MAVLINK_TYPE_INT16_T, 0, 64, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_location_x) }, \
157 { "sue_imu_location_y", NULL, MAVLINK_TYPE_INT16_T, 0, 66, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_location_y) }, \
158 { "sue_imu_location_z", NULL, MAVLINK_TYPE_INT16_T, 0, 68, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_location_z) }, \
159 { "sue_location_error_earth_x", NULL, MAVLINK_TYPE_INT16_T, 0, 70, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_location_error_earth_x) }, \
160 { "sue_location_error_earth_y", NULL, MAVLINK_TYPE_INT16_T, 0, 72, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_location_error_earth_y) }, \
161 { "sue_location_error_earth_z", NULL, MAVLINK_TYPE_INT16_T, 0, 74, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_location_error_earth_z) }, \
162 { "sue_flags", NULL, MAVLINK_TYPE_UINT32_T, 0, 4, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_flags) }, \
163 { "sue_osc_fails", NULL, MAVLINK_TYPE_INT16_T, 0, 76, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_osc_fails) }, \
164 { "sue_imu_velocity_x", NULL, MAVLINK_TYPE_INT16_T, 0, 78, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_velocity_x) }, \
165 { "sue_imu_velocity_y", NULL, MAVLINK_TYPE_INT16_T, 0, 80, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_velocity_y) }, \
166 { "sue_imu_velocity_z", NULL, MAVLINK_TYPE_INT16_T, 0, 82, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_imu_velocity_z) }, \
167 { "sue_waypoint_goal_x", NULL, MAVLINK_TYPE_INT16_T, 0, 84, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_waypoint_goal_x) }, \
168 { "sue_waypoint_goal_y", NULL, MAVLINK_TYPE_INT16_T, 0, 86, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_waypoint_goal_y) }, \
169 { "sue_waypoint_goal_z", NULL, MAVLINK_TYPE_INT16_T, 0, 88, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_waypoint_goal_z) }, \
170 { "sue_aero_x", NULL, MAVLINK_TYPE_INT16_T, 0, 90, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_aero_x) }, \
171 { "sue_aero_y", NULL, MAVLINK_TYPE_INT16_T, 0, 92, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_aero_y) }, \
172 { "sue_aero_z", NULL, MAVLINK_TYPE_INT16_T, 0, 94, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_aero_z) }, \
173 { "sue_barom_temp", NULL, MAVLINK_TYPE_INT16_T, 0, 96, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_barom_temp) }, \
174 { "sue_barom_press", NULL, MAVLINK_TYPE_INT32_T, 0, 8, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_barom_press) }, \
175 { "sue_barom_alt", NULL, MAVLINK_TYPE_INT32_T, 0, 12, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_barom_alt) }, \
176 { "sue_bat_volt", NULL, MAVLINK_TYPE_INT16_T, 0, 98, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_bat_volt) }, \
177 { "sue_bat_amp", NULL, MAVLINK_TYPE_INT16_T, 0, 100, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_bat_amp) }, \
178 { "sue_bat_amp_hours", NULL, MAVLINK_TYPE_INT16_T, 0, 102, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_bat_amp_hours) }, \
179 { "sue_desired_height", NULL, MAVLINK_TYPE_INT16_T, 0, 104, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_desired_height) }, \
180 { "sue_memory_stack_free", NULL, MAVLINK_TYPE_INT16_T, 0, 106, offsetof(mavlink_serial_udb_extra_f2_b_t, sue_memory_stack_free) }, \
243static inline uint16_t mavlink_msg_serial_udb_extra_f2_b_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
244 uint32_t sue_time, int16_t sue_pwm_input_1, int16_t sue_pwm_input_2, int16_t sue_pwm_input_3, int16_t sue_pwm_input_4, int16_t sue_pwm_input_5, int16_t sue_pwm_input_6, int16_t sue_pwm_input_7, int16_t sue_pwm_input_8, int16_t sue_pwm_input_9, int16_t sue_pwm_input_10, int16_t sue_pwm_input_11, int16_t sue_pwm_input_12, int16_t sue_pwm_output_1, int16_t sue_pwm_output_2, int16_t sue_pwm_output_3, int16_t sue_pwm_output_4, int16_t sue_pwm_output_5, int16_t sue_pwm_output_6, int16_t sue_pwm_output_7, int16_t sue_pwm_output_8, int16_t sue_pwm_output_9, int16_t sue_pwm_output_10, int16_t sue_pwm_output_11, int16_t sue_pwm_output_12, int16_t sue_imu_location_x, int16_t sue_imu_location_y, int16_t sue_imu_location_z, int16_t sue_location_error_earth_x, int16_t sue_location_error_earth_y, int16_t sue_location_error_earth_z, uint32_t sue_flags, int16_t sue_osc_fails, int16_t sue_imu_velocity_x, int16_t sue_imu_velocity_y, int16_t sue_imu_velocity_z, int16_t sue_waypoint_goal_x, int16_t sue_waypoint_goal_y, int16_t sue_waypoint_goal_z, int16_t sue_aero_x, int16_t sue_aero_y, int16_t sue_aero_z, int16_t sue_barom_temp, int32_t sue_barom_press, int32_t sue_barom_alt, int16_t sue_bat_volt, int16_t sue_bat_amp, int16_t sue_bat_amp_hours, int16_t sue_desired_height, int16_t sue_memory_stack_free)
246#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
247 char buf[MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN];
248 _mav_put_uint32_t(buf, 0, sue_time);
249 _mav_put_uint32_t(buf, 4, sue_flags);
250 _mav_put_int32_t(buf, 8, sue_barom_press);
251 _mav_put_int32_t(buf, 12, sue_barom_alt);
252 _mav_put_int16_t(buf, 16, sue_pwm_input_1);
253 _mav_put_int16_t(buf, 18, sue_pwm_input_2);
254 _mav_put_int16_t(buf, 20, sue_pwm_input_3);
255 _mav_put_int16_t(buf, 22, sue_pwm_input_4);
256 _mav_put_int16_t(buf, 24, sue_pwm_input_5);
257 _mav_put_int16_t(buf, 26, sue_pwm_input_6);
258 _mav_put_int16_t(buf, 28, sue_pwm_input_7);
259 _mav_put_int16_t(buf, 30, sue_pwm_input_8);
260 _mav_put_int16_t(buf, 32, sue_pwm_input_9);
261 _mav_put_int16_t(buf, 34, sue_pwm_input_10);
262 _mav_put_int16_t(buf, 36, sue_pwm_input_11);
263 _mav_put_int16_t(buf, 38, sue_pwm_input_12);
264 _mav_put_int16_t(buf, 40, sue_pwm_output_1);
265 _mav_put_int16_t(buf, 42, sue_pwm_output_2);
266 _mav_put_int16_t(buf, 44, sue_pwm_output_3);
267 _mav_put_int16_t(buf, 46, sue_pwm_output_4);
268 _mav_put_int16_t(buf, 48, sue_pwm_output_5);
269 _mav_put_int16_t(buf, 50, sue_pwm_output_6);
270 _mav_put_int16_t(buf, 52, sue_pwm_output_7);
271 _mav_put_int16_t(buf, 54, sue_pwm_output_8);
272 _mav_put_int16_t(buf, 56, sue_pwm_output_9);
273 _mav_put_int16_t(buf, 58, sue_pwm_output_10);
274 _mav_put_int16_t(buf, 60, sue_pwm_output_11);
275 _mav_put_int16_t(buf, 62, sue_pwm_output_12);
276 _mav_put_int16_t(buf, 64, sue_imu_location_x);
277 _mav_put_int16_t(buf, 66, sue_imu_location_y);
278 _mav_put_int16_t(buf, 68, sue_imu_location_z);
279 _mav_put_int16_t(buf, 70, sue_location_error_earth_x);
280 _mav_put_int16_t(buf, 72, sue_location_error_earth_y);
281 _mav_put_int16_t(buf, 74, sue_location_error_earth_z);
282 _mav_put_int16_t(buf, 76, sue_osc_fails);
283 _mav_put_int16_t(buf, 78, sue_imu_velocity_x);
284 _mav_put_int16_t(buf, 80, sue_imu_velocity_y);
285 _mav_put_int16_t(buf, 82, sue_imu_velocity_z);
286 _mav_put_int16_t(buf, 84, sue_waypoint_goal_x);
287 _mav_put_int16_t(buf, 86, sue_waypoint_goal_y);
288 _mav_put_int16_t(buf, 88, sue_waypoint_goal_z);
289 _mav_put_int16_t(buf, 90, sue_aero_x);
290 _mav_put_int16_t(buf, 92, sue_aero_y);
291 _mav_put_int16_t(buf, 94, sue_aero_z);
292 _mav_put_int16_t(buf, 96, sue_barom_temp);
293 _mav_put_int16_t(buf, 98, sue_bat_volt);
294 _mav_put_int16_t(buf, 100, sue_bat_amp);
295 _mav_put_int16_t(buf, 102, sue_bat_amp_hours);
296 _mav_put_int16_t(buf, 104, sue_desired_height);
297 _mav_put_int16_t(buf, 106, sue_memory_stack_free);
299 memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN);
301 mavlink_serial_udb_extra_f2_b_t packet;
302 packet.sue_time = sue_time;
303 packet.sue_flags = sue_flags;
304 packet.sue_barom_press = sue_barom_press;
305 packet.sue_barom_alt = sue_barom_alt;
306 packet.sue_pwm_input_1 = sue_pwm_input_1;
307 packet.sue_pwm_input_2 = sue_pwm_input_2;
308 packet.sue_pwm_input_3 = sue_pwm_input_3;
309 packet.sue_pwm_input_4 = sue_pwm_input_4;
310 packet.sue_pwm_input_5 = sue_pwm_input_5;
311 packet.sue_pwm_input_6 = sue_pwm_input_6;
312 packet.sue_pwm_input_7 = sue_pwm_input_7;
313 packet.sue_pwm_input_8 = sue_pwm_input_8;
314 packet.sue_pwm_input_9 = sue_pwm_input_9;
315 packet.sue_pwm_input_10 = sue_pwm_input_10;
316 packet.sue_pwm_input_11 = sue_pwm_input_11;
317 packet.sue_pwm_input_12 = sue_pwm_input_12;
318 packet.sue_pwm_output_1 = sue_pwm_output_1;
319 packet.sue_pwm_output_2 = sue_pwm_output_2;
320 packet.sue_pwm_output_3 = sue_pwm_output_3;
321 packet.sue_pwm_output_4 = sue_pwm_output_4;
322 packet.sue_pwm_output_5 = sue_pwm_output_5;
323 packet.sue_pwm_output_6 = sue_pwm_output_6;
324 packet.sue_pwm_output_7 = sue_pwm_output_7;
325 packet.sue_pwm_output_8 = sue_pwm_output_8;
326 packet.sue_pwm_output_9 = sue_pwm_output_9;
327 packet.sue_pwm_output_10 = sue_pwm_output_10;
328 packet.sue_pwm_output_11 = sue_pwm_output_11;
329 packet.sue_pwm_output_12 = sue_pwm_output_12;
330 packet.sue_imu_location_x = sue_imu_location_x;
331 packet.sue_imu_location_y = sue_imu_location_y;
332 packet.sue_imu_location_z = sue_imu_location_z;
333 packet.sue_location_error_earth_x = sue_location_error_earth_x;
334 packet.sue_location_error_earth_y = sue_location_error_earth_y;
335 packet.sue_location_error_earth_z = sue_location_error_earth_z;
336 packet.sue_osc_fails = sue_osc_fails;
337 packet.sue_imu_velocity_x = sue_imu_velocity_x;
338 packet.sue_imu_velocity_y = sue_imu_velocity_y;
339 packet.sue_imu_velocity_z = sue_imu_velocity_z;
340 packet.sue_waypoint_goal_x = sue_waypoint_goal_x;
341 packet.sue_waypoint_goal_y = sue_waypoint_goal_y;
342 packet.sue_waypoint_goal_z = sue_waypoint_goal_z;
343 packet.sue_aero_x = sue_aero_x;
344 packet.sue_aero_y = sue_aero_y;
345 packet.sue_aero_z = sue_aero_z;
346 packet.sue_barom_temp = sue_barom_temp;
347 packet.sue_bat_volt = sue_bat_volt;
348 packet.sue_bat_amp = sue_bat_amp;
349 packet.sue_bat_amp_hours = sue_bat_amp_hours;
350 packet.sue_desired_height = sue_desired_height;
351 packet.sue_memory_stack_free = sue_memory_stack_free;
353 memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN);
356 msg->msgid = MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B;
357 return mavlink_finalize_message(msg, system_id, component_id, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_MIN_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_CRC);
418static inline uint16_t mavlink_msg_serial_udb_extra_f2_b_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
419 mavlink_message_t* msg,
420 uint32_t sue_time,int16_t sue_pwm_input_1,int16_t sue_pwm_input_2,int16_t sue_pwm_input_3,int16_t sue_pwm_input_4,int16_t sue_pwm_input_5,int16_t sue_pwm_input_6,int16_t sue_pwm_input_7,int16_t sue_pwm_input_8,int16_t sue_pwm_input_9,int16_t sue_pwm_input_10,int16_t sue_pwm_input_11,int16_t sue_pwm_input_12,int16_t sue_pwm_output_1,int16_t sue_pwm_output_2,int16_t sue_pwm_output_3,int16_t sue_pwm_output_4,int16_t sue_pwm_output_5,int16_t sue_pwm_output_6,int16_t sue_pwm_output_7,int16_t sue_pwm_output_8,int16_t sue_pwm_output_9,int16_t sue_pwm_output_10,int16_t sue_pwm_output_11,int16_t sue_pwm_output_12,int16_t sue_imu_location_x,int16_t sue_imu_location_y,int16_t sue_imu_location_z,int16_t sue_location_error_earth_x,int16_t sue_location_error_earth_y,int16_t sue_location_error_earth_z,uint32_t sue_flags,int16_t sue_osc_fails,int16_t sue_imu_velocity_x,int16_t sue_imu_velocity_y,int16_t sue_imu_velocity_z,int16_t sue_waypoint_goal_x,int16_t sue_waypoint_goal_y,int16_t sue_waypoint_goal_z,int16_t sue_aero_x,int16_t sue_aero_y,int16_t sue_aero_z,int16_t sue_barom_temp,int32_t sue_barom_press,int32_t sue_barom_alt,int16_t sue_bat_volt,int16_t sue_bat_amp,int16_t sue_bat_amp_hours,int16_t sue_desired_height,int16_t sue_memory_stack_free)
422#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
423 char buf[MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN];
424 _mav_put_uint32_t(buf, 0, sue_time);
425 _mav_put_uint32_t(buf, 4, sue_flags);
426 _mav_put_int32_t(buf, 8, sue_barom_press);
427 _mav_put_int32_t(buf, 12, sue_barom_alt);
428 _mav_put_int16_t(buf, 16, sue_pwm_input_1);
429 _mav_put_int16_t(buf, 18, sue_pwm_input_2);
430 _mav_put_int16_t(buf, 20, sue_pwm_input_3);
431 _mav_put_int16_t(buf, 22, sue_pwm_input_4);
432 _mav_put_int16_t(buf, 24, sue_pwm_input_5);
433 _mav_put_int16_t(buf, 26, sue_pwm_input_6);
434 _mav_put_int16_t(buf, 28, sue_pwm_input_7);
435 _mav_put_int16_t(buf, 30, sue_pwm_input_8);
436 _mav_put_int16_t(buf, 32, sue_pwm_input_9);
437 _mav_put_int16_t(buf, 34, sue_pwm_input_10);
438 _mav_put_int16_t(buf, 36, sue_pwm_input_11);
439 _mav_put_int16_t(buf, 38, sue_pwm_input_12);
440 _mav_put_int16_t(buf, 40, sue_pwm_output_1);
441 _mav_put_int16_t(buf, 42, sue_pwm_output_2);
442 _mav_put_int16_t(buf, 44, sue_pwm_output_3);
443 _mav_put_int16_t(buf, 46, sue_pwm_output_4);
444 _mav_put_int16_t(buf, 48, sue_pwm_output_5);
445 _mav_put_int16_t(buf, 50, sue_pwm_output_6);
446 _mav_put_int16_t(buf, 52, sue_pwm_output_7);
447 _mav_put_int16_t(buf, 54, sue_pwm_output_8);
448 _mav_put_int16_t(buf, 56, sue_pwm_output_9);
449 _mav_put_int16_t(buf, 58, sue_pwm_output_10);
450 _mav_put_int16_t(buf, 60, sue_pwm_output_11);
451 _mav_put_int16_t(buf, 62, sue_pwm_output_12);
452 _mav_put_int16_t(buf, 64, sue_imu_location_x);
453 _mav_put_int16_t(buf, 66, sue_imu_location_y);
454 _mav_put_int16_t(buf, 68, sue_imu_location_z);
455 _mav_put_int16_t(buf, 70, sue_location_error_earth_x);
456 _mav_put_int16_t(buf, 72, sue_location_error_earth_y);
457 _mav_put_int16_t(buf, 74, sue_location_error_earth_z);
458 _mav_put_int16_t(buf, 76, sue_osc_fails);
459 _mav_put_int16_t(buf, 78, sue_imu_velocity_x);
460 _mav_put_int16_t(buf, 80, sue_imu_velocity_y);
461 _mav_put_int16_t(buf, 82, sue_imu_velocity_z);
462 _mav_put_int16_t(buf, 84, sue_waypoint_goal_x);
463 _mav_put_int16_t(buf, 86, sue_waypoint_goal_y);
464 _mav_put_int16_t(buf, 88, sue_waypoint_goal_z);
465 _mav_put_int16_t(buf, 90, sue_aero_x);
466 _mav_put_int16_t(buf, 92, sue_aero_y);
467 _mav_put_int16_t(buf, 94, sue_aero_z);
468 _mav_put_int16_t(buf, 96, sue_barom_temp);
469 _mav_put_int16_t(buf, 98, sue_bat_volt);
470 _mav_put_int16_t(buf, 100, sue_bat_amp);
471 _mav_put_int16_t(buf, 102, sue_bat_amp_hours);
472 _mav_put_int16_t(buf, 104, sue_desired_height);
473 _mav_put_int16_t(buf, 106, sue_memory_stack_free);
475 memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN);
477 mavlink_serial_udb_extra_f2_b_t packet;
478 packet.sue_time = sue_time;
479 packet.sue_flags = sue_flags;
480 packet.sue_barom_press = sue_barom_press;
481 packet.sue_barom_alt = sue_barom_alt;
482 packet.sue_pwm_input_1 = sue_pwm_input_1;
483 packet.sue_pwm_input_2 = sue_pwm_input_2;
484 packet.sue_pwm_input_3 = sue_pwm_input_3;
485 packet.sue_pwm_input_4 = sue_pwm_input_4;
486 packet.sue_pwm_input_5 = sue_pwm_input_5;
487 packet.sue_pwm_input_6 = sue_pwm_input_6;
488 packet.sue_pwm_input_7 = sue_pwm_input_7;
489 packet.sue_pwm_input_8 = sue_pwm_input_8;
490 packet.sue_pwm_input_9 = sue_pwm_input_9;
491 packet.sue_pwm_input_10 = sue_pwm_input_10;
492 packet.sue_pwm_input_11 = sue_pwm_input_11;
493 packet.sue_pwm_input_12 = sue_pwm_input_12;
494 packet.sue_pwm_output_1 = sue_pwm_output_1;
495 packet.sue_pwm_output_2 = sue_pwm_output_2;
496 packet.sue_pwm_output_3 = sue_pwm_output_3;
497 packet.sue_pwm_output_4 = sue_pwm_output_4;
498 packet.sue_pwm_output_5 = sue_pwm_output_5;
499 packet.sue_pwm_output_6 = sue_pwm_output_6;
500 packet.sue_pwm_output_7 = sue_pwm_output_7;
501 packet.sue_pwm_output_8 = sue_pwm_output_8;
502 packet.sue_pwm_output_9 = sue_pwm_output_9;
503 packet.sue_pwm_output_10 = sue_pwm_output_10;
504 packet.sue_pwm_output_11 = sue_pwm_output_11;
505 packet.sue_pwm_output_12 = sue_pwm_output_12;
506 packet.sue_imu_location_x = sue_imu_location_x;
507 packet.sue_imu_location_y = sue_imu_location_y;
508 packet.sue_imu_location_z = sue_imu_location_z;
509 packet.sue_location_error_earth_x = sue_location_error_earth_x;
510 packet.sue_location_error_earth_y = sue_location_error_earth_y;
511 packet.sue_location_error_earth_z = sue_location_error_earth_z;
512 packet.sue_osc_fails = sue_osc_fails;
513 packet.sue_imu_velocity_x = sue_imu_velocity_x;
514 packet.sue_imu_velocity_y = sue_imu_velocity_y;
515 packet.sue_imu_velocity_z = sue_imu_velocity_z;
516 packet.sue_waypoint_goal_x = sue_waypoint_goal_x;
517 packet.sue_waypoint_goal_y = sue_waypoint_goal_y;
518 packet.sue_waypoint_goal_z = sue_waypoint_goal_z;
519 packet.sue_aero_x = sue_aero_x;
520 packet.sue_aero_y = sue_aero_y;
521 packet.sue_aero_z = sue_aero_z;
522 packet.sue_barom_temp = sue_barom_temp;
523 packet.sue_bat_volt = sue_bat_volt;
524 packet.sue_bat_amp = sue_bat_amp;
525 packet.sue_bat_amp_hours = sue_bat_amp_hours;
526 packet.sue_desired_height = sue_desired_height;
527 packet.sue_memory_stack_free = sue_memory_stack_free;
529 memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN);
532 msg->msgid = MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B;
533 return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_MIN_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_CRC);
544static inline uint16_t mavlink_msg_serial_udb_extra_f2_b_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
const mavlink_serial_udb_extra_f2_b_t* serial_udb_extra_f2_b)
546 return mavlink_msg_serial_udb_extra_f2_b_pack(system_id, component_id, msg, serial_udb_extra_f2_b->sue_time, serial_udb_extra_f2_b->sue_pwm_input_1, serial_udb_extra_f2_b->sue_pwm_input_2, serial_udb_extra_f2_b->sue_pwm_input_3, serial_udb_extra_f2_b->sue_pwm_input_4, serial_udb_extra_f2_b->sue_pwm_input_5, serial_udb_extra_f2_b->sue_pwm_input_6, serial_udb_extra_f2_b->sue_pwm_input_7, serial_udb_extra_f2_b->sue_pwm_input_8, serial_udb_extra_f2_b->sue_pwm_input_9, serial_udb_extra_f2_b->sue_pwm_input_10, serial_udb_extra_f2_b->sue_pwm_input_11, serial_udb_extra_f2_b->sue_pwm_input_12, serial_udb_extra_f2_b->sue_pwm_output_1, serial_udb_extra_f2_b->sue_pwm_output_2, serial_udb_extra_f2_b->sue_pwm_output_3, serial_udb_extra_f2_b->sue_pwm_output_4, serial_udb_extra_f2_b->sue_pwm_output_5, serial_udb_extra_f2_b->sue_pwm_output_6, serial_udb_extra_f2_b->sue_pwm_output_7, serial_udb_extra_f2_b->sue_pwm_output_8, serial_udb_extra_f2_b->sue_pwm_output_9, serial_udb_extra_f2_b->sue_pwm_output_10, serial_udb_extra_f2_b->sue_pwm_output_11, serial_udb_extra_f2_b->sue_pwm_output_12, serial_udb_extra_f2_b->sue_imu_location_x, serial_udb_extra_f2_b->sue_imu_location_y, serial_udb_extra_f2_b->sue_imu_location_z, serial_udb_extra_f2_b->sue_location_error_earth_x, serial_udb_extra_f2_b->sue_location_error_earth_y, serial_udb_extra_f2_b->sue_location_error_earth_z, serial_udb_extra_f2_b->sue_flags, serial_udb_extra_f2_b->sue_osc_fails, serial_udb_extra_f2_b->sue_imu_velocity_x, serial_udb_extra_f2_b->sue_imu_velocity_y, serial_udb_extra_f2_b->sue_imu_velocity_z, serial_udb_extra_f2_b->sue_waypoint_goal_x, serial_udb_extra_f2_b->sue_waypoint_goal_y, serial_udb_extra_f2_b->sue_waypoint_goal_z, serial_udb_extra_f2_b->sue_aero_x, serial_udb_extra_f2_b->sue_aero_y, serial_udb_extra_f2_b->sue_aero_z, serial_udb_extra_f2_b->sue_barom_temp, serial_udb_extra_f2_b->sue_barom_press, serial_udb_extra_f2_b->sue_barom_alt, serial_udb_extra_f2_b->sue_bat_volt, serial_udb_extra_f2_b->sue_bat_amp, serial_udb_extra_f2_b->sue_bat_amp_hours, serial_udb_extra_f2_b->sue_desired_height, serial_udb_extra_f2_b->sue_memory_stack_free);
558static inline uint16_t mavlink_msg_serial_udb_extra_f2_b_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg,
const mavlink_serial_udb_extra_f2_b_t* serial_udb_extra_f2_b)
560 return mavlink_msg_serial_udb_extra_f2_b_pack_chan(system_id, component_id, chan, msg, serial_udb_extra_f2_b->sue_time, serial_udb_extra_f2_b->sue_pwm_input_1, serial_udb_extra_f2_b->sue_pwm_input_2, serial_udb_extra_f2_b->sue_pwm_input_3, serial_udb_extra_f2_b->sue_pwm_input_4, serial_udb_extra_f2_b->sue_pwm_input_5, serial_udb_extra_f2_b->sue_pwm_input_6, serial_udb_extra_f2_b->sue_pwm_input_7, serial_udb_extra_f2_b->sue_pwm_input_8, serial_udb_extra_f2_b->sue_pwm_input_9, serial_udb_extra_f2_b->sue_pwm_input_10, serial_udb_extra_f2_b->sue_pwm_input_11, serial_udb_extra_f2_b->sue_pwm_input_12, serial_udb_extra_f2_b->sue_pwm_output_1, serial_udb_extra_f2_b->sue_pwm_output_2, serial_udb_extra_f2_b->sue_pwm_output_3, serial_udb_extra_f2_b->sue_pwm_output_4, serial_udb_extra_f2_b->sue_pwm_output_5, serial_udb_extra_f2_b->sue_pwm_output_6, serial_udb_extra_f2_b->sue_pwm_output_7, serial_udb_extra_f2_b->sue_pwm_output_8, serial_udb_extra_f2_b->sue_pwm_output_9, serial_udb_extra_f2_b->sue_pwm_output_10, serial_udb_extra_f2_b->sue_pwm_output_11, serial_udb_extra_f2_b->sue_pwm_output_12, serial_udb_extra_f2_b->sue_imu_location_x, serial_udb_extra_f2_b->sue_imu_location_y, serial_udb_extra_f2_b->sue_imu_location_z, serial_udb_extra_f2_b->sue_location_error_earth_x, serial_udb_extra_f2_b->sue_location_error_earth_y, serial_udb_extra_f2_b->sue_location_error_earth_z, serial_udb_extra_f2_b->sue_flags, serial_udb_extra_f2_b->sue_osc_fails, serial_udb_extra_f2_b->sue_imu_velocity_x, serial_udb_extra_f2_b->sue_imu_velocity_y, serial_udb_extra_f2_b->sue_imu_velocity_z, serial_udb_extra_f2_b->sue_waypoint_goal_x, serial_udb_extra_f2_b->sue_waypoint_goal_y, serial_udb_extra_f2_b->sue_waypoint_goal_z, serial_udb_extra_f2_b->sue_aero_x, serial_udb_extra_f2_b->sue_aero_y, serial_udb_extra_f2_b->sue_aero_z, serial_udb_extra_f2_b->sue_barom_temp, serial_udb_extra_f2_b->sue_barom_press, serial_udb_extra_f2_b->sue_barom_alt, serial_udb_extra_f2_b->sue_bat_volt, serial_udb_extra_f2_b->sue_bat_amp, serial_udb_extra_f2_b->sue_bat_amp_hours, serial_udb_extra_f2_b->sue_desired_height, serial_udb_extra_f2_b->sue_memory_stack_free);
618#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
620static inline void mavlink_msg_serial_udb_extra_f2_b_send(mavlink_channel_t chan, uint32_t sue_time, int16_t sue_pwm_input_1, int16_t sue_pwm_input_2, int16_t sue_pwm_input_3, int16_t sue_pwm_input_4, int16_t sue_pwm_input_5, int16_t sue_pwm_input_6, int16_t sue_pwm_input_7, int16_t sue_pwm_input_8, int16_t sue_pwm_input_9, int16_t sue_pwm_input_10, int16_t sue_pwm_input_11, int16_t sue_pwm_input_12, int16_t sue_pwm_output_1, int16_t sue_pwm_output_2, int16_t sue_pwm_output_3, int16_t sue_pwm_output_4, int16_t sue_pwm_output_5, int16_t sue_pwm_output_6, int16_t sue_pwm_output_7, int16_t sue_pwm_output_8, int16_t sue_pwm_output_9, int16_t sue_pwm_output_10, int16_t sue_pwm_output_11, int16_t sue_pwm_output_12, int16_t sue_imu_location_x, int16_t sue_imu_location_y, int16_t sue_imu_location_z, int16_t sue_location_error_earth_x, int16_t sue_location_error_earth_y, int16_t sue_location_error_earth_z, uint32_t sue_flags, int16_t sue_osc_fails, int16_t sue_imu_velocity_x, int16_t sue_imu_velocity_y, int16_t sue_imu_velocity_z, int16_t sue_waypoint_goal_x, int16_t sue_waypoint_goal_y, int16_t sue_waypoint_goal_z, int16_t sue_aero_x, int16_t sue_aero_y, int16_t sue_aero_z, int16_t sue_barom_temp, int32_t sue_barom_press, int32_t sue_barom_alt, int16_t sue_bat_volt, int16_t sue_bat_amp, int16_t sue_bat_amp_hours, int16_t sue_desired_height, int16_t sue_memory_stack_free)
622#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
623 char buf[MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN];
624 _mav_put_uint32_t(buf, 0, sue_time);
625 _mav_put_uint32_t(buf, 4, sue_flags);
626 _mav_put_int32_t(buf, 8, sue_barom_press);
627 _mav_put_int32_t(buf, 12, sue_barom_alt);
628 _mav_put_int16_t(buf, 16, sue_pwm_input_1);
629 _mav_put_int16_t(buf, 18, sue_pwm_input_2);
630 _mav_put_int16_t(buf, 20, sue_pwm_input_3);
631 _mav_put_int16_t(buf, 22, sue_pwm_input_4);
632 _mav_put_int16_t(buf, 24, sue_pwm_input_5);
633 _mav_put_int16_t(buf, 26, sue_pwm_input_6);
634 _mav_put_int16_t(buf, 28, sue_pwm_input_7);
635 _mav_put_int16_t(buf, 30, sue_pwm_input_8);
636 _mav_put_int16_t(buf, 32, sue_pwm_input_9);
637 _mav_put_int16_t(buf, 34, sue_pwm_input_10);
638 _mav_put_int16_t(buf, 36, sue_pwm_input_11);
639 _mav_put_int16_t(buf, 38, sue_pwm_input_12);
640 _mav_put_int16_t(buf, 40, sue_pwm_output_1);
641 _mav_put_int16_t(buf, 42, sue_pwm_output_2);
642 _mav_put_int16_t(buf, 44, sue_pwm_output_3);
643 _mav_put_int16_t(buf, 46, sue_pwm_output_4);
644 _mav_put_int16_t(buf, 48, sue_pwm_output_5);
645 _mav_put_int16_t(buf, 50, sue_pwm_output_6);
646 _mav_put_int16_t(buf, 52, sue_pwm_output_7);
647 _mav_put_int16_t(buf, 54, sue_pwm_output_8);
648 _mav_put_int16_t(buf, 56, sue_pwm_output_9);
649 _mav_put_int16_t(buf, 58, sue_pwm_output_10);
650 _mav_put_int16_t(buf, 60, sue_pwm_output_11);
651 _mav_put_int16_t(buf, 62, sue_pwm_output_12);
652 _mav_put_int16_t(buf, 64, sue_imu_location_x);
653 _mav_put_int16_t(buf, 66, sue_imu_location_y);
654 _mav_put_int16_t(buf, 68, sue_imu_location_z);
655 _mav_put_int16_t(buf, 70, sue_location_error_earth_x);
656 _mav_put_int16_t(buf, 72, sue_location_error_earth_y);
657 _mav_put_int16_t(buf, 74, sue_location_error_earth_z);
658 _mav_put_int16_t(buf, 76, sue_osc_fails);
659 _mav_put_int16_t(buf, 78, sue_imu_velocity_x);
660 _mav_put_int16_t(buf, 80, sue_imu_velocity_y);
661 _mav_put_int16_t(buf, 82, sue_imu_velocity_z);
662 _mav_put_int16_t(buf, 84, sue_waypoint_goal_x);
663 _mav_put_int16_t(buf, 86, sue_waypoint_goal_y);
664 _mav_put_int16_t(buf, 88, sue_waypoint_goal_z);
665 _mav_put_int16_t(buf, 90, sue_aero_x);
666 _mav_put_int16_t(buf, 92, sue_aero_y);
667 _mav_put_int16_t(buf, 94, sue_aero_z);
668 _mav_put_int16_t(buf, 96, sue_barom_temp);
669 _mav_put_int16_t(buf, 98, sue_bat_volt);
670 _mav_put_int16_t(buf, 100, sue_bat_amp);
671 _mav_put_int16_t(buf, 102, sue_bat_amp_hours);
672 _mav_put_int16_t(buf, 104, sue_desired_height);
673 _mav_put_int16_t(buf, 106, sue_memory_stack_free);
675 _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B, buf, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_MIN_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_CRC);
677 mavlink_serial_udb_extra_f2_b_t packet;
678 packet.sue_time = sue_time;
679 packet.sue_flags = sue_flags;
680 packet.sue_barom_press = sue_barom_press;
681 packet.sue_barom_alt = sue_barom_alt;
682 packet.sue_pwm_input_1 = sue_pwm_input_1;
683 packet.sue_pwm_input_2 = sue_pwm_input_2;
684 packet.sue_pwm_input_3 = sue_pwm_input_3;
685 packet.sue_pwm_input_4 = sue_pwm_input_4;
686 packet.sue_pwm_input_5 = sue_pwm_input_5;
687 packet.sue_pwm_input_6 = sue_pwm_input_6;
688 packet.sue_pwm_input_7 = sue_pwm_input_7;
689 packet.sue_pwm_input_8 = sue_pwm_input_8;
690 packet.sue_pwm_input_9 = sue_pwm_input_9;
691 packet.sue_pwm_input_10 = sue_pwm_input_10;
692 packet.sue_pwm_input_11 = sue_pwm_input_11;
693 packet.sue_pwm_input_12 = sue_pwm_input_12;
694 packet.sue_pwm_output_1 = sue_pwm_output_1;
695 packet.sue_pwm_output_2 = sue_pwm_output_2;
696 packet.sue_pwm_output_3 = sue_pwm_output_3;
697 packet.sue_pwm_output_4 = sue_pwm_output_4;
698 packet.sue_pwm_output_5 = sue_pwm_output_5;
699 packet.sue_pwm_output_6 = sue_pwm_output_6;
700 packet.sue_pwm_output_7 = sue_pwm_output_7;
701 packet.sue_pwm_output_8 = sue_pwm_output_8;
702 packet.sue_pwm_output_9 = sue_pwm_output_9;
703 packet.sue_pwm_output_10 = sue_pwm_output_10;
704 packet.sue_pwm_output_11 = sue_pwm_output_11;
705 packet.sue_pwm_output_12 = sue_pwm_output_12;
706 packet.sue_imu_location_x = sue_imu_location_x;
707 packet.sue_imu_location_y = sue_imu_location_y;
708 packet.sue_imu_location_z = sue_imu_location_z;
709 packet.sue_location_error_earth_x = sue_location_error_earth_x;
710 packet.sue_location_error_earth_y = sue_location_error_earth_y;
711 packet.sue_location_error_earth_z = sue_location_error_earth_z;
712 packet.sue_osc_fails = sue_osc_fails;
713 packet.sue_imu_velocity_x = sue_imu_velocity_x;
714 packet.sue_imu_velocity_y = sue_imu_velocity_y;
715 packet.sue_imu_velocity_z = sue_imu_velocity_z;
716 packet.sue_waypoint_goal_x = sue_waypoint_goal_x;
717 packet.sue_waypoint_goal_y = sue_waypoint_goal_y;
718 packet.sue_waypoint_goal_z = sue_waypoint_goal_z;
719 packet.sue_aero_x = sue_aero_x;
720 packet.sue_aero_y = sue_aero_y;
721 packet.sue_aero_z = sue_aero_z;
722 packet.sue_barom_temp = sue_barom_temp;
723 packet.sue_bat_volt = sue_bat_volt;
724 packet.sue_bat_amp = sue_bat_amp;
725 packet.sue_bat_amp_hours = sue_bat_amp_hours;
726 packet.sue_desired_height = sue_desired_height;
727 packet.sue_memory_stack_free = sue_memory_stack_free;
729 _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B, (
const char *)&packet, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_MIN_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_CRC);
738static inline void mavlink_msg_serial_udb_extra_f2_b_send_struct(mavlink_channel_t chan,
const mavlink_serial_udb_extra_f2_b_t* serial_udb_extra_f2_b)
740#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
741 mavlink_msg_serial_udb_extra_f2_b_send(chan, serial_udb_extra_f2_b->sue_time, serial_udb_extra_f2_b->sue_pwm_input_1, serial_udb_extra_f2_b->sue_pwm_input_2, serial_udb_extra_f2_b->sue_pwm_input_3, serial_udb_extra_f2_b->sue_pwm_input_4, serial_udb_extra_f2_b->sue_pwm_input_5, serial_udb_extra_f2_b->sue_pwm_input_6, serial_udb_extra_f2_b->sue_pwm_input_7, serial_udb_extra_f2_b->sue_pwm_input_8, serial_udb_extra_f2_b->sue_pwm_input_9, serial_udb_extra_f2_b->sue_pwm_input_10, serial_udb_extra_f2_b->sue_pwm_input_11, serial_udb_extra_f2_b->sue_pwm_input_12, serial_udb_extra_f2_b->sue_pwm_output_1, serial_udb_extra_f2_b->sue_pwm_output_2, serial_udb_extra_f2_b->sue_pwm_output_3, serial_udb_extra_f2_b->sue_pwm_output_4, serial_udb_extra_f2_b->sue_pwm_output_5, serial_udb_extra_f2_b->sue_pwm_output_6, serial_udb_extra_f2_b->sue_pwm_output_7, serial_udb_extra_f2_b->sue_pwm_output_8, serial_udb_extra_f2_b->sue_pwm_output_9, serial_udb_extra_f2_b->sue_pwm_output_10, serial_udb_extra_f2_b->sue_pwm_output_11, serial_udb_extra_f2_b->sue_pwm_output_12, serial_udb_extra_f2_b->sue_imu_location_x, serial_udb_extra_f2_b->sue_imu_location_y, serial_udb_extra_f2_b->sue_imu_location_z, serial_udb_extra_f2_b->sue_location_error_earth_x, serial_udb_extra_f2_b->sue_location_error_earth_y, serial_udb_extra_f2_b->sue_location_error_earth_z, serial_udb_extra_f2_b->sue_flags, serial_udb_extra_f2_b->sue_osc_fails, serial_udb_extra_f2_b->sue_imu_velocity_x, serial_udb_extra_f2_b->sue_imu_velocity_y, serial_udb_extra_f2_b->sue_imu_velocity_z, serial_udb_extra_f2_b->sue_waypoint_goal_x, serial_udb_extra_f2_b->sue_waypoint_goal_y, serial_udb_extra_f2_b->sue_waypoint_goal_z, serial_udb_extra_f2_b->sue_aero_x, serial_udb_extra_f2_b->sue_aero_y, serial_udb_extra_f2_b->sue_aero_z, serial_udb_extra_f2_b->sue_barom_temp, serial_udb_extra_f2_b->sue_barom_press, serial_udb_extra_f2_b->sue_barom_alt, serial_udb_extra_f2_b->sue_bat_volt, serial_udb_extra_f2_b->sue_bat_amp, serial_udb_extra_f2_b->sue_bat_amp_hours, serial_udb_extra_f2_b->sue_desired_height, serial_udb_extra_f2_b->sue_memory_stack_free);
743 _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B, (
const char *)serial_udb_extra_f2_b, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_MIN_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_CRC);
747#if MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN <= MAVLINK_MAX_PAYLOAD_LEN
755static inline void mavlink_msg_serial_udb_extra_f2_b_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan, uint32_t sue_time, int16_t sue_pwm_input_1, int16_t sue_pwm_input_2, int16_t sue_pwm_input_3, int16_t sue_pwm_input_4, int16_t sue_pwm_input_5, int16_t sue_pwm_input_6, int16_t sue_pwm_input_7, int16_t sue_pwm_input_8, int16_t sue_pwm_input_9, int16_t sue_pwm_input_10, int16_t sue_pwm_input_11, int16_t sue_pwm_input_12, int16_t sue_pwm_output_1, int16_t sue_pwm_output_2, int16_t sue_pwm_output_3, int16_t sue_pwm_output_4, int16_t sue_pwm_output_5, int16_t sue_pwm_output_6, int16_t sue_pwm_output_7, int16_t sue_pwm_output_8, int16_t sue_pwm_output_9, int16_t sue_pwm_output_10, int16_t sue_pwm_output_11, int16_t sue_pwm_output_12, int16_t sue_imu_location_x, int16_t sue_imu_location_y, int16_t sue_imu_location_z, int16_t sue_location_error_earth_x, int16_t sue_location_error_earth_y, int16_t sue_location_error_earth_z, uint32_t sue_flags, int16_t sue_osc_fails, int16_t sue_imu_velocity_x, int16_t sue_imu_velocity_y, int16_t sue_imu_velocity_z, int16_t sue_waypoint_goal_x, int16_t sue_waypoint_goal_y, int16_t sue_waypoint_goal_z, int16_t sue_aero_x, int16_t sue_aero_y, int16_t sue_aero_z, int16_t sue_barom_temp, int32_t sue_barom_press, int32_t sue_barom_alt, int16_t sue_bat_volt, int16_t sue_bat_amp, int16_t sue_bat_amp_hours, int16_t sue_desired_height, int16_t sue_memory_stack_free)
757#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
758 char *buf = (
char *)msgbuf;
759 _mav_put_uint32_t(buf, 0, sue_time);
760 _mav_put_uint32_t(buf, 4, sue_flags);
761 _mav_put_int32_t(buf, 8, sue_barom_press);
762 _mav_put_int32_t(buf, 12, sue_barom_alt);
763 _mav_put_int16_t(buf, 16, sue_pwm_input_1);
764 _mav_put_int16_t(buf, 18, sue_pwm_input_2);
765 _mav_put_int16_t(buf, 20, sue_pwm_input_3);
766 _mav_put_int16_t(buf, 22, sue_pwm_input_4);
767 _mav_put_int16_t(buf, 24, sue_pwm_input_5);
768 _mav_put_int16_t(buf, 26, sue_pwm_input_6);
769 _mav_put_int16_t(buf, 28, sue_pwm_input_7);
770 _mav_put_int16_t(buf, 30, sue_pwm_input_8);
771 _mav_put_int16_t(buf, 32, sue_pwm_input_9);
772 _mav_put_int16_t(buf, 34, sue_pwm_input_10);
773 _mav_put_int16_t(buf, 36, sue_pwm_input_11);
774 _mav_put_int16_t(buf, 38, sue_pwm_input_12);
775 _mav_put_int16_t(buf, 40, sue_pwm_output_1);
776 _mav_put_int16_t(buf, 42, sue_pwm_output_2);
777 _mav_put_int16_t(buf, 44, sue_pwm_output_3);
778 _mav_put_int16_t(buf, 46, sue_pwm_output_4);
779 _mav_put_int16_t(buf, 48, sue_pwm_output_5);
780 _mav_put_int16_t(buf, 50, sue_pwm_output_6);
781 _mav_put_int16_t(buf, 52, sue_pwm_output_7);
782 _mav_put_int16_t(buf, 54, sue_pwm_output_8);
783 _mav_put_int16_t(buf, 56, sue_pwm_output_9);
784 _mav_put_int16_t(buf, 58, sue_pwm_output_10);
785 _mav_put_int16_t(buf, 60, sue_pwm_output_11);
786 _mav_put_int16_t(buf, 62, sue_pwm_output_12);
787 _mav_put_int16_t(buf, 64, sue_imu_location_x);
788 _mav_put_int16_t(buf, 66, sue_imu_location_y);
789 _mav_put_int16_t(buf, 68, sue_imu_location_z);
790 _mav_put_int16_t(buf, 70, sue_location_error_earth_x);
791 _mav_put_int16_t(buf, 72, sue_location_error_earth_y);
792 _mav_put_int16_t(buf, 74, sue_location_error_earth_z);
793 _mav_put_int16_t(buf, 76, sue_osc_fails);
794 _mav_put_int16_t(buf, 78, sue_imu_velocity_x);
795 _mav_put_int16_t(buf, 80, sue_imu_velocity_y);
796 _mav_put_int16_t(buf, 82, sue_imu_velocity_z);
797 _mav_put_int16_t(buf, 84, sue_waypoint_goal_x);
798 _mav_put_int16_t(buf, 86, sue_waypoint_goal_y);
799 _mav_put_int16_t(buf, 88, sue_waypoint_goal_z);
800 _mav_put_int16_t(buf, 90, sue_aero_x);
801 _mav_put_int16_t(buf, 92, sue_aero_y);
802 _mav_put_int16_t(buf, 94, sue_aero_z);
803 _mav_put_int16_t(buf, 96, sue_barom_temp);
804 _mav_put_int16_t(buf, 98, sue_bat_volt);
805 _mav_put_int16_t(buf, 100, sue_bat_amp);
806 _mav_put_int16_t(buf, 102, sue_bat_amp_hours);
807 _mav_put_int16_t(buf, 104, sue_desired_height);
808 _mav_put_int16_t(buf, 106, sue_memory_stack_free);
810 _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B, buf, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_MIN_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_CRC);
812 mavlink_serial_udb_extra_f2_b_t *packet = (mavlink_serial_udb_extra_f2_b_t *)msgbuf;
813 packet->sue_time = sue_time;
814 packet->sue_flags = sue_flags;
815 packet->sue_barom_press = sue_barom_press;
816 packet->sue_barom_alt = sue_barom_alt;
817 packet->sue_pwm_input_1 = sue_pwm_input_1;
818 packet->sue_pwm_input_2 = sue_pwm_input_2;
819 packet->sue_pwm_input_3 = sue_pwm_input_3;
820 packet->sue_pwm_input_4 = sue_pwm_input_4;
821 packet->sue_pwm_input_5 = sue_pwm_input_5;
822 packet->sue_pwm_input_6 = sue_pwm_input_6;
823 packet->sue_pwm_input_7 = sue_pwm_input_7;
824 packet->sue_pwm_input_8 = sue_pwm_input_8;
825 packet->sue_pwm_input_9 = sue_pwm_input_9;
826 packet->sue_pwm_input_10 = sue_pwm_input_10;
827 packet->sue_pwm_input_11 = sue_pwm_input_11;
828 packet->sue_pwm_input_12 = sue_pwm_input_12;
829 packet->sue_pwm_output_1 = sue_pwm_output_1;
830 packet->sue_pwm_output_2 = sue_pwm_output_2;
831 packet->sue_pwm_output_3 = sue_pwm_output_3;
832 packet->sue_pwm_output_4 = sue_pwm_output_4;
833 packet->sue_pwm_output_5 = sue_pwm_output_5;
834 packet->sue_pwm_output_6 = sue_pwm_output_6;
835 packet->sue_pwm_output_7 = sue_pwm_output_7;
836 packet->sue_pwm_output_8 = sue_pwm_output_8;
837 packet->sue_pwm_output_9 = sue_pwm_output_9;
838 packet->sue_pwm_output_10 = sue_pwm_output_10;
839 packet->sue_pwm_output_11 = sue_pwm_output_11;
840 packet->sue_pwm_output_12 = sue_pwm_output_12;
841 packet->sue_imu_location_x = sue_imu_location_x;
842 packet->sue_imu_location_y = sue_imu_location_y;
843 packet->sue_imu_location_z = sue_imu_location_z;
844 packet->sue_location_error_earth_x = sue_location_error_earth_x;
845 packet->sue_location_error_earth_y = sue_location_error_earth_y;
846 packet->sue_location_error_earth_z = sue_location_error_earth_z;
847 packet->sue_osc_fails = sue_osc_fails;
848 packet->sue_imu_velocity_x = sue_imu_velocity_x;
849 packet->sue_imu_velocity_y = sue_imu_velocity_y;
850 packet->sue_imu_velocity_z = sue_imu_velocity_z;
851 packet->sue_waypoint_goal_x = sue_waypoint_goal_x;
852 packet->sue_waypoint_goal_y = sue_waypoint_goal_y;
853 packet->sue_waypoint_goal_z = sue_waypoint_goal_z;
854 packet->sue_aero_x = sue_aero_x;
855 packet->sue_aero_y = sue_aero_y;
856 packet->sue_aero_z = sue_aero_z;
857 packet->sue_barom_temp = sue_barom_temp;
858 packet->sue_bat_volt = sue_bat_volt;
859 packet->sue_bat_amp = sue_bat_amp;
860 packet->sue_bat_amp_hours = sue_bat_amp_hours;
861 packet->sue_desired_height = sue_desired_height;
862 packet->sue_memory_stack_free = sue_memory_stack_free;
864 _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B, (
const char *)packet, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_MIN_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_CRC);
879static inline uint32_t mavlink_msg_serial_udb_extra_f2_b_get_sue_time(
const mavlink_message_t* msg)
881 return _MAV_RETURN_uint32_t(msg, 0);
889static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_1(
const mavlink_message_t* msg)
891 return _MAV_RETURN_int16_t(msg, 16);
899static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_2(
const mavlink_message_t* msg)
901 return _MAV_RETURN_int16_t(msg, 18);
909static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_3(
const mavlink_message_t* msg)
911 return _MAV_RETURN_int16_t(msg, 20);
919static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_4(
const mavlink_message_t* msg)
921 return _MAV_RETURN_int16_t(msg, 22);
929static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_5(
const mavlink_message_t* msg)
931 return _MAV_RETURN_int16_t(msg, 24);
939static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_6(
const mavlink_message_t* msg)
941 return _MAV_RETURN_int16_t(msg, 26);
949static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_7(
const mavlink_message_t* msg)
951 return _MAV_RETURN_int16_t(msg, 28);
959static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_8(
const mavlink_message_t* msg)
961 return _MAV_RETURN_int16_t(msg, 30);
969static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_9(
const mavlink_message_t* msg)
971 return _MAV_RETURN_int16_t(msg, 32);
979static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_10(
const mavlink_message_t* msg)
981 return _MAV_RETURN_int16_t(msg, 34);
989static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_11(
const mavlink_message_t* msg)
991 return _MAV_RETURN_int16_t(msg, 36);
999static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_12(
const mavlink_message_t* msg)
1001 return _MAV_RETURN_int16_t(msg, 38);
1009static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_1(
const mavlink_message_t* msg)
1011 return _MAV_RETURN_int16_t(msg, 40);
1019static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_2(
const mavlink_message_t* msg)
1021 return _MAV_RETURN_int16_t(msg, 42);
1029static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_3(
const mavlink_message_t* msg)
1031 return _MAV_RETURN_int16_t(msg, 44);
1039static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_4(
const mavlink_message_t* msg)
1041 return _MAV_RETURN_int16_t(msg, 46);
1049static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_5(
const mavlink_message_t* msg)
1051 return _MAV_RETURN_int16_t(msg, 48);
1059static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_6(
const mavlink_message_t* msg)
1061 return _MAV_RETURN_int16_t(msg, 50);
1069static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_7(
const mavlink_message_t* msg)
1071 return _MAV_RETURN_int16_t(msg, 52);
1079static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_8(
const mavlink_message_t* msg)
1081 return _MAV_RETURN_int16_t(msg, 54);
1089static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_9(
const mavlink_message_t* msg)
1091 return _MAV_RETURN_int16_t(msg, 56);
1099static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_10(
const mavlink_message_t* msg)
1101 return _MAV_RETURN_int16_t(msg, 58);
1109static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_11(
const mavlink_message_t* msg)
1111 return _MAV_RETURN_int16_t(msg, 60);
1119static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_12(
const mavlink_message_t* msg)
1121 return _MAV_RETURN_int16_t(msg, 62);
1129static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_location_x(
const mavlink_message_t* msg)
1131 return _MAV_RETURN_int16_t(msg, 64);
1139static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_location_y(
const mavlink_message_t* msg)
1141 return _MAV_RETURN_int16_t(msg, 66);
1149static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_location_z(
const mavlink_message_t* msg)
1151 return _MAV_RETURN_int16_t(msg, 68);
1159static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_location_error_earth_x(
const mavlink_message_t* msg)
1161 return _MAV_RETURN_int16_t(msg, 70);
1169static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_location_error_earth_y(
const mavlink_message_t* msg)
1171 return _MAV_RETURN_int16_t(msg, 72);
1179static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_location_error_earth_z(
const mavlink_message_t* msg)
1181 return _MAV_RETURN_int16_t(msg, 74);
1189static inline uint32_t mavlink_msg_serial_udb_extra_f2_b_get_sue_flags(
const mavlink_message_t* msg)
1191 return _MAV_RETURN_uint32_t(msg, 4);
1199static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_osc_fails(
const mavlink_message_t* msg)
1201 return _MAV_RETURN_int16_t(msg, 76);
1209static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_velocity_x(
const mavlink_message_t* msg)
1211 return _MAV_RETURN_int16_t(msg, 78);
1219static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_velocity_y(
const mavlink_message_t* msg)
1221 return _MAV_RETURN_int16_t(msg, 80);
1229static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_velocity_z(
const mavlink_message_t* msg)
1231 return _MAV_RETURN_int16_t(msg, 82);
1239static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_waypoint_goal_x(
const mavlink_message_t* msg)
1241 return _MAV_RETURN_int16_t(msg, 84);
1249static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_waypoint_goal_y(
const mavlink_message_t* msg)
1251 return _MAV_RETURN_int16_t(msg, 86);
1259static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_waypoint_goal_z(
const mavlink_message_t* msg)
1261 return _MAV_RETURN_int16_t(msg, 88);
1269static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_aero_x(
const mavlink_message_t* msg)
1271 return _MAV_RETURN_int16_t(msg, 90);
1279static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_aero_y(
const mavlink_message_t* msg)
1281 return _MAV_RETURN_int16_t(msg, 92);
1289static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_aero_z(
const mavlink_message_t* msg)
1291 return _MAV_RETURN_int16_t(msg, 94);
1299static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_barom_temp(
const mavlink_message_t* msg)
1301 return _MAV_RETURN_int16_t(msg, 96);
1309static inline int32_t mavlink_msg_serial_udb_extra_f2_b_get_sue_barom_press(
const mavlink_message_t* msg)
1311 return _MAV_RETURN_int32_t(msg, 8);
1319static inline int32_t mavlink_msg_serial_udb_extra_f2_b_get_sue_barom_alt(
const mavlink_message_t* msg)
1321 return _MAV_RETURN_int32_t(msg, 12);
1329static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_bat_volt(
const mavlink_message_t* msg)
1331 return _MAV_RETURN_int16_t(msg, 98);
1339static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_bat_amp(
const mavlink_message_t* msg)
1341 return _MAV_RETURN_int16_t(msg, 100);
1349static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_bat_amp_hours(
const mavlink_message_t* msg)
1351 return _MAV_RETURN_int16_t(msg, 102);
1359static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_desired_height(
const mavlink_message_t* msg)
1361 return _MAV_RETURN_int16_t(msg, 104);
1369static inline int16_t mavlink_msg_serial_udb_extra_f2_b_get_sue_memory_stack_free(
const mavlink_message_t* msg)
1371 return _MAV_RETURN_int16_t(msg, 106);
1380static inline void mavlink_msg_serial_udb_extra_f2_b_decode(
const mavlink_message_t* msg, mavlink_serial_udb_extra_f2_b_t* serial_udb_extra_f2_b)
1382#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
1383 serial_udb_extra_f2_b->sue_time = mavlink_msg_serial_udb_extra_f2_b_get_sue_time(msg);
1384 serial_udb_extra_f2_b->sue_flags = mavlink_msg_serial_udb_extra_f2_b_get_sue_flags(msg);
1385 serial_udb_extra_f2_b->sue_barom_press = mavlink_msg_serial_udb_extra_f2_b_get_sue_barom_press(msg);
1386 serial_udb_extra_f2_b->sue_barom_alt = mavlink_msg_serial_udb_extra_f2_b_get_sue_barom_alt(msg);
1387 serial_udb_extra_f2_b->sue_pwm_input_1 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_1(msg);
1388 serial_udb_extra_f2_b->sue_pwm_input_2 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_2(msg);
1389 serial_udb_extra_f2_b->sue_pwm_input_3 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_3(msg);
1390 serial_udb_extra_f2_b->sue_pwm_input_4 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_4(msg);
1391 serial_udb_extra_f2_b->sue_pwm_input_5 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_5(msg);
1392 serial_udb_extra_f2_b->sue_pwm_input_6 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_6(msg);
1393 serial_udb_extra_f2_b->sue_pwm_input_7 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_7(msg);
1394 serial_udb_extra_f2_b->sue_pwm_input_8 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_8(msg);
1395 serial_udb_extra_f2_b->sue_pwm_input_9 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_9(msg);
1396 serial_udb_extra_f2_b->sue_pwm_input_10 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_10(msg);
1397 serial_udb_extra_f2_b->sue_pwm_input_11 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_11(msg);
1398 serial_udb_extra_f2_b->sue_pwm_input_12 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_input_12(msg);
1399 serial_udb_extra_f2_b->sue_pwm_output_1 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_1(msg);
1400 serial_udb_extra_f2_b->sue_pwm_output_2 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_2(msg);
1401 serial_udb_extra_f2_b->sue_pwm_output_3 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_3(msg);
1402 serial_udb_extra_f2_b->sue_pwm_output_4 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_4(msg);
1403 serial_udb_extra_f2_b->sue_pwm_output_5 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_5(msg);
1404 serial_udb_extra_f2_b->sue_pwm_output_6 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_6(msg);
1405 serial_udb_extra_f2_b->sue_pwm_output_7 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_7(msg);
1406 serial_udb_extra_f2_b->sue_pwm_output_8 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_8(msg);
1407 serial_udb_extra_f2_b->sue_pwm_output_9 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_9(msg);
1408 serial_udb_extra_f2_b->sue_pwm_output_10 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_10(msg);
1409 serial_udb_extra_f2_b->sue_pwm_output_11 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_11(msg);
1410 serial_udb_extra_f2_b->sue_pwm_output_12 = mavlink_msg_serial_udb_extra_f2_b_get_sue_pwm_output_12(msg);
1411 serial_udb_extra_f2_b->sue_imu_location_x = mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_location_x(msg);
1412 serial_udb_extra_f2_b->sue_imu_location_y = mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_location_y(msg);
1413 serial_udb_extra_f2_b->sue_imu_location_z = mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_location_z(msg);
1414 serial_udb_extra_f2_b->sue_location_error_earth_x = mavlink_msg_serial_udb_extra_f2_b_get_sue_location_error_earth_x(msg);
1415 serial_udb_extra_f2_b->sue_location_error_earth_y = mavlink_msg_serial_udb_extra_f2_b_get_sue_location_error_earth_y(msg);
1416 serial_udb_extra_f2_b->sue_location_error_earth_z = mavlink_msg_serial_udb_extra_f2_b_get_sue_location_error_earth_z(msg);
1417 serial_udb_extra_f2_b->sue_osc_fails = mavlink_msg_serial_udb_extra_f2_b_get_sue_osc_fails(msg);
1418 serial_udb_extra_f2_b->sue_imu_velocity_x = mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_velocity_x(msg);
1419 serial_udb_extra_f2_b->sue_imu_velocity_y = mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_velocity_y(msg);
1420 serial_udb_extra_f2_b->sue_imu_velocity_z = mavlink_msg_serial_udb_extra_f2_b_get_sue_imu_velocity_z(msg);
1421 serial_udb_extra_f2_b->sue_waypoint_goal_x = mavlink_msg_serial_udb_extra_f2_b_get_sue_waypoint_goal_x(msg);
1422 serial_udb_extra_f2_b->sue_waypoint_goal_y = mavlink_msg_serial_udb_extra_f2_b_get_sue_waypoint_goal_y(msg);
1423 serial_udb_extra_f2_b->sue_waypoint_goal_z = mavlink_msg_serial_udb_extra_f2_b_get_sue_waypoint_goal_z(msg);
1424 serial_udb_extra_f2_b->sue_aero_x = mavlink_msg_serial_udb_extra_f2_b_get_sue_aero_x(msg);
1425 serial_udb_extra_f2_b->sue_aero_y = mavlink_msg_serial_udb_extra_f2_b_get_sue_aero_y(msg);
1426 serial_udb_extra_f2_b->sue_aero_z = mavlink_msg_serial_udb_extra_f2_b_get_sue_aero_z(msg);
1427 serial_udb_extra_f2_b->sue_barom_temp = mavlink_msg_serial_udb_extra_f2_b_get_sue_barom_temp(msg);
1428 serial_udb_extra_f2_b->sue_bat_volt = mavlink_msg_serial_udb_extra_f2_b_get_sue_bat_volt(msg);
1429 serial_udb_extra_f2_b->sue_bat_amp = mavlink_msg_serial_udb_extra_f2_b_get_sue_bat_amp(msg);
1430 serial_udb_extra_f2_b->sue_bat_amp_hours = mavlink_msg_serial_udb_extra_f2_b_get_sue_bat_amp_hours(msg);
1431 serial_udb_extra_f2_b->sue_desired_height = mavlink_msg_serial_udb_extra_f2_b_get_sue_desired_height(msg);
1432 serial_udb_extra_f2_b->sue_memory_stack_free = mavlink_msg_serial_udb_extra_f2_b_get_sue_memory_stack_free(msg);
1434 uint8_t len = msg->len < MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN? msg->len : MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN;
1435 memset(serial_udb_extra_f2_b, 0, MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F2_B_LEN);
1436 memcpy(serial_udb_extra_f2_b, _MAV_PAYLOAD(msg), len);