This commit is contained in:
matt
2020-09-20 14:09:03 +08:00
parent b2baf4bffc
commit 991dc1353a
96 changed files with 4166 additions and 4166 deletions
+29 -29
View File
@@ -108,14 +108,14 @@ static void mavlink_test_set_mag_offsets(uint16_t system_id, uint8_t component_i
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_set_mag_offsets_t packet_in = {
17235,17339,17443,151,218
17235,17339,17443,17547,29
};
mavlink_set_mag_offsets_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
packet1.target_system = packet_in.target_system;
packet1.mag_ofs_x = packet_in.mag_ofs_x;
packet1.mag_ofs_y = packet_in.mag_ofs_y;
packet1.mag_ofs_z = packet_in.mag_ofs_z;
packet1.target_system = packet_in.target_system;
packet1.target_component = packet_in.target_component;
@@ -281,13 +281,13 @@ static void mavlink_test_digicam_configure(uint16_t system_id, uint8_t component
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_digicam_configure_t packet_in = {
17.0,17443,151,218,29,96,163,230,41,108,175
17.0,17443,17547,29,96,163,230,41,108,175,242
};
mavlink_digicam_configure_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
packet1.extra_value = packet_in.extra_value;
packet1.shutter_speed = packet_in.shutter_speed;
packet1.target_system = packet_in.target_system;
packet1.shutter_speed = packet_in.shutter_speed;
packet1.target_component = packet_in.target_component;
packet1.mode = packet_in.mode;
packet1.aperture = packet_in.aperture;
@@ -345,7 +345,7 @@ static void mavlink_test_digicam_control(uint16_t system_id, uint8_t component_i
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_digicam_control_t packet_in = {
17.0,17,84,151,218,29,96,163,230,41
17.0,17443,151,218,29,96,163,230,41,108
};
mavlink_digicam_control_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -408,7 +408,7 @@ static void mavlink_test_mount_configure(uint16_t system_id, uint8_t component_i
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_mount_configure_t packet_in = {
5,72,139,206,17,84
17235,139,206,17,84,151
};
mavlink_mount_configure_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -467,7 +467,7 @@ static void mavlink_test_mount_control(uint16_t system_id, uint8_t component_id,
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_mount_control_t packet_in = {
963497464,963497672,963497880,41,108,175
963497464,963497672,963497880,17859,175,242
};
mavlink_mount_control_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -526,7 +526,7 @@ static void mavlink_test_mount_status(uint16_t system_id, uint8_t component_id,
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_mount_status_t packet_in = {
963497464,963497672,963497880,41,108
963497464,963497672,963497880,17859,175
};
mavlink_mount_status_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -584,7 +584,7 @@ static void mavlink_test_fence_point(uint16_t system_id, uint8_t component_id, m
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_fence_point_t packet_in = {
17.0,45.0,29,96,163,230
17.0,45.0,17651,163,230,41
};
mavlink_fence_point_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -643,7 +643,7 @@ static void mavlink_test_fence_fetch_point(uint16_t system_id, uint8_t component
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_fence_fetch_point_t packet_in = {
5,72,139
17235,139,206
};
mavlink_fence_fetch_point_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -1400,16 +1400,16 @@ static void mavlink_test_rally_point(uint16_t system_id, uint8_t component_id, m
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_rally_point_t packet_in = {
963497464,963497672,17651,17755,17859,175,242,53,120,187
963497464,963497672,17651,17755,17859,17963,53,120,187,254
};
mavlink_rally_point_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
packet1.lat = packet_in.lat;
packet1.lng = packet_in.lng;
packet1.target_system = packet_in.target_system;
packet1.alt = packet_in.alt;
packet1.break_alt = packet_in.break_alt;
packet1.land_dir = packet_in.land_dir;
packet1.target_system = packet_in.target_system;
packet1.target_component = packet_in.target_component;
packet1.idx = packet_in.idx;
packet1.count = packet_in.count;
@@ -1463,7 +1463,7 @@ static void mavlink_test_rally_fetch_point(uint16_t system_id, uint8_t component
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_rally_fetch_point_t packet_in = {
5,72,139
17235,139,206
};
mavlink_rally_fetch_point_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -1637,7 +1637,7 @@ static void mavlink_test_camera_status(uint16_t system_id, uint8_t component_id,
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_camera_status_t packet_in = {
963497464,45.0,73.0,101.0,129.0,18275,199,10,77
963497464,45.0,73.0,101.0,129.0,18275,18379,77,144
};
mavlink_camera_status_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -1646,8 +1646,8 @@ static void mavlink_test_camera_status(uint16_t system_id, uint8_t component_id,
packet1.p2 = packet_in.p2;
packet1.p3 = packet_in.p3;
packet1.p4 = packet_in.p4;
packet1.img_idx = packet_in.img_idx;
packet1.target_system = packet_in.target_system;
packet1.img_idx = packet_in.img_idx;
packet1.cam_idx = packet_in.cam_idx;
packet1.event_id = packet_in.event_id;
@@ -1699,7 +1699,7 @@ static void mavlink_test_camera_feedback(uint16_t system_id, uint8_t component_i
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_camera_feedback_t packet_in = {
963497464,963497672,963497880,101.0,129.0,157.0,185.0,213.0,241.0,19107,247,58,125,19367
963497464,963497672,963497880,101.0,129.0,157.0,185.0,213.0,241.0,19107,19211,125,192,19419
};
mavlink_camera_feedback_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -1712,8 +1712,8 @@ static void mavlink_test_camera_feedback(uint16_t system_id, uint8_t component_i
packet1.pitch = packet_in.pitch;
packet1.yaw = packet_in.yaw;
packet1.foc_len = packet_in.foc_len;
packet1.img_idx = packet_in.img_idx;
packet1.target_system = packet_in.target_system;
packet1.img_idx = packet_in.img_idx;
packet1.cam_idx = packet_in.cam_idx;
packet1.flags = packet_in.flags;
packet1.completed_captures = packet_in.completed_captures;
@@ -1884,7 +1884,7 @@ static void mavlink_test_autopilot_version_request(uint16_t system_id, uint8_t c
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_autopilot_version_request_t packet_in = {
5,72
17235,139
};
mavlink_autopilot_version_request_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -1939,7 +1939,7 @@ static void mavlink_test_remote_log_data_block(uint16_t system_id, uint8_t compo
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_remote_log_data_block_t packet_in = {
963497464,17,84,{ 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, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 0, 1, 2, 3, 4, 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, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94 }
963497464,17443,151,{ 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 0, 1, 2, 3, 4, 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, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 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, 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 }
};
mavlink_remote_log_data_block_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -1996,7 +1996,7 @@ static void mavlink_test_remote_log_block_status(uint16_t system_id, uint8_t com
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_remote_log_block_status_t packet_in = {
963497464,17,84,151
963497464,17443,151,218
};
mavlink_remote_log_block_status_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -2053,7 +2053,7 @@ static void mavlink_test_led_control(uint16_t system_id, uint8_t component_id, m
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_led_control_t packet_in = {
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 }
17235,139,206,17,84,{ 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174 }
};
mavlink_led_control_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -2357,7 +2357,7 @@ static void mavlink_test_gimbal_report(uint16_t system_id, uint8_t component_id,
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_gimbal_report_t packet_in = {
17.0,45.0,73.0,101.0,129.0,157.0,185.0,213.0,241.0,269.0,125,192
17.0,45.0,73.0,101.0,129.0,157.0,185.0,213.0,241.0,269.0,19315,3
};
mavlink_gimbal_report_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -2422,7 +2422,7 @@ static void mavlink_test_gimbal_control(uint16_t system_id, uint8_t component_id
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_gimbal_control_t packet_in = {
17.0,45.0,73.0,41,108
17.0,45.0,73.0,17859,175
};
mavlink_gimbal_control_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -2480,14 +2480,14 @@ static void mavlink_test_gimbal_torque_cmd_report(uint16_t system_id, uint8_t co
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_gimbal_torque_cmd_report_t packet_in = {
17235,17339,17443,151,218
17235,17339,17443,17547,29
};
mavlink_gimbal_torque_cmd_report_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
packet1.target_system = packet_in.target_system;
packet1.rl_torque_cmd = packet_in.rl_torque_cmd;
packet1.el_torque_cmd = packet_in.el_torque_cmd;
packet1.az_torque_cmd = packet_in.az_torque_cmd;
packet1.target_system = packet_in.target_system;
packet1.target_component = packet_in.target_component;
@@ -2594,7 +2594,7 @@ static void mavlink_test_gopro_get_request(uint16_t system_id, uint8_t component
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_gopro_get_request_t packet_in = {
5,72,139
17235,139,206
};
mavlink_gopro_get_request_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -2706,7 +2706,7 @@ static void mavlink_test_gopro_set_request(uint16_t system_id, uint8_t component
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_gopro_set_request_t packet_in = {
5,72,139,{ 206, 207, 208, 209 }
17235,139,206,{ 17, 18, 19, 20 }
};
mavlink_gopro_set_request_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -2876,7 +2876,7 @@ static void mavlink_test_device_op_read(uint16_t system_id, uint8_t component_id
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_device_op_read_t packet_in = {
963497464,17,84,151,218,29,"JKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUV",216,27
963497464,17443,151,218,29,96,"KLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVW",27,94
};
mavlink_device_op_read_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));
@@ -2996,7 +2996,7 @@ static void mavlink_test_device_op_write(uint16_t system_id, uint8_t component_i
uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
uint16_t i;
mavlink_device_op_write_t packet_in = {
963497464,17,84,151,218,29,"JKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUV",216,27,{ 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, 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, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221 }
963497464,17443,151,218,29,96,"KLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVW",27,94,{ 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, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 0, 1, 2, 3, 4, 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 }
};
mavlink_device_op_write_t packet1, packet2;
memset(&packet1, 0, sizeof(packet1));