5 #ifndef ASLUAV_TESTSUITE_H
6 #define ASLUAV_TESTSUITE_H
12 #ifndef MAVLINK_TEST_ALL
13 #define MAVLINK_TEST_ALL
14 static void mavlink_test_common(uint8_t, uint8_t, mavlink_message_t *last_msg);
15 static void mavlink_test_ASLUAV(uint8_t, uint8_t, mavlink_message_t *last_msg);
17 static void mavlink_test_all(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
19 mavlink_test_common(system_id, component_id, last_msg);
20 mavlink_test_ASLUAV(system_id, component_id, last_msg);
24 #include "../common/testsuite.h"
27 static void mavlink_test_sens_power(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
29 mavlink_message_t msg;
36 memset(&packet1, 0,
sizeof(packet1));
44 memset(&packet2, 0,
sizeof(packet2));
45 mavlink_msg_sens_power_encode(system_id, component_id, &msg, &packet1);
46 mavlink_msg_sens_power_decode(&msg, &packet2);
49 memset(&packet2, 0,
sizeof(packet2));
51 mavlink_msg_sens_power_decode(&msg, &packet2);
54 memset(&packet2, 0,
sizeof(packet2));
56 mavlink_msg_sens_power_decode(&msg, &packet2);
59 memset(&packet2, 0,
sizeof(packet2));
61 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
64 mavlink_msg_sens_power_decode(last_msg, &packet2);
67 memset(&packet2, 0,
sizeof(packet2));
69 mavlink_msg_sens_power_decode(last_msg, &packet2);
73 static void mavlink_test_sens_mppt(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
75 mavlink_message_t msg;
79 93372036854775807ULL,73.0,101.0,129.0,157.0,185.0,213.0,18899,19003,19107,247,58,125
82 memset(&packet1, 0,
sizeof(packet1));
99 memset(&packet2, 0,
sizeof(packet2));
100 mavlink_msg_sens_mppt_encode(system_id, component_id, &msg, &packet1);
101 mavlink_msg_sens_mppt_decode(&msg, &packet2);
104 memset(&packet2, 0,
sizeof(packet2));
105 mavlink_msg_sens_mppt_pack(system_id, component_id, &msg , packet1.
mppt_timestamp , packet1.
mppt1_volt , packet1.
mppt1_amp , packet1.
mppt1_pwm , packet1.
mppt1_status , packet1.
mppt2_volt , packet1.
mppt2_amp , packet1.
mppt2_pwm , packet1.
mppt2_status , packet1.
mppt3_volt , packet1.
mppt3_amp , packet1.
mppt3_pwm , packet1.
mppt3_status );
106 mavlink_msg_sens_mppt_decode(&msg, &packet2);
109 memset(&packet2, 0,
sizeof(packet2));
110 mavlink_msg_sens_mppt_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
mppt_timestamp , packet1.
mppt1_volt , packet1.
mppt1_amp , packet1.
mppt1_pwm , packet1.
mppt1_status , packet1.
mppt2_volt , packet1.
mppt2_amp , packet1.
mppt2_pwm , packet1.
mppt2_status , packet1.
mppt3_volt , packet1.
mppt3_amp , packet1.
mppt3_pwm , packet1.
mppt3_status );
111 mavlink_msg_sens_mppt_decode(&msg, &packet2);
114 memset(&packet2, 0,
sizeof(packet2));
116 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
119 mavlink_msg_sens_mppt_decode(last_msg, &packet2);
122 memset(&packet2, 0,
sizeof(packet2));
123 mavlink_msg_sens_mppt_send(
MAVLINK_COMM_1 , packet1.
mppt_timestamp , packet1.
mppt1_volt , packet1.
mppt1_amp , packet1.
mppt1_pwm , packet1.
mppt1_status , packet1.
mppt2_volt , packet1.
mppt2_amp , packet1.
mppt2_pwm , packet1.
mppt2_status , packet1.
mppt3_volt , packet1.
mppt3_amp , packet1.
mppt3_pwm , packet1.
mppt3_status );
124 mavlink_msg_sens_mppt_decode(last_msg, &packet2);
128 static void mavlink_test_aslctrl_data(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
130 mavlink_message_t msg;
134 93372036854775807ULL,73.0,101.0,129.0,157.0,185.0,213.0,241.0,269.0,297.0,325.0,353.0,381.0,409.0,437.0,465.0,493.0,521.0,549.0,577.0,605.0,633.0,661.0,37,104
137 memset(&packet1, 0,
sizeof(packet1));
139 packet1.
h = packet_in.
h;
144 packet1.
q = packet_in.
q;
149 packet1.
aZ = packet_in.
aZ;
155 packet1.
p = packet_in.
p;
157 packet1.
r = packet_in.
r;
166 memset(&packet2, 0,
sizeof(packet2));
167 mavlink_msg_aslctrl_data_encode(system_id, component_id, &msg, &packet1);
168 mavlink_msg_aslctrl_data_decode(&msg, &packet2);
171 memset(&packet2, 0,
sizeof(packet2));
172 mavlink_msg_aslctrl_data_pack(system_id, component_id, &msg , packet1.
timestamp , packet1.
aslctrl_mode , packet1.
h , packet1.
hRef , packet1.
hRef_t , packet1.
PitchAngle , packet1.
PitchAngleRef , packet1.
q , packet1.
qRef , packet1.
uElev , packet1.
uThrot , packet1.
uThrot2 , packet1.
aZ , packet1.
AirspeedRef , packet1.
SpoilersEngaged , packet1.
YawAngle , packet1.
YawAngleRef , packet1.
RollAngle , packet1.
RollAngleRef , packet1.
p , packet1.
pRef , packet1.
r , packet1.
rRef , packet1.
uAil , packet1.
uRud );
173 mavlink_msg_aslctrl_data_decode(&msg, &packet2);
176 memset(&packet2, 0,
sizeof(packet2));
177 mavlink_msg_aslctrl_data_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
timestamp , packet1.
aslctrl_mode , packet1.
h , packet1.
hRef , packet1.
hRef_t , packet1.
PitchAngle , packet1.
PitchAngleRef , packet1.
q , packet1.
qRef , packet1.
uElev , packet1.
uThrot , packet1.
uThrot2 , packet1.
aZ , packet1.
AirspeedRef , packet1.
SpoilersEngaged , packet1.
YawAngle , packet1.
YawAngleRef , packet1.
RollAngle , packet1.
RollAngleRef , packet1.
p , packet1.
pRef , packet1.
r , packet1.
rRef , packet1.
uAil , packet1.
uRud );
178 mavlink_msg_aslctrl_data_decode(&msg, &packet2);
181 memset(&packet2, 0,
sizeof(packet2));
183 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
186 mavlink_msg_aslctrl_data_decode(last_msg, &packet2);
189 memset(&packet2, 0,
sizeof(packet2));
190 mavlink_msg_aslctrl_data_send(
MAVLINK_COMM_1 , packet1.
timestamp , packet1.
aslctrl_mode , packet1.
h , packet1.
hRef , packet1.
hRef_t , packet1.
PitchAngle , packet1.
PitchAngleRef , packet1.
q , packet1.
qRef , packet1.
uElev , packet1.
uThrot , packet1.
uThrot2 , packet1.
aZ , packet1.
AirspeedRef , packet1.
SpoilersEngaged , packet1.
YawAngle , packet1.
YawAngleRef , packet1.
RollAngle , packet1.
RollAngleRef , packet1.
p , packet1.
pRef , packet1.
r , packet1.
rRef , packet1.
uAil , packet1.
uRud );
191 mavlink_msg_aslctrl_data_decode(last_msg, &packet2);
195 static void mavlink_test_aslctrl_debug(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
197 mavlink_message_t msg;
201 963497464,45.0,73.0,101.0,129.0,157.0,185.0,213.0,241.0,113,180
204 memset(&packet1, 0,
sizeof(packet1));
206 packet1.
f_1 = packet_in.
f_1;
207 packet1.
f_2 = packet_in.
f_2;
208 packet1.
f_3 = packet_in.
f_3;
209 packet1.
f_4 = packet_in.
f_4;
210 packet1.
f_5 = packet_in.
f_5;
211 packet1.
f_6 = packet_in.
f_6;
212 packet1.
f_7 = packet_in.
f_7;
213 packet1.
f_8 = packet_in.
f_8;
219 memset(&packet2, 0,
sizeof(packet2));
220 mavlink_msg_aslctrl_debug_encode(system_id, component_id, &msg, &packet1);
221 mavlink_msg_aslctrl_debug_decode(&msg, &packet2);
224 memset(&packet2, 0,
sizeof(packet2));
225 mavlink_msg_aslctrl_debug_pack(system_id, component_id, &msg , packet1.
i32_1 , packet1.
i8_1 , packet1.
i8_2 , packet1.
f_1 , packet1.
f_2 , packet1.
f_3 , packet1.
f_4 , packet1.
f_5 , packet1.
f_6 , packet1.
f_7 , packet1.
f_8 );
226 mavlink_msg_aslctrl_debug_decode(&msg, &packet2);
229 memset(&packet2, 0,
sizeof(packet2));
230 mavlink_msg_aslctrl_debug_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
i32_1 , packet1.
i8_1 , packet1.
i8_2 , packet1.
f_1 , packet1.
f_2 , packet1.
f_3 , packet1.
f_4 , packet1.
f_5 , packet1.
f_6 , packet1.
f_7 , packet1.
f_8 );
231 mavlink_msg_aslctrl_debug_decode(&msg, &packet2);
234 memset(&packet2, 0,
sizeof(packet2));
236 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
239 mavlink_msg_aslctrl_debug_decode(last_msg, &packet2);
242 memset(&packet2, 0,
sizeof(packet2));
243 mavlink_msg_aslctrl_debug_send(
MAVLINK_COMM_1 , packet1.
i32_1 , packet1.
i8_1 , packet1.
i8_2 , packet1.
f_1 , packet1.
f_2 , packet1.
f_3 , packet1.
f_4 , packet1.
f_5 , packet1.
f_6 , packet1.
f_7 , packet1.
f_8 );
244 mavlink_msg_aslctrl_debug_decode(last_msg, &packet2);
248 static void mavlink_test_asluav_status(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
250 mavlink_message_t msg;
254 17.0,17,84,{ 151, 152, 153, 154, 155, 156, 157, 158 }
257 memset(&packet1, 0,
sizeof(packet1));
265 memset(&packet2, 0,
sizeof(packet2));
266 mavlink_msg_asluav_status_encode(system_id, component_id, &msg, &packet1);
267 mavlink_msg_asluav_status_decode(&msg, &packet2);
270 memset(&packet2, 0,
sizeof(packet2));
272 mavlink_msg_asluav_status_decode(&msg, &packet2);
275 memset(&packet2, 0,
sizeof(packet2));
277 mavlink_msg_asluav_status_decode(&msg, &packet2);
280 memset(&packet2, 0,
sizeof(packet2));
282 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
285 mavlink_msg_asluav_status_decode(last_msg, &packet2);
288 memset(&packet2, 0,
sizeof(packet2));
290 mavlink_msg_asluav_status_decode(last_msg, &packet2);
294 static void mavlink_test_ekf_ext(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
296 mavlink_message_t msg;
300 93372036854775807ULL,73.0,101.0,129.0,157.0,185.0,213.0
303 memset(&packet1, 0,
sizeof(packet1));
314 memset(&packet2, 0,
sizeof(packet2));
315 mavlink_msg_ekf_ext_encode(system_id, component_id, &msg, &packet1);
316 mavlink_msg_ekf_ext_decode(&msg, &packet2);
319 memset(&packet2, 0,
sizeof(packet2));
321 mavlink_msg_ekf_ext_decode(&msg, &packet2);
324 memset(&packet2, 0,
sizeof(packet2));
325 mavlink_msg_ekf_ext_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
timestamp , packet1.
Windspeed , packet1.
WindDir , packet1.
WindZ , packet1.
Airspeed , packet1.
beta , packet1.
alpha );
326 mavlink_msg_ekf_ext_decode(&msg, &packet2);
329 memset(&packet2, 0,
sizeof(packet2));
331 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
334 mavlink_msg_ekf_ext_decode(last_msg, &packet2);
337 memset(&packet2, 0,
sizeof(packet2));
339 mavlink_msg_ekf_ext_decode(last_msg, &packet2);
343 static void mavlink_test_asl_obctrl(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
345 mavlink_message_t msg;
349 93372036854775807ULL,73.0,101.0,129.0,157.0,185.0,213.0,101
352 memset(&packet1, 0,
sizeof(packet1));
364 memset(&packet2, 0,
sizeof(packet2));
365 mavlink_msg_asl_obctrl_encode(system_id, component_id, &msg, &packet1);
366 mavlink_msg_asl_obctrl_decode(&msg, &packet2);
369 memset(&packet2, 0,
sizeof(packet2));
370 mavlink_msg_asl_obctrl_pack(system_id, component_id, &msg , packet1.
timestamp , packet1.
uElev , packet1.
uThrot , packet1.
uThrot2 , packet1.
uAilL , packet1.
uAilR , packet1.
uRud , packet1.
obctrl_status );
371 mavlink_msg_asl_obctrl_decode(&msg, &packet2);
374 memset(&packet2, 0,
sizeof(packet2));
375 mavlink_msg_asl_obctrl_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
timestamp , packet1.
uElev , packet1.
uThrot , packet1.
uThrot2 , packet1.
uAilL , packet1.
uAilR , packet1.
uRud , packet1.
obctrl_status );
376 mavlink_msg_asl_obctrl_decode(&msg, &packet2);
379 memset(&packet2, 0,
sizeof(packet2));
381 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
384 mavlink_msg_asl_obctrl_decode(last_msg, &packet2);
387 memset(&packet2, 0,
sizeof(packet2));
389 mavlink_msg_asl_obctrl_decode(last_msg, &packet2);
393 static void mavlink_test_sens_atmos(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
395 mavlink_message_t msg;
402 memset(&packet1, 0,
sizeof(packet1));
408 memset(&packet2, 0,
sizeof(packet2));
409 mavlink_msg_sens_atmos_encode(system_id, component_id, &msg, &packet1);
410 mavlink_msg_sens_atmos_decode(&msg, &packet2);
413 memset(&packet2, 0,
sizeof(packet2));
414 mavlink_msg_sens_atmos_pack(system_id, component_id, &msg , packet1.
TempAmbient , packet1.
Humidity );
415 mavlink_msg_sens_atmos_decode(&msg, &packet2);
418 memset(&packet2, 0,
sizeof(packet2));
420 mavlink_msg_sens_atmos_decode(&msg, &packet2);
423 memset(&packet2, 0,
sizeof(packet2));
425 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
428 mavlink_msg_sens_atmos_decode(last_msg, &packet2);
431 memset(&packet2, 0,
sizeof(packet2));
433 mavlink_msg_sens_atmos_decode(last_msg, &packet2);
437 static void mavlink_test_sens_batmon(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
439 mavlink_message_t msg;
443 17235,17339,17443,17547,17651,17755,17859,17963,18067,18171,18275,18379
446 memset(&packet1, 0,
sizeof(packet1));
462 memset(&packet2, 0,
sizeof(packet2));
463 mavlink_msg_sens_batmon_encode(system_id, component_id, &msg, &packet1);
464 mavlink_msg_sens_batmon_decode(&msg, &packet2);
467 memset(&packet2, 0,
sizeof(packet2));
468 mavlink_msg_sens_batmon_pack(system_id, component_id, &msg , packet1.
temperature , packet1.
voltage , packet1.
current , packet1.
batterystatus , packet1.
serialnumber , packet1.
hostfetcontrol , packet1.
cellvoltage1 , packet1.
cellvoltage2 , packet1.
cellvoltage3 , packet1.
cellvoltage4 , packet1.
cellvoltage5 , packet1.
cellvoltage6 );
469 mavlink_msg_sens_batmon_decode(&msg, &packet2);
472 memset(&packet2, 0,
sizeof(packet2));
473 mavlink_msg_sens_batmon_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
temperature , packet1.
voltage , packet1.
current , packet1.
batterystatus , packet1.
serialnumber , packet1.
hostfetcontrol , packet1.
cellvoltage1 , packet1.
cellvoltage2 , packet1.
cellvoltage3 , packet1.
cellvoltage4 , packet1.
cellvoltage5 , packet1.
cellvoltage6 );
474 mavlink_msg_sens_batmon_decode(&msg, &packet2);
477 memset(&packet2, 0,
sizeof(packet2));
479 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
482 mavlink_msg_sens_batmon_decode(last_msg, &packet2);
485 memset(&packet2, 0,
sizeof(packet2));
486 mavlink_msg_sens_batmon_send(
MAVLINK_COMM_1 , packet1.
temperature , packet1.
voltage , packet1.
current , packet1.
batterystatus , packet1.
serialnumber , packet1.
hostfetcontrol , packet1.
cellvoltage1 , packet1.
cellvoltage2 , packet1.
cellvoltage3 , packet1.
cellvoltage4 , packet1.
cellvoltage5 , packet1.
cellvoltage6 );
487 mavlink_msg_sens_batmon_decode(last_msg, &packet2);
491 static void mavlink_test_ASLUAV(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
493 mavlink_test_sens_power(system_id, component_id, last_msg);
494 mavlink_test_sens_mppt(system_id, component_id, last_msg);
495 mavlink_test_aslctrl_data(system_id, component_id, last_msg);
496 mavlink_test_aslctrl_debug(system_id, component_id, last_msg);
497 mavlink_test_asluav_status(system_id, component_id, last_msg);
498 mavlink_test_ekf_ext(system_id, component_id, last_msg);
499 mavlink_test_asl_obctrl(system_id, component_id, last_msg);
500 mavlink_test_sens_atmos(system_id, component_id, last_msg);
501 mavlink_test_sens_batmon(system_id, component_id, last_msg);
506 #endif // __cplusplus
507 #endif // ASLUAV_TESTSUITE_H
Definition: mavlink_types.h:180
uint16_t hostfetcontrol
Battery monitor sensor host FET control in Hex.
Definition: mavlink_msg_sens_batmon.h:12
float Airspeed
Magnitude of air velocity [m/s].
Definition: mavlink_msg_ekf_ext.h:11
float PitchAngleRef
Pitch angle reference[deg].
Definition: mavlink_msg_aslctrl_data.h:12
float adc121_cspb_amp
Power board current sensor reading in amps.
Definition: mavlink_msg_sens_power.h:8
Definition: mavlink_types.h:179
uint32_t i32_1
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:7
uint16_t mppt2_pwm
MPPT2 pwm.
Definition: mavlink_msg_sens_mppt.h:15
float uAil
Definition: mavlink_msg_aslctrl_data.h:28
uint64_t timestamp
Timestamp.
Definition: mavlink_msg_aslctrl_data.h:7
float YawAngle
Yaw angle [deg].
Definition: mavlink_msg_aslctrl_data.h:20
float aZ
Definition: mavlink_msg_aslctrl_data.h:18
float rRef
Definition: mavlink_msg_aslctrl_data.h:27
uint8_t mppt3_status
MPPT3 status.
Definition: mavlink_msg_sens_mppt.h:19
Definition: mavlink_msg_asl_obctrl.h:5
float alpha
Angle of attack [rad].
Definition: mavlink_msg_ekf_ext.h:13
uint16_t cellvoltage5
Battery pack cell 5 voltage in [mV].
Definition: mavlink_msg_sens_batmon.h:17
uint8_t aslctrl_mode
ASLCTRL control-mode (manual, stabilized, auto, etc...)
Definition: mavlink_msg_aslctrl_data.h:30
uint8_t mppt2_status
MPPT2 status.
Definition: mavlink_msg_sens_mppt.h:18
float YawAngleRef
Yaw angle reference[deg].
Definition: mavlink_msg_aslctrl_data.h:21
Definition: mavlink_msg_sens_power.h:5
float qRef
Definition: mavlink_msg_aslctrl_data.h:14
float h
See sourcecode for a description of these values...
Definition: mavlink_msg_aslctrl_data.h:8
uint16_t cellvoltage3
Battery pack cell 3 voltage in [mV].
Definition: mavlink_msg_sens_batmon.h:15
float AirspeedRef
Airspeed reference [m/s].
Definition: mavlink_msg_aslctrl_data.h:19
Definition: mavlink_msg_asluav_status.h:5
Definition: mavlink_msg_sens_atmos.h:5
float Windspeed
Magnitude of wind velocity (in lateral inertial plane) [m/s].
Definition: mavlink_msg_ekf_ext.h:8
float pRef
Definition: mavlink_msg_aslctrl_data.h:25
float Humidity
Relative humidity [%].
Definition: mavlink_msg_sens_atmos.h:8
float f_6
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:13
float uElev
Definition: mavlink_msg_aslctrl_data.h:15
uint16_t voltage
Battery pack voltage in [mV].
Definition: mavlink_msg_sens_batmon.h:8
uint8_t LED_status
Status of the position-indicator LEDs.
Definition: mavlink_msg_asluav_status.h:8
uint16_t cellvoltage1
Battery pack cell 1 voltage in [mV].
Definition: mavlink_msg_sens_batmon.h:13
float uThrot2
Definition: mavlink_msg_aslctrl_data.h:17
uint16_t current
Battery pack current in [mA].
Definition: mavlink_msg_sens_batmon.h:9
uint8_t i8_2
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:17
float TempAmbient
Ambient temperature [degrees Celsius].
Definition: mavlink_msg_sens_atmos.h:7
float uThrot
Definition: mavlink_msg_aslctrl_data.h:16
float r
Definition: mavlink_msg_aslctrl_data.h:26
float f_7
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:14
float adc121_cs1_amp
Board current sensor 1 reading in amps.
Definition: mavlink_msg_sens_power.h:9
uint64_t timestamp
Time since system start [us].
Definition: mavlink_msg_ekf_ext.h:7
float mppt1_volt
MPPT1 voltage.
Definition: mavlink_msg_sens_mppt.h:8
float f_2
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:9
Definition: mavlink_msg_sens_mppt.h:5
uint16_t cellvoltage2
Battery pack cell 2 voltage in [mV].
Definition: mavlink_msg_sens_batmon.h:14
float f_1
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:8
float mppt2_amp
MPPT2 current.
Definition: mavlink_msg_sens_mppt.h:11
#define MAVLINK_ASSERT(x)
Definition: protocol.h:26
uint8_t obctrl_status
Off-board computer status.
Definition: mavlink_msg_asl_obctrl.h:14
float f_5
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:12
float mppt3_volt
MPPT3 voltage.
Definition: mavlink_msg_sens_mppt.h:12
#define MAVLINK_MAX_PACKET_LEN
Maximum packet length.
Definition: mavlink_types.h:33
float f_8
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:15
uint16_t batterystatus
Battery monitor status report bits in Hex.
Definition: mavlink_msg_sens_batmon.h:10
float hRef_t
Definition: mavlink_msg_aslctrl_data.h:10
uint64_t mppt_timestamp
MPPT last timestamp.
Definition: mavlink_msg_sens_mppt.h:7
float p
Definition: mavlink_msg_aslctrl_data.h:24
float f_3
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:10
uint16_t cellvoltage6
Battery pack cell 6 voltage in [mV].
Definition: mavlink_msg_sens_batmon.h:18
float uRud
Definition: mavlink_msg_aslctrl_data.h:29
uint16_t serialnumber
Battery monitor serial number in Hex.
Definition: mavlink_msg_sens_batmon.h:11
uint8_t i8_1
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:16
Definition: mavlink_msg_aslctrl_data.h:5
uint16_t cellvoltage4
Battery pack cell 4 voltage in [mV].
Definition: mavlink_msg_sens_batmon.h:16
Definition: mavlink_msg_ekf_ext.h:5
float RollAngle
Roll angle [deg].
Definition: mavlink_msg_aslctrl_data.h:22
float adc121_vspb_volt
Power board voltage sensor reading in volts.
Definition: mavlink_msg_sens_power.h:7
float beta
Sideslip angle [rad].
Definition: mavlink_msg_ekf_ext.h:12
float uRud
Rudder command [~].
Definition: mavlink_msg_asl_obctrl.h:13
float q
Definition: mavlink_msg_aslctrl_data.h:13
float hRef
Definition: mavlink_msg_aslctrl_data.h:9
float uAilR
Right aileron command [~].
Definition: mavlink_msg_asl_obctrl.h:12
MAVLINK_HELPER uint16_t mavlink_msg_to_send_buffer(uint8_t *buffer, const mavlink_message_t *msg)
Pack a message to send it over a serial byte stream.
Definition: mavlink_helpers.h:174
float mppt3_amp
MPPT3 current.
Definition: mavlink_msg_sens_mppt.h:13
Definition: mavlink_msg_sens_batmon.h:5
uint64_t timestamp
Time since system start [us].
Definition: mavlink_msg_asl_obctrl.h:7
float f_4
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:11
uint16_t mppt1_pwm
MPPT1 pwm.
Definition: mavlink_msg_sens_mppt.h:14
uint16_t mppt3_pwm
MPPT3 pwm.
Definition: mavlink_msg_sens_mppt.h:16
float RollAngleRef
Roll angle reference[deg].
Definition: mavlink_msg_aslctrl_data.h:23
float WindDir
Wind heading angle from North [rad].
Definition: mavlink_msg_ekf_ext.h:9
float uElev
Elevator command [~].
Definition: mavlink_msg_asl_obctrl.h:8
uint8_t SATCOM_status
Status of the IRIDIUM satellite communication system.
Definition: mavlink_msg_asluav_status.h:9
float mppt1_amp
MPPT1 current.
Definition: mavlink_msg_sens_mppt.h:9
float mppt2_volt
MPPT2 voltage.
Definition: mavlink_msg_sens_mppt.h:10
uint8_t SpoilersEngaged
Definition: mavlink_msg_aslctrl_data.h:31
float uThrot
Throttle command [~].
Definition: mavlink_msg_asl_obctrl.h:9
uint8_t mppt1_status
MPPT1 status.
Definition: mavlink_msg_sens_mppt.h:17
uint16_t temperature
Battery pack temperature in [0.1 K].
Definition: mavlink_msg_sens_batmon.h:7
float uThrot2
Throttle 2 command [~].
Definition: mavlink_msg_asl_obctrl.h:10
uint8_t Servo_status[8]
Status vector for up to 8 servos.
Definition: mavlink_msg_asluav_status.h:10
float WindZ
Z (Down) component of inertial wind velocity [m/s].
Definition: mavlink_msg_ekf_ext.h:10
Definition: mavlink_msg_aslctrl_debug.h:5
float adc121_cs2_amp
Board current sensor 2 reading in amps.
Definition: mavlink_msg_sens_power.h:10
float uAilL
Left aileron command [~].
Definition: mavlink_msg_asl_obctrl.h:11
float PitchAngle
Pitch angle [deg].
Definition: mavlink_msg_aslctrl_data.h:11
float Motor_rpm
Motor RPM.
Definition: mavlink_msg_asluav_status.h:7