5 #ifndef MATRIXPILOT_TESTSUITE_H
6 #define MATRIXPILOT_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_matrixpilot(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_matrixpilot(system_id, component_id, last_msg);
24 #include "../common/testsuite.h"
27 static void mavlink_test_flexifunction_set(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
29 mavlink_message_t msg;
36 memset(&packet1, 0,
sizeof(packet1));
42 memset(&packet2, 0,
sizeof(packet2));
43 mavlink_msg_flexifunction_set_encode(system_id, component_id, &msg, &packet1);
44 mavlink_msg_flexifunction_set_decode(&msg, &packet2);
47 memset(&packet2, 0,
sizeof(packet2));
49 mavlink_msg_flexifunction_set_decode(&msg, &packet2);
52 memset(&packet2, 0,
sizeof(packet2));
54 mavlink_msg_flexifunction_set_decode(&msg, &packet2);
57 memset(&packet2, 0,
sizeof(packet2));
59 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
62 mavlink_msg_flexifunction_set_decode(last_msg, &packet2);
65 memset(&packet2, 0,
sizeof(packet2));
67 mavlink_msg_flexifunction_set_decode(last_msg, &packet2);
71 static void mavlink_test_flexifunction_read_req(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
73 mavlink_message_t msg;
80 memset(&packet1, 0,
sizeof(packet1));
88 memset(&packet2, 0,
sizeof(packet2));
89 mavlink_msg_flexifunction_read_req_encode(system_id, component_id, &msg, &packet1);
90 mavlink_msg_flexifunction_read_req_decode(&msg, &packet2);
93 memset(&packet2, 0,
sizeof(packet2));
95 mavlink_msg_flexifunction_read_req_decode(&msg, &packet2);
98 memset(&packet2, 0,
sizeof(packet2));
100 mavlink_msg_flexifunction_read_req_decode(&msg, &packet2);
103 memset(&packet2, 0,
sizeof(packet2));
105 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
108 mavlink_msg_flexifunction_read_req_decode(last_msg, &packet2);
111 memset(&packet2, 0,
sizeof(packet2));
113 mavlink_msg_flexifunction_read_req_decode(last_msg, &packet2);
117 static void mavlink_test_flexifunction_buffer_function(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
119 mavlink_message_t msg;
123 17235,17339,17443,17547,29,96,{ 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210 }
126 memset(&packet1, 0,
sizeof(packet1));
134 mav_array_memcpy(packet1.
data, packet_in.
data,
sizeof(int8_t)*48);
137 memset(&packet2, 0,
sizeof(packet2));
138 mavlink_msg_flexifunction_buffer_function_encode(system_id, component_id, &msg, &packet1);
139 mavlink_msg_flexifunction_buffer_function_decode(&msg, &packet2);
142 memset(&packet2, 0,
sizeof(packet2));
144 mavlink_msg_flexifunction_buffer_function_decode(&msg, &packet2);
147 memset(&packet2, 0,
sizeof(packet2));
148 mavlink_msg_flexifunction_buffer_function_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
target_system , packet1.
target_component , packet1.
func_index , packet1.
func_count , packet1.
data_address , packet1.
data_size , packet1.
data );
149 mavlink_msg_flexifunction_buffer_function_decode(&msg, &packet2);
152 memset(&packet2, 0,
sizeof(packet2));
154 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
157 mavlink_msg_flexifunction_buffer_function_decode(last_msg, &packet2);
160 memset(&packet2, 0,
sizeof(packet2));
162 mavlink_msg_flexifunction_buffer_function_decode(last_msg, &packet2);
166 static void mavlink_test_flexifunction_buffer_function_ack(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
168 mavlink_message_t msg;
175 memset(&packet1, 0,
sizeof(packet1));
183 memset(&packet2, 0,
sizeof(packet2));
184 mavlink_msg_flexifunction_buffer_function_ack_encode(system_id, component_id, &msg, &packet1);
185 mavlink_msg_flexifunction_buffer_function_ack_decode(&msg, &packet2);
188 memset(&packet2, 0,
sizeof(packet2));
190 mavlink_msg_flexifunction_buffer_function_ack_decode(&msg, &packet2);
193 memset(&packet2, 0,
sizeof(packet2));
195 mavlink_msg_flexifunction_buffer_function_ack_decode(&msg, &packet2);
198 memset(&packet2, 0,
sizeof(packet2));
200 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
203 mavlink_msg_flexifunction_buffer_function_ack_decode(last_msg, &packet2);
206 memset(&packet2, 0,
sizeof(packet2));
208 mavlink_msg_flexifunction_buffer_function_ack_decode(last_msg, &packet2);
212 static void mavlink_test_flexifunction_directory(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
214 mavlink_message_t msg;
218 5,72,139,206,17,{ 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131 }
221 memset(&packet1, 0,
sizeof(packet1));
231 memset(&packet2, 0,
sizeof(packet2));
232 mavlink_msg_flexifunction_directory_encode(system_id, component_id, &msg, &packet1);
233 mavlink_msg_flexifunction_directory_decode(&msg, &packet2);
236 memset(&packet2, 0,
sizeof(packet2));
238 mavlink_msg_flexifunction_directory_decode(&msg, &packet2);
241 memset(&packet2, 0,
sizeof(packet2));
243 mavlink_msg_flexifunction_directory_decode(&msg, &packet2);
246 memset(&packet2, 0,
sizeof(packet2));
248 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
251 mavlink_msg_flexifunction_directory_decode(last_msg, &packet2);
254 memset(&packet2, 0,
sizeof(packet2));
256 mavlink_msg_flexifunction_directory_decode(last_msg, &packet2);
260 static void mavlink_test_flexifunction_directory_ack(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
262 mavlink_message_t msg;
266 17235,139,206,17,84,151
269 memset(&packet1, 0,
sizeof(packet1));
279 memset(&packet2, 0,
sizeof(packet2));
280 mavlink_msg_flexifunction_directory_ack_encode(system_id, component_id, &msg, &packet1);
281 mavlink_msg_flexifunction_directory_ack_decode(&msg, &packet2);
284 memset(&packet2, 0,
sizeof(packet2));
286 mavlink_msg_flexifunction_directory_ack_decode(&msg, &packet2);
289 memset(&packet2, 0,
sizeof(packet2));
291 mavlink_msg_flexifunction_directory_ack_decode(&msg, &packet2);
294 memset(&packet2, 0,
sizeof(packet2));
296 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
299 mavlink_msg_flexifunction_directory_ack_decode(last_msg, &packet2);
302 memset(&packet2, 0,
sizeof(packet2));
304 mavlink_msg_flexifunction_directory_ack_decode(last_msg, &packet2);
308 static void mavlink_test_flexifunction_command(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
310 mavlink_message_t msg;
317 memset(&packet1, 0,
sizeof(packet1));
324 memset(&packet2, 0,
sizeof(packet2));
325 mavlink_msg_flexifunction_command_encode(system_id, component_id, &msg, &packet1);
326 mavlink_msg_flexifunction_command_decode(&msg, &packet2);
329 memset(&packet2, 0,
sizeof(packet2));
331 mavlink_msg_flexifunction_command_decode(&msg, &packet2);
334 memset(&packet2, 0,
sizeof(packet2));
336 mavlink_msg_flexifunction_command_decode(&msg, &packet2);
339 memset(&packet2, 0,
sizeof(packet2));
341 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
344 mavlink_msg_flexifunction_command_decode(last_msg, &packet2);
347 memset(&packet2, 0,
sizeof(packet2));
349 mavlink_msg_flexifunction_command_decode(last_msg, &packet2);
353 static void mavlink_test_flexifunction_command_ack(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
355 mavlink_message_t msg;
362 memset(&packet1, 0,
sizeof(packet1));
368 memset(&packet2, 0,
sizeof(packet2));
369 mavlink_msg_flexifunction_command_ack_encode(system_id, component_id, &msg, &packet1);
370 mavlink_msg_flexifunction_command_ack_decode(&msg, &packet2);
373 memset(&packet2, 0,
sizeof(packet2));
374 mavlink_msg_flexifunction_command_ack_pack(system_id, component_id, &msg , packet1.
command_type , packet1.
result );
375 mavlink_msg_flexifunction_command_ack_decode(&msg, &packet2);
378 memset(&packet2, 0,
sizeof(packet2));
380 mavlink_msg_flexifunction_command_ack_decode(&msg, &packet2);
383 memset(&packet2, 0,
sizeof(packet2));
385 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
388 mavlink_msg_flexifunction_command_ack_decode(last_msg, &packet2);
391 memset(&packet2, 0,
sizeof(packet2));
393 mavlink_msg_flexifunction_command_ack_decode(last_msg, &packet2);
397 static void mavlink_test_serial_udb_extra_f2_a(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
399 mavlink_message_t msg;
403 963497464,963497672,963497880,963498088,18067,18171,18275,18379,18483,18587,18691,18795,18899,19003,19107,19211,19315,19419,19523,19627,19731,19835,19939,20043,20147,20251,20355,63
406 memset(&packet1, 0,
sizeof(packet1));
438 memset(&packet2, 0,
sizeof(packet2));
439 mavlink_msg_serial_udb_extra_f2_a_encode(system_id, component_id, &msg, &packet1);
440 mavlink_msg_serial_udb_extra_f2_a_decode(&msg, &packet2);
443 memset(&packet2, 0,
sizeof(packet2));
444 mavlink_msg_serial_udb_extra_f2_a_pack(system_id, component_id, &msg , packet1.
sue_time , packet1.
sue_status , packet1.
sue_latitude , packet1.
sue_longitude , packet1.
sue_altitude , packet1.
sue_waypoint_index , packet1.
sue_rmat0 , packet1.
sue_rmat1 , packet1.
sue_rmat2 , packet1.
sue_rmat3 , packet1.
sue_rmat4 , packet1.
sue_rmat5 , packet1.
sue_rmat6 , packet1.
sue_rmat7 , packet1.
sue_rmat8 , packet1.
sue_cog , packet1.
sue_sog , packet1.
sue_cpu_load , packet1.
sue_voltage_milis , packet1.
sue_air_speed_3DIMU , packet1.
sue_estimated_wind_0 , packet1.
sue_estimated_wind_1 , packet1.
sue_estimated_wind_2 , packet1.
sue_magFieldEarth0 , packet1.
sue_magFieldEarth1 , packet1.
sue_magFieldEarth2 , packet1.
sue_svs , packet1.
sue_hdop );
445 mavlink_msg_serial_udb_extra_f2_a_decode(&msg, &packet2);
448 memset(&packet2, 0,
sizeof(packet2));
449 mavlink_msg_serial_udb_extra_f2_a_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
sue_time , packet1.
sue_status , packet1.
sue_latitude , packet1.
sue_longitude , packet1.
sue_altitude , packet1.
sue_waypoint_index , packet1.
sue_rmat0 , packet1.
sue_rmat1 , packet1.
sue_rmat2 , packet1.
sue_rmat3 , packet1.
sue_rmat4 , packet1.
sue_rmat5 , packet1.
sue_rmat6 , packet1.
sue_rmat7 , packet1.
sue_rmat8 , packet1.
sue_cog , packet1.
sue_sog , packet1.
sue_cpu_load , packet1.
sue_voltage_milis , packet1.
sue_air_speed_3DIMU , packet1.
sue_estimated_wind_0 , packet1.
sue_estimated_wind_1 , packet1.
sue_estimated_wind_2 , packet1.
sue_magFieldEarth0 , packet1.
sue_magFieldEarth1 , packet1.
sue_magFieldEarth2 , packet1.
sue_svs , packet1.
sue_hdop );
450 mavlink_msg_serial_udb_extra_f2_a_decode(&msg, &packet2);
453 memset(&packet2, 0,
sizeof(packet2));
455 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
458 mavlink_msg_serial_udb_extra_f2_a_decode(last_msg, &packet2);
461 memset(&packet2, 0,
sizeof(packet2));
462 mavlink_msg_serial_udb_extra_f2_a_send(
MAVLINK_COMM_1 , packet1.
sue_time , packet1.
sue_status , packet1.
sue_latitude , packet1.
sue_longitude , packet1.
sue_altitude , packet1.
sue_waypoint_index , packet1.
sue_rmat0 , packet1.
sue_rmat1 , packet1.
sue_rmat2 , packet1.
sue_rmat3 , packet1.
sue_rmat4 , packet1.
sue_rmat5 , packet1.
sue_rmat6 , packet1.
sue_rmat7 , packet1.
sue_rmat8 , packet1.
sue_cog , packet1.
sue_sog , packet1.
sue_cpu_load , packet1.
sue_voltage_milis , packet1.
sue_air_speed_3DIMU , packet1.
sue_estimated_wind_0 , packet1.
sue_estimated_wind_1 , packet1.
sue_estimated_wind_2 , packet1.
sue_magFieldEarth0 , packet1.
sue_magFieldEarth1 , packet1.
sue_magFieldEarth2 , packet1.
sue_svs , packet1.
sue_hdop );
463 mavlink_msg_serial_udb_extra_f2_a_decode(last_msg, &packet2);
467 static void mavlink_test_serial_udb_extra_f2_b(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
469 mavlink_message_t msg;
473 963497464,963497672,17651,17755,17859,17963,18067,18171,18275,18379,18483,18587,18691,18795,18899,19003,19107,19211,19315,19419,19523,19627,19731,19835,19939,20043,20147,20251,20355,20459,20563,20667,20771
476 memset(&packet1, 0,
sizeof(packet1));
513 memset(&packet2, 0,
sizeof(packet2));
514 mavlink_msg_serial_udb_extra_f2_b_encode(system_id, component_id, &msg, &packet1);
515 mavlink_msg_serial_udb_extra_f2_b_decode(&msg, &packet2);
518 memset(&packet2, 0,
sizeof(packet2));
519 mavlink_msg_serial_udb_extra_f2_b_pack(system_id, component_id, &msg , packet1.
sue_time , packet1.
sue_pwm_input_1 , packet1.
sue_pwm_input_2 , packet1.
sue_pwm_input_3 , packet1.
sue_pwm_input_4 , packet1.
sue_pwm_input_5 , packet1.
sue_pwm_input_6 , packet1.
sue_pwm_input_7 , packet1.
sue_pwm_input_8 , packet1.
sue_pwm_input_9 , packet1.
sue_pwm_input_10 , packet1.
sue_pwm_output_1 , packet1.
sue_pwm_output_2 , packet1.
sue_pwm_output_3 , packet1.
sue_pwm_output_4 , packet1.
sue_pwm_output_5 , packet1.
sue_pwm_output_6 , packet1.
sue_pwm_output_7 , packet1.
sue_pwm_output_8 , packet1.
sue_pwm_output_9 , packet1.
sue_pwm_output_10 , packet1.
sue_imu_location_x , packet1.
sue_imu_location_y , packet1.
sue_imu_location_z , packet1.
sue_flags , packet1.
sue_osc_fails , packet1.
sue_imu_velocity_x , packet1.
sue_imu_velocity_y , packet1.
sue_imu_velocity_z , packet1.
sue_waypoint_goal_x , packet1.
sue_waypoint_goal_y , packet1.
sue_waypoint_goal_z , packet1.
sue_memory_stack_free );
520 mavlink_msg_serial_udb_extra_f2_b_decode(&msg, &packet2);
523 memset(&packet2, 0,
sizeof(packet2));
524 mavlink_msg_serial_udb_extra_f2_b_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
sue_time , packet1.
sue_pwm_input_1 , packet1.
sue_pwm_input_2 , packet1.
sue_pwm_input_3 , packet1.
sue_pwm_input_4 , packet1.
sue_pwm_input_5 , packet1.
sue_pwm_input_6 , packet1.
sue_pwm_input_7 , packet1.
sue_pwm_input_8 , packet1.
sue_pwm_input_9 , packet1.
sue_pwm_input_10 , packet1.
sue_pwm_output_1 , packet1.
sue_pwm_output_2 , packet1.
sue_pwm_output_3 , packet1.
sue_pwm_output_4 , packet1.
sue_pwm_output_5 , packet1.
sue_pwm_output_6 , packet1.
sue_pwm_output_7 , packet1.
sue_pwm_output_8 , packet1.
sue_pwm_output_9 , packet1.
sue_pwm_output_10 , packet1.
sue_imu_location_x , packet1.
sue_imu_location_y , packet1.
sue_imu_location_z , packet1.
sue_flags , packet1.
sue_osc_fails , packet1.
sue_imu_velocity_x , packet1.
sue_imu_velocity_y , packet1.
sue_imu_velocity_z , packet1.
sue_waypoint_goal_x , packet1.
sue_waypoint_goal_y , packet1.
sue_waypoint_goal_z , packet1.
sue_memory_stack_free );
525 mavlink_msg_serial_udb_extra_f2_b_decode(&msg, &packet2);
528 memset(&packet2, 0,
sizeof(packet2));
530 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
533 mavlink_msg_serial_udb_extra_f2_b_decode(last_msg, &packet2);
536 memset(&packet2, 0,
sizeof(packet2));
537 mavlink_msg_serial_udb_extra_f2_b_send(
MAVLINK_COMM_1 , packet1.
sue_time , packet1.
sue_pwm_input_1 , packet1.
sue_pwm_input_2 , packet1.
sue_pwm_input_3 , packet1.
sue_pwm_input_4 , packet1.
sue_pwm_input_5 , packet1.
sue_pwm_input_6 , packet1.
sue_pwm_input_7 , packet1.
sue_pwm_input_8 , packet1.
sue_pwm_input_9 , packet1.
sue_pwm_input_10 , packet1.
sue_pwm_output_1 , packet1.
sue_pwm_output_2 , packet1.
sue_pwm_output_3 , packet1.
sue_pwm_output_4 , packet1.
sue_pwm_output_5 , packet1.
sue_pwm_output_6 , packet1.
sue_pwm_output_7 , packet1.
sue_pwm_output_8 , packet1.
sue_pwm_output_9 , packet1.
sue_pwm_output_10 , packet1.
sue_imu_location_x , packet1.
sue_imu_location_y , packet1.
sue_imu_location_z , packet1.
sue_flags , packet1.
sue_osc_fails , packet1.
sue_imu_velocity_x , packet1.
sue_imu_velocity_y , packet1.
sue_imu_velocity_z , packet1.
sue_waypoint_goal_x , packet1.
sue_waypoint_goal_y , packet1.
sue_waypoint_goal_z , packet1.
sue_memory_stack_free );
538 mavlink_msg_serial_udb_extra_f2_b_decode(last_msg, &packet2);
542 static void mavlink_test_serial_udb_extra_f4(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
544 mavlink_message_t msg;
548 5,72,139,206,17,84,151,218,29,96
551 memset(&packet1, 0,
sizeof(packet1));
565 memset(&packet2, 0,
sizeof(packet2));
566 mavlink_msg_serial_udb_extra_f4_encode(system_id, component_id, &msg, &packet1);
567 mavlink_msg_serial_udb_extra_f4_decode(&msg, &packet2);
570 memset(&packet2, 0,
sizeof(packet2));
571 mavlink_msg_serial_udb_extra_f4_pack(system_id, component_id, &msg , packet1.
sue_ROLL_STABILIZATION_AILERONS , packet1.
sue_ROLL_STABILIZATION_RUDDER , packet1.
sue_PITCH_STABILIZATION , packet1.
sue_YAW_STABILIZATION_RUDDER , packet1.
sue_YAW_STABILIZATION_AILERON , packet1.
sue_AILERON_NAVIGATION , packet1.
sue_RUDDER_NAVIGATION , packet1.
sue_ALTITUDEHOLD_STABILIZED , packet1.
sue_ALTITUDEHOLD_WAYPOINT , packet1.
sue_RACING_MODE );
572 mavlink_msg_serial_udb_extra_f4_decode(&msg, &packet2);
575 memset(&packet2, 0,
sizeof(packet2));
576 mavlink_msg_serial_udb_extra_f4_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
sue_ROLL_STABILIZATION_AILERONS , packet1.
sue_ROLL_STABILIZATION_RUDDER , packet1.
sue_PITCH_STABILIZATION , packet1.
sue_YAW_STABILIZATION_RUDDER , packet1.
sue_YAW_STABILIZATION_AILERON , packet1.
sue_AILERON_NAVIGATION , packet1.
sue_RUDDER_NAVIGATION , packet1.
sue_ALTITUDEHOLD_STABILIZED , packet1.
sue_ALTITUDEHOLD_WAYPOINT , packet1.
sue_RACING_MODE );
577 mavlink_msg_serial_udb_extra_f4_decode(&msg, &packet2);
580 memset(&packet2, 0,
sizeof(packet2));
582 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
585 mavlink_msg_serial_udb_extra_f4_decode(last_msg, &packet2);
588 memset(&packet2, 0,
sizeof(packet2));
589 mavlink_msg_serial_udb_extra_f4_send(
MAVLINK_COMM_1 , packet1.
sue_ROLL_STABILIZATION_AILERONS , packet1.
sue_ROLL_STABILIZATION_RUDDER , packet1.
sue_PITCH_STABILIZATION , packet1.
sue_YAW_STABILIZATION_RUDDER , packet1.
sue_YAW_STABILIZATION_AILERON , packet1.
sue_AILERON_NAVIGATION , packet1.
sue_RUDDER_NAVIGATION , packet1.
sue_ALTITUDEHOLD_STABILIZED , packet1.
sue_ALTITUDEHOLD_WAYPOINT , packet1.
sue_RACING_MODE );
590 mavlink_msg_serial_udb_extra_f4_decode(last_msg, &packet2);
594 static void mavlink_test_serial_udb_extra_f5(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
596 mavlink_message_t msg;
600 17.0,45.0,73.0,101.0,129.0,157.0
603 memset(&packet1, 0,
sizeof(packet1));
613 memset(&packet2, 0,
sizeof(packet2));
614 mavlink_msg_serial_udb_extra_f5_encode(system_id, component_id, &msg, &packet1);
615 mavlink_msg_serial_udb_extra_f5_decode(&msg, &packet2);
618 memset(&packet2, 0,
sizeof(packet2));
620 mavlink_msg_serial_udb_extra_f5_decode(&msg, &packet2);
623 memset(&packet2, 0,
sizeof(packet2));
625 mavlink_msg_serial_udb_extra_f5_decode(&msg, &packet2);
628 memset(&packet2, 0,
sizeof(packet2));
630 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
633 mavlink_msg_serial_udb_extra_f5_decode(last_msg, &packet2);
636 memset(&packet2, 0,
sizeof(packet2));
638 mavlink_msg_serial_udb_extra_f5_decode(last_msg, &packet2);
642 static void mavlink_test_serial_udb_extra_f6(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
644 mavlink_message_t msg;
648 17.0,45.0,73.0,101.0,129.0
651 memset(&packet1, 0,
sizeof(packet1));
660 memset(&packet2, 0,
sizeof(packet2));
661 mavlink_msg_serial_udb_extra_f6_encode(system_id, component_id, &msg, &packet1);
662 mavlink_msg_serial_udb_extra_f6_decode(&msg, &packet2);
665 memset(&packet2, 0,
sizeof(packet2));
667 mavlink_msg_serial_udb_extra_f6_decode(&msg, &packet2);
670 memset(&packet2, 0,
sizeof(packet2));
672 mavlink_msg_serial_udb_extra_f6_decode(&msg, &packet2);
675 memset(&packet2, 0,
sizeof(packet2));
677 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
680 mavlink_msg_serial_udb_extra_f6_decode(last_msg, &packet2);
683 memset(&packet2, 0,
sizeof(packet2));
685 mavlink_msg_serial_udb_extra_f6_decode(last_msg, &packet2);
689 static void mavlink_test_serial_udb_extra_f7(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
691 mavlink_message_t msg;
695 17.0,45.0,73.0,101.0,129.0,157.0
698 memset(&packet1, 0,
sizeof(packet1));
708 memset(&packet2, 0,
sizeof(packet2));
709 mavlink_msg_serial_udb_extra_f7_encode(system_id, component_id, &msg, &packet1);
710 mavlink_msg_serial_udb_extra_f7_decode(&msg, &packet2);
713 memset(&packet2, 0,
sizeof(packet2));
715 mavlink_msg_serial_udb_extra_f7_decode(&msg, &packet2);
718 memset(&packet2, 0,
sizeof(packet2));
720 mavlink_msg_serial_udb_extra_f7_decode(&msg, &packet2);
723 memset(&packet2, 0,
sizeof(packet2));
725 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
728 mavlink_msg_serial_udb_extra_f7_decode(last_msg, &packet2);
731 memset(&packet2, 0,
sizeof(packet2));
733 mavlink_msg_serial_udb_extra_f7_decode(last_msg, &packet2);
737 static void mavlink_test_serial_udb_extra_f8(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
739 mavlink_message_t msg;
743 17.0,45.0,73.0,101.0,129.0,157.0,185.0
746 memset(&packet1, 0,
sizeof(packet1));
757 memset(&packet2, 0,
sizeof(packet2));
758 mavlink_msg_serial_udb_extra_f8_encode(system_id, component_id, &msg, &packet1);
759 mavlink_msg_serial_udb_extra_f8_decode(&msg, &packet2);
762 memset(&packet2, 0,
sizeof(packet2));
764 mavlink_msg_serial_udb_extra_f8_decode(&msg, &packet2);
767 memset(&packet2, 0,
sizeof(packet2));
768 mavlink_msg_serial_udb_extra_f8_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
sue_HEIGHT_TARGET_MAX , packet1.
sue_HEIGHT_TARGET_MIN , packet1.
sue_ALT_HOLD_THROTTLE_MIN , packet1.
sue_ALT_HOLD_THROTTLE_MAX , packet1.
sue_ALT_HOLD_PITCH_MIN , packet1.
sue_ALT_HOLD_PITCH_MAX , packet1.
sue_ALT_HOLD_PITCH_HIGH );
769 mavlink_msg_serial_udb_extra_f8_decode(&msg, &packet2);
772 memset(&packet2, 0,
sizeof(packet2));
774 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
777 mavlink_msg_serial_udb_extra_f8_decode(last_msg, &packet2);
780 memset(&packet2, 0,
sizeof(packet2));
782 mavlink_msg_serial_udb_extra_f8_decode(last_msg, &packet2);
786 static void mavlink_test_serial_udb_extra_f13(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
788 mavlink_message_t msg;
792 963497464,963497672,963497880,17859
795 memset(&packet1, 0,
sizeof(packet1));
803 memset(&packet2, 0,
sizeof(packet2));
804 mavlink_msg_serial_udb_extra_f13_encode(system_id, component_id, &msg, &packet1);
805 mavlink_msg_serial_udb_extra_f13_decode(&msg, &packet2);
808 memset(&packet2, 0,
sizeof(packet2));
810 mavlink_msg_serial_udb_extra_f13_decode(&msg, &packet2);
813 memset(&packet2, 0,
sizeof(packet2));
815 mavlink_msg_serial_udb_extra_f13_decode(&msg, &packet2);
818 memset(&packet2, 0,
sizeof(packet2));
820 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
823 mavlink_msg_serial_udb_extra_f13_decode(last_msg, &packet2);
826 memset(&packet2, 0,
sizeof(packet2));
828 mavlink_msg_serial_udb_extra_f13_decode(last_msg, &packet2);
832 static void mavlink_test_serial_udb_extra_f14(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
834 mavlink_message_t msg;
838 963497464,17443,17547,17651,163,230,41,108,175,242,53
841 memset(&packet1, 0,
sizeof(packet1));
856 memset(&packet2, 0,
sizeof(packet2));
857 mavlink_msg_serial_udb_extra_f14_encode(system_id, component_id, &msg, &packet1);
858 mavlink_msg_serial_udb_extra_f14_decode(&msg, &packet2);
861 memset(&packet2, 0,
sizeof(packet2));
862 mavlink_msg_serial_udb_extra_f14_pack(system_id, component_id, &msg , packet1.
sue_WIND_ESTIMATION , packet1.
sue_GPS_TYPE , packet1.
sue_DR , packet1.
sue_BOARD_TYPE , packet1.
sue_AIRFRAME , packet1.
sue_RCON , packet1.
sue_TRAP_FLAGS , packet1.
sue_TRAP_SOURCE , packet1.
sue_osc_fail_count , packet1.
sue_CLOCK_CONFIG , packet1.
sue_FLIGHT_PLAN_TYPE );
863 mavlink_msg_serial_udb_extra_f14_decode(&msg, &packet2);
866 memset(&packet2, 0,
sizeof(packet2));
867 mavlink_msg_serial_udb_extra_f14_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
sue_WIND_ESTIMATION , packet1.
sue_GPS_TYPE , packet1.
sue_DR , packet1.
sue_BOARD_TYPE , packet1.
sue_AIRFRAME , packet1.
sue_RCON , packet1.
sue_TRAP_FLAGS , packet1.
sue_TRAP_SOURCE , packet1.
sue_osc_fail_count , packet1.
sue_CLOCK_CONFIG , packet1.
sue_FLIGHT_PLAN_TYPE );
868 mavlink_msg_serial_udb_extra_f14_decode(&msg, &packet2);
871 memset(&packet2, 0,
sizeof(packet2));
873 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
876 mavlink_msg_serial_udb_extra_f14_decode(last_msg, &packet2);
879 memset(&packet2, 0,
sizeof(packet2));
880 mavlink_msg_serial_udb_extra_f14_send(
MAVLINK_COMM_1 , packet1.
sue_WIND_ESTIMATION , packet1.
sue_GPS_TYPE , packet1.
sue_DR , packet1.
sue_BOARD_TYPE , packet1.
sue_AIRFRAME , packet1.
sue_RCON , packet1.
sue_TRAP_FLAGS , packet1.
sue_TRAP_SOURCE , packet1.
sue_osc_fail_count , packet1.
sue_CLOCK_CONFIG , packet1.
sue_FLIGHT_PLAN_TYPE );
881 mavlink_msg_serial_udb_extra_f14_decode(last_msg, &packet2);
885 static void mavlink_test_serial_udb_extra_f15(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
887 mavlink_message_t msg;
891 { 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44 },{ 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144 }
894 memset(&packet1, 0,
sizeof(packet1));
900 memset(&packet2, 0,
sizeof(packet2));
901 mavlink_msg_serial_udb_extra_f15_encode(system_id, component_id, &msg, &packet1);
902 mavlink_msg_serial_udb_extra_f15_decode(&msg, &packet2);
905 memset(&packet2, 0,
sizeof(packet2));
907 mavlink_msg_serial_udb_extra_f15_decode(&msg, &packet2);
910 memset(&packet2, 0,
sizeof(packet2));
912 mavlink_msg_serial_udb_extra_f15_decode(&msg, &packet2);
915 memset(&packet2, 0,
sizeof(packet2));
917 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
920 mavlink_msg_serial_udb_extra_f15_decode(last_msg, &packet2);
923 memset(&packet2, 0,
sizeof(packet2));
925 mavlink_msg_serial_udb_extra_f15_decode(last_msg, &packet2);
929 static void mavlink_test_serial_udb_extra_f16(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
931 mavlink_message_t msg;
935 { 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44 },{ 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194 }
938 memset(&packet1, 0,
sizeof(packet1));
944 memset(&packet2, 0,
sizeof(packet2));
945 mavlink_msg_serial_udb_extra_f16_encode(system_id, component_id, &msg, &packet1);
946 mavlink_msg_serial_udb_extra_f16_decode(&msg, &packet2);
949 memset(&packet2, 0,
sizeof(packet2));
951 mavlink_msg_serial_udb_extra_f16_decode(&msg, &packet2);
954 memset(&packet2, 0,
sizeof(packet2));
956 mavlink_msg_serial_udb_extra_f16_decode(&msg, &packet2);
959 memset(&packet2, 0,
sizeof(packet2));
961 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
964 mavlink_msg_serial_udb_extra_f16_decode(last_msg, &packet2);
967 memset(&packet2, 0,
sizeof(packet2));
969 mavlink_msg_serial_udb_extra_f16_decode(last_msg, &packet2);
973 static void mavlink_test_altitudes(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
975 mavlink_message_t msg;
979 963497464,963497672,963497880,963498088,963498296,963498504,963498712
982 memset(&packet1, 0,
sizeof(packet1));
993 memset(&packet2, 0,
sizeof(packet2));
994 mavlink_msg_altitudes_encode(system_id, component_id, &msg, &packet1);
995 mavlink_msg_altitudes_decode(&msg, &packet2);
998 memset(&packet2, 0,
sizeof(packet2));
1000 mavlink_msg_altitudes_decode(&msg, &packet2);
1001 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1003 memset(&packet2, 0,
sizeof(packet2));
1004 mavlink_msg_altitudes_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
time_boot_ms , packet1.
alt_gps , packet1.
alt_imu , packet1.
alt_barometric , packet1.
alt_optical_flow , packet1.
alt_range_finder , packet1.
alt_extra );
1005 mavlink_msg_altitudes_decode(&msg, &packet2);
1006 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1008 memset(&packet2, 0,
sizeof(packet2));
1010 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
1013 mavlink_msg_altitudes_decode(last_msg, &packet2);
1014 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1016 memset(&packet2, 0,
sizeof(packet2));
1018 mavlink_msg_altitudes_decode(last_msg, &packet2);
1019 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1022 static void mavlink_test_airspeeds(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
1024 mavlink_message_t msg;
1028 963497464,17443,17547,17651,17755,17859,17963
1031 memset(&packet1, 0,
sizeof(packet1));
1037 packet1.
aoa = packet_in.
aoa;
1038 packet1.
aoy = packet_in.
aoy;
1042 memset(&packet2, 0,
sizeof(packet2));
1043 mavlink_msg_airspeeds_encode(system_id, component_id, &msg, &packet1);
1044 mavlink_msg_airspeeds_decode(&msg, &packet2);
1045 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1047 memset(&packet2, 0,
sizeof(packet2));
1049 mavlink_msg_airspeeds_decode(&msg, &packet2);
1050 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1052 memset(&packet2, 0,
sizeof(packet2));
1053 mavlink_msg_airspeeds_pack_chan(system_id, component_id,
MAVLINK_COMM_0, &msg , packet1.
time_boot_ms , packet1.
airspeed_imu , packet1.
airspeed_pitot , packet1.
airspeed_hot_wire , packet1.
airspeed_ultrasonic , packet1.
aoa , packet1.
aoy );
1054 mavlink_msg_airspeeds_decode(&msg, &packet2);
1055 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1057 memset(&packet2, 0,
sizeof(packet2));
1059 for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
1062 mavlink_msg_airspeeds_decode(last_msg, &packet2);
1063 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1065 memset(&packet2, 0,
sizeof(packet2));
1067 mavlink_msg_airspeeds_decode(last_msg, &packet2);
1068 MAVLINK_ASSERT(memcmp(&packet1, &packet2,
sizeof(packet1)) == 0);
1071 static void mavlink_test_matrixpilot(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
1073 mavlink_test_flexifunction_set(system_id, component_id, last_msg);
1074 mavlink_test_flexifunction_read_req(system_id, component_id, last_msg);
1075 mavlink_test_flexifunction_buffer_function(system_id, component_id, last_msg);
1076 mavlink_test_flexifunction_buffer_function_ack(system_id, component_id, last_msg);
1077 mavlink_test_flexifunction_directory(system_id, component_id, last_msg);
1078 mavlink_test_flexifunction_directory_ack(system_id, component_id, last_msg);
1079 mavlink_test_flexifunction_command(system_id, component_id, last_msg);
1080 mavlink_test_flexifunction_command_ack(system_id, component_id, last_msg);
1081 mavlink_test_serial_udb_extra_f2_a(system_id, component_id, last_msg);
1082 mavlink_test_serial_udb_extra_f2_b(system_id, component_id, last_msg);
1083 mavlink_test_serial_udb_extra_f4(system_id, component_id, last_msg);
1084 mavlink_test_serial_udb_extra_f5(system_id, component_id, last_msg);
1085 mavlink_test_serial_udb_extra_f6(system_id, component_id, last_msg);
1086 mavlink_test_serial_udb_extra_f7(system_id, component_id, last_msg);
1087 mavlink_test_serial_udb_extra_f8(system_id, component_id, last_msg);
1088 mavlink_test_serial_udb_extra_f13(system_id, component_id, last_msg);
1089 mavlink_test_serial_udb_extra_f14(system_id, component_id, last_msg);
1090 mavlink_test_serial_udb_extra_f15(system_id, component_id, last_msg);
1091 mavlink_test_serial_udb_extra_f16(system_id, component_id, last_msg);
1092 mavlink_test_altitudes(system_id, component_id, last_msg);
1093 mavlink_test_airspeeds(system_id, component_id, last_msg);
1098 #endif // __cplusplus
1099 #endif // MATRIXPILOT_TESTSUITE_H
Definition: mavlink_types.h:180
uint8_t target_component
Component ID.
Definition: mavlink_msg_flexifunction_directory.h:8
uint16_t result
result of acknowledge
Definition: mavlink_msg_flexifunction_command_ack.h:8
Definition: mavlink_types.h:179
Definition: mavlink_msg_flexifunction_buffer_function_ack.h:5
uint8_t start_index
index of first directory entry to write
Definition: mavlink_msg_flexifunction_directory.h:10
uint8_t start_index
index of first directory entry to write
Definition: mavlink_msg_flexifunction_directory_ack.h:11
Definition: mavlink_msg_flexifunction_directory.h:5
uint16_t result
result of acknowledge, 0=fail, 1=good
Definition: mavlink_msg_flexifunction_buffer_function_ack.h:8
Definition: mavlink_msg_flexifunction_buffer_function.h:5
uint8_t target_component
Component ID.
Definition: mavlink_msg_flexifunction_command.h:8
uint16_t data_size
Size of the.
Definition: mavlink_msg_flexifunction_buffer_function.h:10
int16_t airspeed_ultrasonic
Ultrasonic measured airspeed, cm/s.
Definition: mavlink_msg_airspeeds.h:11
int32_t alt_optical_flow
Optical flow altitude above ground in meters, expressed as * 1000 (millimeters)
Definition: mavlink_msg_altitudes.h:11
uint8_t target_component
Component ID.
Definition: mavlink_msg_flexifunction_directory_ack.h:9
int32_t alt_range_finder
Rangefinder Altitude above ground in meters, expressed as * 1000 (millimeters)
Definition: mavlink_msg_altitudes.h:12
int16_t read_req_type
Type of flexifunction data requested.
Definition: mavlink_msg_flexifunction_read_req.h:7
uint8_t target_system
System ID.
Definition: mavlink_msg_flexifunction_buffer_function.h:11
Definition: mavlink_msg_altitudes.h:5
int32_t alt_barometric
barometeric altitude above ground in meters, expressed as * 1000 (millimeters)
Definition: mavlink_msg_altitudes.h:10
Definition: mavlink_msg_flexifunction_read_req.h:5
int32_t alt_gps
GPS altitude in meters, expressed as * 1000 (millimeters), above MSL.
Definition: mavlink_msg_altitudes.h:8
int16_t airspeed_imu
Airspeed estimate from IMU, cm/s.
Definition: mavlink_msg_airspeeds.h:8
uint8_t target_component
Component ID.
Definition: mavlink_msg_flexifunction_read_req.h:10
int32_t alt_extra
Extra altitude above ground in meters, expressed as * 1000 (millimeters)
Definition: mavlink_msg_altitudes.h:13
int8_t directory_data[48]
Settings data.
Definition: mavlink_msg_flexifunction_directory.h:12
uint16_t func_index
Function index.
Definition: mavlink_msg_flexifunction_buffer_function.h:7
int16_t aoa
Angle of attack sensor, degrees * 10.
Definition: mavlink_msg_airspeeds.h:12
uint8_t directory_type
0=inputs, 1=outputs
Definition: mavlink_msg_flexifunction_directory_ack.h:10
#define MAVLINK_ASSERT(x)
Definition: protocol.h:26
uint8_t target_component
Component ID.
Definition: mavlink_msg_flexifunction_buffer_function.h:12
int32_t alt_imu
IMU altitude above ground in meters, expressed as * 1000 (millimeters)
Definition: mavlink_msg_altitudes.h:9
uint8_t target_system
System ID.
Definition: mavlink_msg_flexifunction_command.h:7
int16_t data_index
index into data where needed
Definition: mavlink_msg_flexifunction_read_req.h:8
Definition: mavlink_msg_flexifunction_command_ack.h:5
uint8_t target_system
System ID.
Definition: mavlink_msg_flexifunction_buffer_function_ack.h:9
#define MAVLINK_MAX_PACKET_LEN
Maximum packet length.
Definition: mavlink_types.h:33
uint8_t target_system
System ID.
Definition: mavlink_msg_flexifunction_directory_ack.h:8
Definition: mavlink_msg_flexifunction_set.h:5
uint8_t target_component
Component ID.
Definition: mavlink_msg_flexifunction_buffer_function_ack.h:10
uint16_t command_type
Command acknowledged.
Definition: mavlink_msg_flexifunction_command_ack.h:7
uint16_t result
result of acknowledge, 0=fail, 1=good
Definition: mavlink_msg_flexifunction_directory_ack.h:7
uint8_t target_system
System ID.
Definition: mavlink_msg_flexifunction_directory.h:7
Definition: mavlink_msg_flexifunction_directory_ack.h:5
Definition: mavlink_msg_flexifunction_command.h:5
int16_t airspeed_pitot
Pitot measured forward airpseed, cm/s.
Definition: mavlink_msg_airspeeds.h:9
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
uint8_t target_system
System ID.
Definition: mavlink_msg_flexifunction_read_req.h:9
Definition: mavlink_msg_airspeeds.h:5
int16_t airspeed_hot_wire
Hot wire anenometer measured airspeed, cm/s.
Definition: mavlink_msg_airspeeds.h:10
uint16_t func_count
Total count of functions.
Definition: mavlink_msg_flexifunction_buffer_function.h:8
int16_t aoy
Yaw angle sensor, degrees * 10.
Definition: mavlink_msg_airspeeds.h:13
uint16_t data_address
Address in the flexifunction data, Set to 0xFFFF to use address in target memory. ...
Definition: mavlink_msg_flexifunction_buffer_function.h:9
int8_t data[48]
Settings data.
Definition: mavlink_msg_flexifunction_buffer_function.h:13
uint8_t target_component
Component ID.
Definition: mavlink_msg_flexifunction_set.h:8
uint8_t command_type
Flexifunction command type.
Definition: mavlink_msg_flexifunction_command.h:9
uint8_t count
count of directory entries to write
Definition: mavlink_msg_flexifunction_directory.h:11
uint16_t func_index
Function index.
Definition: mavlink_msg_flexifunction_buffer_function_ack.h:7
uint8_t count
count of directory entries to write
Definition: mavlink_msg_flexifunction_directory_ack.h:12
uint32_t time_boot_ms
Timestamp (milliseconds since system boot)
Definition: mavlink_msg_airspeeds.h:7
uint32_t time_boot_ms
Timestamp (milliseconds since system boot)
Definition: mavlink_msg_altitudes.h:7
uint8_t directory_type
0=inputs, 1=outputs
Definition: mavlink_msg_flexifunction_directory.h:9
uint8_t target_system
System ID.
Definition: mavlink_msg_flexifunction_set.h:7