Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
4ac07c37
Commit
4ac07c37
authored
Apr 13, 2014
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated MAVLink to the newest revision, no functional changes
parent
93679e57
Changes
202
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
202 changed files
with
10155 additions
and
121 deletions
+10155
-121
ardupilotmega.h
...avlink/include/mavlink/v1.0/ardupilotmega/ardupilotmega.h
+16
-92
mavlink_msg_ahrs.h
...ink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ahrs.h
+44
-0
mavlink_msg_ahrs2.h
...nk/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ahrs2.h
+42
-0
mavlink_msg_airspeed_autocal.h
...mavlink/v1.0/ardupilotmega/mavlink_msg_airspeed_autocal.h
+54
-0
mavlink_msg_ap_adc.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ap_adc.h
+42
-0
mavlink_msg_compassmot_status.h
...avlink/v1.0/ardupilotmega/mavlink_msg_compassmot_status.h
+329
-0
mavlink_msg_data16.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data16.h
+34
-0
mavlink_msg_data32.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data32.h
+34
-0
mavlink_msg_data64.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data64.h
+34
-0
mavlink_msg_data96.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data96.h
+34
-0
mavlink_msg_digicam_configure.h
...avlink/v1.0/ardupilotmega/mavlink_msg_digicam_configure.h
+52
-0
mavlink_msg_digicam_control.h
.../mavlink/v1.0/ardupilotmega/mavlink_msg_digicam_control.h
+50
-0
mavlink_msg_fence_fetch_point.h
...avlink/v1.0/ardupilotmega/mavlink_msg_fence_fetch_point.h
+36
-0
mavlink_msg_fence_point.h
...lude/mavlink/v1.0/ardupilotmega/mavlink_msg_fence_point.h
+42
-0
mavlink_msg_fence_status.h
...ude/mavlink/v1.0/ardupilotmega/mavlink_msg_fence_status.h
+38
-0
mavlink_msg_hwstatus.h
...include/mavlink/v1.0/ardupilotmega/mavlink_msg_hwstatus.h
+34
-0
mavlink_msg_limits_status.h
...de/mavlink/v1.0/ardupilotmega/mavlink_msg_limits_status.h
+48
-0
mavlink_msg_meminfo.h
.../include/mavlink/v1.0/ardupilotmega/mavlink_msg_meminfo.h
+34
-0
mavlink_msg_mount_configure.h
.../mavlink/v1.0/ardupilotmega/mavlink_msg_mount_configure.h
+42
-0
mavlink_msg_mount_control.h
...de/mavlink/v1.0/ardupilotmega/mavlink_msg_mount_control.h
+42
-0
mavlink_msg_mount_status.h
...ude/mavlink/v1.0/ardupilotmega/mavlink_msg_mount_status.h
+40
-0
mavlink_msg_radio.h
...nk/include/mavlink/v1.0/ardupilotmega/mavlink_msg_radio.h
+44
-0
mavlink_msg_rally_fetch_point.h
...avlink/v1.0/ardupilotmega/mavlink_msg_rally_fetch_point.h
+36
-0
mavlink_msg_rally_point.h
...lude/mavlink/v1.0/ardupilotmega/mavlink_msg_rally_point.h
+50
-0
mavlink_msg_rangefinder.h
...lude/mavlink/v1.0/ardupilotmega/mavlink_msg_rangefinder.h
+34
-0
mavlink_msg_sensor_offsets.h
...e/mavlink/v1.0/ardupilotmega/mavlink_msg_sensor_offsets.h
+54
-0
mavlink_msg_set_mag_offsets.h
.../mavlink/v1.0/ardupilotmega/mavlink_msg_set_mag_offsets.h
+40
-0
mavlink_msg_simstate.h
...include/mavlink/v1.0/ardupilotmega/mavlink_msg_simstate.h
+52
-0
mavlink_msg_wind.h
...ink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_wind.h
+36
-0
testsuite.h
libs/mavlink/include/mavlink/v1.0/ardupilotmega/testsuite.h
+54
-0
version.h
libs/mavlink/include/mavlink/v1.0/ardupilotmega/version.h
+1
-1
autoquad.h
libs/mavlink/include/mavlink/v1.0/autoquad/autoquad.h
+13
-4
mavlink_msg_aq_telemetry_f.h
...nclude/mavlink/v1.0/autoquad/mavlink_msg_aq_telemetry_f.h
+72
-0
version.h
libs/mavlink/include/mavlink/v1.0/autoquad/version.h
+1
-1
common.h
libs/mavlink/include/mavlink/v1.0/common/common.h
+117
-7
mavlink_msg_attitude.h
...avlink/include/mavlink/v1.0/common/mavlink_msg_attitude.h
+44
-0
mavlink_msg_attitude_quaternion.h
...ude/mavlink/v1.0/common/mavlink_msg_attitude_quaternion.h
+46
-0
mavlink_msg_auth_key.h
...avlink/include/mavlink/v1.0/common/mavlink_msg_auth_key.h
+32
-0
mavlink_msg_battery_status.h
.../include/mavlink/v1.0/common/mavlink_msg_battery_status.h
+52
-0
mavlink_msg_change_operator_control.h
...mavlink/v1.0/common/mavlink_msg_change_operator_control.h
+36
-0
mavlink_msg_change_operator_control_ack.h
...ink/v1.0/common/mavlink_msg_change_operator_control_ack.h
+36
-0
mavlink_msg_command_ack.h
...ink/include/mavlink/v1.0/common/mavlink_msg_command_ack.h
+34
-0
mavlink_msg_command_long.h
...nk/include/mavlink/v1.0/common/mavlink_msg_command_long.h
+52
-0
mavlink_msg_data_stream.h
...ink/include/mavlink/v1.0/common/mavlink_msg_data_stream.h
+36
-0
mavlink_msg_data_transmission_handshake.h
...ink/v1.0/common/mavlink_msg_data_transmission_handshake.h
+44
-0
mavlink_msg_debug.h
libs/mavlink/include/mavlink/v1.0/common/mavlink_msg_debug.h
+36
-0
mavlink_msg_debug_vect.h
...link/include/mavlink/v1.0/common/mavlink_msg_debug_vect.h
+38
-0
mavlink_msg_distance_sensor.h
...include/mavlink/v1.0/common/mavlink_msg_distance_sensor.h
+377
-0
mavlink_msg_encapsulated_data.h
...clude/mavlink/v1.0/common/mavlink_msg_encapsulated_data.h
+32
-0
mavlink_msg_file_transfer_dir_list.h
.../mavlink/v1.0/common/mavlink_msg_file_transfer_dir_list.h
+34
-0
mavlink_msg_file_transfer_res.h
...clude/mavlink/v1.0/common/mavlink_msg_file_transfer_res.h
+34
-0
mavlink_msg_file_transfer_start.h
...ude/mavlink/v1.0/common/mavlink_msg_file_transfer_start.h
+38
-0
mavlink_msg_global_position_int.h
...ude/mavlink/v1.0/common/mavlink_msg_global_position_int.h
+48
-0
mavlink_msg_global_position_setpoint_int.h
...nk/v1.0/common/mavlink_msg_global_position_setpoint_int.h
+40
-0
mavlink_msg_global_vision_position_estimate.h
...v1.0/common/mavlink_msg_global_vision_position_estimate.h
+44
-0
mavlink_msg_gps2_raw.h
...avlink/include/mavlink/v1.0/common/mavlink_msg_gps2_raw.h
+54
-0
mavlink_msg_gps_global_origin.h
...clude/mavlink/v1.0/common/mavlink_msg_gps_global_origin.h
+36
-0
mavlink_msg_gps_inject_data.h
...include/mavlink/v1.0/common/mavlink_msg_gps_inject_data.h
+36
-0
mavlink_msg_gps_raw_int.h
...ink/include/mavlink/v1.0/common/mavlink_msg_gps_raw_int.h
+50
-0
mavlink_msg_gps_status.h
...link/include/mavlink/v1.0/common/mavlink_msg_gps_status.h
+40
-0
mavlink_msg_heartbeat.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_heartbeat.h
+42
-0
mavlink_msg_highres_imu.h
...ink/include/mavlink/v1.0/common/mavlink_msg_highres_imu.h
+60
-0
mavlink_msg_hil_controls.h
...nk/include/mavlink/v1.0/common/mavlink_msg_hil_controls.h
+52
-0
mavlink_msg_hil_gps.h
...mavlink/include/mavlink/v1.0/common/mavlink_msg_hil_gps.h
+56
-0
mavlink_msg_hil_optical_flow.h
...nclude/mavlink/v1.0/common/mavlink_msg_hil_optical_flow.h
+46
-0
mavlink_msg_hil_rc_inputs_raw.h
...clude/mavlink/v1.0/common/mavlink_msg_hil_rc_inputs_raw.h
+58
-0
mavlink_msg_hil_sensor.h
...link/include/mavlink/v1.0/common/mavlink_msg_hil_sensor.h
+60
-0
mavlink_msg_hil_state.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_hil_state.h
+62
-0
mavlink_msg_hil_state_quaternion.h
...de/mavlink/v1.0/common/mavlink_msg_hil_state_quaternion.h
+60
-0
mavlink_msg_local_position_ned.h
...lude/mavlink/v1.0/common/mavlink_msg_local_position_ned.h
+44
-0
mavlink_msg_local_position_ned_system_global_offset.h
...mon/mavlink_msg_local_position_ned_system_global_offset.h
+44
-0
mavlink_msg_local_position_setpoint.h
...mavlink/v1.0/common/mavlink_msg_local_position_setpoint.h
+40
-0
mavlink_msg_log_data.h
...avlink/include/mavlink/v1.0/common/mavlink_msg_log_data.h
+36
-0
mavlink_msg_log_entry.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_log_entry.h
+40
-0
mavlink_msg_log_erase.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_log_erase.h
+34
-0
mavlink_msg_log_request_data.h
...nclude/mavlink/v1.0/common/mavlink_msg_log_request_data.h
+40
-0
mavlink_msg_log_request_end.h
...include/mavlink/v1.0/common/mavlink_msg_log_request_end.h
+34
-0
mavlink_msg_log_request_list.h
...nclude/mavlink/v1.0/common/mavlink_msg_log_request_list.h
+38
-0
mavlink_msg_manual_control.h
.../include/mavlink/v1.0/common/mavlink_msg_manual_control.h
+42
-0
mavlink_msg_manual_setpoint.h
...include/mavlink/v1.0/common/mavlink_msg_manual_setpoint.h
+44
-0
mavlink_msg_memory_vect.h
...ink/include/mavlink/v1.0/common/mavlink_msg_memory_vect.h
+36
-0
mavlink_msg_mission_ack.h
...ink/include/mavlink/v1.0/common/mavlink_msg_mission_ack.h
+36
-0
mavlink_msg_mission_clear_all.h
...clude/mavlink/v1.0/common/mavlink_msg_mission_clear_all.h
+34
-0
mavlink_msg_mission_count.h
...k/include/mavlink/v1.0/common/mavlink_msg_mission_count.h
+36
-0
mavlink_msg_mission_current.h
...include/mavlink/v1.0/common/mavlink_msg_mission_current.h
+32
-0
mavlink_msg_mission_item.h
...nk/include/mavlink/v1.0/common/mavlink_msg_mission_item.h
+58
-0
mavlink_msg_mission_item_reached.h
...de/mavlink/v1.0/common/mavlink_msg_mission_item_reached.h
+32
-0
mavlink_msg_mission_request.h
...include/mavlink/v1.0/common/mavlink_msg_mission_request.h
+36
-0
mavlink_msg_mission_request_list.h
...de/mavlink/v1.0/common/mavlink_msg_mission_request_list.h
+34
-0
mavlink_msg_mission_request_partial_list.h
...nk/v1.0/common/mavlink_msg_mission_request_partial_list.h
+38
-0
mavlink_msg_mission_set_current.h
...ude/mavlink/v1.0/common/mavlink_msg_mission_set_current.h
+36
-0
mavlink_msg_mission_write_partial_list.h
...link/v1.0/common/mavlink_msg_mission_write_partial_list.h
+38
-0
mavlink_msg_named_value_float.h
...clude/mavlink/v1.0/common/mavlink_msg_named_value_float.h
+34
-0
mavlink_msg_named_value_int.h
...include/mavlink/v1.0/common/mavlink_msg_named_value_int.h
+34
-0
mavlink_msg_nav_controller_output.h
...e/mavlink/v1.0/common/mavlink_msg_nav_controller_output.h
+46
-0
mavlink_msg_omnidirectional_flow.h
...de/mavlink/v1.0/common/mavlink_msg_omnidirectional_flow.h
+40
-0
mavlink_msg_optical_flow.h
...nk/include/mavlink/v1.0/common/mavlink_msg_optical_flow.h
+46
-0
mavlink_msg_param_request_list.h
...lude/mavlink/v1.0/common/mavlink_msg_param_request_list.h
+34
-0
mavlink_msg_param_request_read.h
...lude/mavlink/v1.0/common/mavlink_msg_param_request_read.h
+36
-0
mavlink_msg_param_set.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_param_set.h
+38
-0
mavlink_msg_param_value.h
...ink/include/mavlink/v1.0/common/mavlink_msg_param_value.h
+38
-0
mavlink_msg_ping.h
libs/mavlink/include/mavlink/v1.0/common/mavlink_msg_ping.h
+38
-0
mavlink_msg_power_status.h
...nk/include/mavlink/v1.0/common/mavlink_msg_power_status.h
+257
-0
mavlink_msg_radio_status.h
...nk/include/mavlink/v1.0/common/mavlink_msg_radio_status.h
+44
-0
mavlink_msg_raw_imu.h
...mavlink/include/mavlink/v1.0/common/mavlink_msg_raw_imu.h
+50
-0
mavlink_msg_raw_pressure.h
...nk/include/mavlink/v1.0/common/mavlink_msg_raw_pressure.h
+40
-0
mavlink_msg_rc_channels.h
...ink/include/mavlink/v1.0/common/mavlink_msg_rc_channels.h
+689
-0
mavlink_msg_rc_channels_override.h
...de/mavlink/v1.0/common/mavlink_msg_rc_channels_override.h
+50
-0
mavlink_msg_rc_channels_raw.h
...include/mavlink/v1.0/common/mavlink_msg_rc_channels_raw.h
+52
-0
mavlink_msg_rc_channels_scaled.h
...lude/mavlink/v1.0/common/mavlink_msg_rc_channels_scaled.h
+52
-0
mavlink_msg_request_data_stream.h
...ude/mavlink/v1.0/common/mavlink_msg_request_data_stream.h
+40
-0
mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h
...common/mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h
+40
-0
mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h
...common/mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h
+40
-0
mavlink_msg_roll_pitch_yaw_thrust_setpoint.h
.../v1.0/common/mavlink_msg_roll_pitch_yaw_thrust_setpoint.h
+40
-0
mavlink_msg_safety_allowed_area.h
...ude/mavlink/v1.0/common/mavlink_msg_safety_allowed_area.h
+44
-0
mavlink_msg_safety_set_allowed_area.h
...mavlink/v1.0/common/mavlink_msg_safety_set_allowed_area.h
+48
-0
mavlink_msg_scaled_imu.h
...link/include/mavlink/v1.0/common/mavlink_msg_scaled_imu.h
+50
-0
mavlink_msg_scaled_imu2.h
...ink/include/mavlink/v1.0/common/mavlink_msg_scaled_imu2.h
+50
-0
mavlink_msg_scaled_pressure.h
...include/mavlink/v1.0/common/mavlink_msg_scaled_pressure.h
+38
-0
mavlink_msg_serial_control.h
.../include/mavlink/v1.0/common/mavlink_msg_serial_control.h
+321
-0
mavlink_msg_servo_output_raw.h
...nclude/mavlink/v1.0/common/mavlink_msg_servo_output_raw.h
+50
-0
mavlink_msg_set_global_position_setpoint_int.h
...1.0/common/mavlink_msg_set_global_position_setpoint_int.h
+40
-0
mavlink_msg_set_gps_global_origin.h
...e/mavlink/v1.0/common/mavlink_msg_set_gps_global_origin.h
+38
-0
mavlink_msg_set_local_position_setpoint.h
...ink/v1.0/common/mavlink_msg_set_local_position_setpoint.h
+44
-0
mavlink_msg_set_mode.h
...avlink/include/mavlink/v1.0/common/mavlink_msg_set_mode.h
+36
-0
mavlink_msg_set_quad_motors_setpoint.h
...avlink/v1.0/common/mavlink_msg_set_quad_motors_setpoint.h
+40
-0
mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h
...on/mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h
+46
-0
mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h
...common/mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h
+40
-0
mavlink_msg_set_roll_pitch_yaw_speed_thrust.h
...v1.0/common/mavlink_msg_set_roll_pitch_yaw_speed_thrust.h
+42
-0
mavlink_msg_set_roll_pitch_yaw_thrust.h
...vlink/v1.0/common/mavlink_msg_set_roll_pitch_yaw_thrust.h
+42
-0
mavlink_msg_setpoint_6dof.h
...k/include/mavlink/v1.0/common/mavlink_msg_setpoint_6dof.h
+44
-0
mavlink_msg_setpoint_8dof.h
...k/include/mavlink/v1.0/common/mavlink_msg_setpoint_8dof.h
+48
-0
mavlink_msg_sim_state.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_sim_state.h
+72
-0
mavlink_msg_state_correction.h
...nclude/mavlink/v1.0/common/mavlink_msg_state_correction.h
+48
-0
mavlink_msg_statustext.h
...link/include/mavlink/v1.0/common/mavlink_msg_statustext.h
+32
-0
mavlink_msg_sys_status.h
...link/include/mavlink/v1.0/common/mavlink_msg_sys_status.h
+56
-0
mavlink_msg_system_time.h
...ink/include/mavlink/v1.0/common/mavlink_msg_system_time.h
+34
-0
mavlink_msg_vfr_hud.h
...mavlink/include/mavlink/v1.0/common/mavlink_msg_vfr_hud.h
+42
-0
mavlink_msg_vicon_position_estimate.h
...mavlink/v1.0/common/mavlink_msg_vicon_position_estimate.h
+44
-0
mavlink_msg_vision_position_estimate.h
...avlink/v1.0/common/mavlink_msg_vision_position_estimate.h
+44
-0
mavlink_msg_vision_speed_estimate.h
...e/mavlink/v1.0/common/mavlink_msg_vision_speed_estimate.h
+38
-0
testsuite.h
libs/mavlink/include/mavlink/v1.0/common/testsuite.h
+244
-0
version.h
libs/mavlink/include/mavlink/v1.0/common/version.h
+1
-1
matrixpilot.h
libs/mavlink/include/mavlink/v1.0/matrixpilot/matrixpilot.h
+13
-4
mavlink_msg_airspeeds.h
.../include/mavlink/v1.0/matrixpilot/mavlink_msg_airspeeds.h
+44
-0
mavlink_msg_altitudes.h
.../include/mavlink/v1.0/matrixpilot/mavlink_msg_altitudes.h
+44
-0
mavlink_msg_flexifunction_buffer_function.h
...0/matrixpilot/mavlink_msg_flexifunction_buffer_function.h
+42
-0
mavlink_msg_flexifunction_buffer_function_ack.h
...trixpilot/mavlink_msg_flexifunction_buffer_function_ack.h
+38
-0
mavlink_msg_flexifunction_command.h
...link/v1.0/matrixpilot/mavlink_msg_flexifunction_command.h
+36
-0
mavlink_msg_flexifunction_command_ack.h
.../v1.0/matrixpilot/mavlink_msg_flexifunction_command_ack.h
+34
-0
mavlink_msg_flexifunction_directory.h
...nk/v1.0/matrixpilot/mavlink_msg_flexifunction_directory.h
+40
-0
mavlink_msg_flexifunction_directory_ack.h
...1.0/matrixpilot/mavlink_msg_flexifunction_directory_ack.h
+42
-0
mavlink_msg_flexifunction_read_req.h
...ink/v1.0/matrixpilot/mavlink_msg_flexifunction_read_req.h
+38
-0
mavlink_msg_flexifunction_set.h
.../mavlink/v1.0/matrixpilot/mavlink_msg_flexifunction_set.h
+34
-0
mavlink_msg_serial_udb_extra_f13.h
...vlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f13.h
+38
-0
mavlink_msg_serial_udb_extra_f14.h
...vlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f14.h
+52
-0
mavlink_msg_serial_udb_extra_f15.h
...vlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f15.h
+34
-0
mavlink_msg_serial_udb_extra_f16.h
...vlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f16.h
+34
-0
mavlink_msg_serial_udb_extra_f2_a.h
...link/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f2_a.h
+86
-0
mavlink_msg_serial_udb_extra_f2_b.h
...link/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f2_b.h
+96
-0
mavlink_msg_serial_udb_extra_f4.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f4.h
+50
-0
mavlink_msg_serial_udb_extra_f5.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f5.h
+42
-0
mavlink_msg_serial_udb_extra_f6.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f6.h
+40
-0
mavlink_msg_serial_udb_extra_f7.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f7.h
+42
-0
mavlink_msg_serial_udb_extra_f8.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f8.h
+44
-0
version.h
libs/mavlink/include/mavlink/v1.0/matrixpilot/version.h
+1
-1
mavlink_conversions.h
libs/mavlink/include/mavlink/v1.0/mavlink_conversions.h
+7
-1
mavlink_msg_attitude_control.h
...clude/mavlink/v1.0/pixhawk/mavlink_msg_attitude_control.h
+48
-0
mavlink_msg_brief_feature.h
.../include/mavlink/v1.0/pixhawk/mavlink_msg_brief_feature.h
+44
-0
mavlink_msg_image_available.h
...nclude/mavlink/v1.0/pixhawk/mavlink_msg_image_available.h
+76
-0
mavlink_msg_image_trigger_control.h
.../mavlink/v1.0/pixhawk/mavlink_msg_image_trigger_control.h
+32
-0
mavlink_msg_image_triggered.h
...nclude/mavlink/v1.0/pixhawk/mavlink_msg_image_triggered.h
+54
-0
mavlink_msg_marker.h
...mavlink/include/mavlink/v1.0/pixhawk/mavlink_msg_marker.h
+44
-0
mavlink_msg_pattern_detected.h
...clude/mavlink/v1.0/pixhawk/mavlink_msg_pattern_detected.h
+36
-0
mavlink_msg_point_of_interest.h
...lude/mavlink/v1.0/pixhawk/mavlink_msg_point_of_interest.h
+44
-0
mavlink_msg_point_of_interest_connection.h
...k/v1.0/pixhawk/mavlink_msg_point_of_interest_connection.h
+50
-0
mavlink_msg_position_control_setpoint.h
...link/v1.0/pixhawk/mavlink_msg_position_control_setpoint.h
+40
-0
mavlink_msg_raw_aux.h
...avlink/include/mavlink/v1.0/pixhawk/mavlink_msg_raw_aux.h
+44
-0
mavlink_msg_set_cam_shutter.h
...nclude/mavlink/v1.0/pixhawk/mavlink_msg_set_cam_shutter.h
+42
-0
mavlink_msg_set_position_control_offset.h
...nk/v1.0/pixhawk/mavlink_msg_set_position_control_offset.h
+42
-0
mavlink_msg_watchdog_command.h
...clude/mavlink/v1.0/pixhawk/mavlink_msg_watchdog_command.h
+38
-0
mavlink_msg_watchdog_heartbeat.h
...ude/mavlink/v1.0/pixhawk/mavlink_msg_watchdog_heartbeat.h
+34
-0
mavlink_msg_watchdog_process_info.h
.../mavlink/v1.0/pixhawk/mavlink_msg_watchdog_process_info.h
+38
-0
mavlink_msg_watchdog_process_status.h
...avlink/v1.0/pixhawk/mavlink_msg_watchdog_process_status.h
+42
-0
pixhawk.h
libs/mavlink/include/mavlink/v1.0/pixhawk/pixhawk.h
+13
-4
version.h
libs/mavlink/include/mavlink/v1.0/pixhawk/version.h
+1
-1
mavlink_msg_cmd_airspeed_ack.h
...ude/mavlink/v1.0/sensesoar/mavlink_msg_cmd_airspeed_ack.h
+34
-0
mavlink_msg_cmd_airspeed_chng.h
...de/mavlink/v1.0/sensesoar/mavlink_msg_cmd_airspeed_chng.h
+34
-0
mavlink_msg_filt_rot_vel.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_filt_rot_vel.h
+32
-0
mavlink_msg_llc_out.h
...link/include/mavlink/v1.0/sensesoar/mavlink_msg_llc_out.h
+34
-0
mavlink_msg_obs_air_temp.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_obs_air_temp.h
+32
-0
mavlink_msg_obs_air_velocity.h
...ude/mavlink/v1.0/sensesoar/mavlink_msg_obs_air_velocity.h
+36
-0
mavlink_msg_obs_attitude.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_obs_attitude.h
+32
-0
mavlink_msg_obs_bias.h
...ink/include/mavlink/v1.0/sensesoar/mavlink_msg_obs_bias.h
+34
-0
mavlink_msg_obs_position.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_obs_position.h
+36
-0
mavlink_msg_obs_qff.h
...link/include/mavlink/v1.0/sensesoar/mavlink_msg_obs_qff.h
+32
-0
mavlink_msg_obs_velocity.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_obs_velocity.h
+32
-0
mavlink_msg_obs_wind.h
...ink/include/mavlink/v1.0/sensesoar/mavlink_msg_obs_wind.h
+32
-0
mavlink_msg_pm_elec.h
...link/include/mavlink/v1.0/sensesoar/mavlink_msg_pm_elec.h
+34
-0
mavlink_msg_sys_stat.h
...ink/include/mavlink/v1.0/sensesoar/mavlink_msg_sys_stat.h
+38
-0
sensesoar.h
libs/mavlink/include/mavlink/v1.0/sensesoar/sensesoar.h
+3
-3
version.h
libs/mavlink/include/mavlink/v1.0/sensesoar/version.h
+1
-1
No files found.
libs/mavlink/include/mavlink/v1.0/ardupilotmega/ardupilotmega.h
View file @
4ac07c37
This diff is collapsed.
Click to expand it.
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ahrs.h
View file @
4ac07c37
...
...
@@ -212,6 +212,50 @@ static inline void mavlink_msg_ahrs_send(mavlink_channel_t chan, float omegaIx,
#endif
}
#if MAVLINK_MSG_ID_AHRS_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_ahrs_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
float
omegaIx
,
float
omegaIy
,
float
omegaIz
,
float
accel_weight
,
float
renorm_val
,
float
error_rp
,
float
error_yaw
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_float
(
buf
,
0
,
omegaIx
);
_mav_put_float
(
buf
,
4
,
omegaIy
);
_mav_put_float
(
buf
,
8
,
omegaIz
);
_mav_put_float
(
buf
,
12
,
accel_weight
);
_mav_put_float
(
buf
,
16
,
renorm_val
);
_mav_put_float
(
buf
,
20
,
error_rp
);
_mav_put_float
(
buf
,
24
,
error_yaw
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS
,
buf
,
MAVLINK_MSG_ID_AHRS_LEN
,
MAVLINK_MSG_ID_AHRS_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS
,
buf
,
MAVLINK_MSG_ID_AHRS_LEN
);
#endif
#else
mavlink_ahrs_t
*
packet
=
(
mavlink_ahrs_t
*
)
msgbuf
;
packet
->
omegaIx
=
omegaIx
;
packet
->
omegaIy
=
omegaIy
;
packet
->
omegaIz
=
omegaIz
;
packet
->
accel_weight
=
accel_weight
;
packet
->
renorm_val
=
renorm_val
;
packet
->
error_rp
=
error_rp
;
packet
->
error_yaw
=
error_yaw
;
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_AHRS_LEN
,
MAVLINK_MSG_ID_AHRS_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_AHRS_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE AHRS UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ahrs2.h
View file @
4ac07c37
...
...
@@ -201,6 +201,48 @@ static inline void mavlink_msg_ahrs2_send(mavlink_channel_t chan, float roll, fl
#endif
}
#if MAVLINK_MSG_ID_AHRS2_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_ahrs2_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
float
roll
,
float
pitch
,
float
yaw
,
float
altitude
,
int32_t
lat
,
int32_t
lng
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_float
(
buf
,
0
,
roll
);
_mav_put_float
(
buf
,
4
,
pitch
);
_mav_put_float
(
buf
,
8
,
yaw
);
_mav_put_float
(
buf
,
12
,
altitude
);
_mav_put_int32_t
(
buf
,
16
,
lat
);
_mav_put_int32_t
(
buf
,
20
,
lng
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS2
,
buf
,
MAVLINK_MSG_ID_AHRS2_LEN
,
MAVLINK_MSG_ID_AHRS2_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS2
,
buf
,
MAVLINK_MSG_ID_AHRS2_LEN
);
#endif
#else
mavlink_ahrs2_t
*
packet
=
(
mavlink_ahrs2_t
*
)
msgbuf
;
packet
->
roll
=
roll
;
packet
->
pitch
=
pitch
;
packet
->
yaw
=
yaw
;
packet
->
altitude
=
altitude
;
packet
->
lat
=
lat
;
packet
->
lng
=
lng
;
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS2
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_AHRS2_LEN
,
MAVLINK_MSG_ID_AHRS2_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS2
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_AHRS2_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE AHRS2 UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_airspeed_autocal.h
View file @
4ac07c37
...
...
@@ -267,6 +267,60 @@ static inline void mavlink_msg_airspeed_autocal_send(mavlink_channel_t chan, flo
#endif
}
#if MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_airspeed_autocal_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
float
vx
,
float
vy
,
float
vz
,
float
diff_pressure
,
float
EAS2TAS
,
float
ratio
,
float
state_x
,
float
state_y
,
float
state_z
,
float
Pax
,
float
Pby
,
float
Pcz
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_float
(
buf
,
0
,
vx
);
_mav_put_float
(
buf
,
4
,
vy
);
_mav_put_float
(
buf
,
8
,
vz
);
_mav_put_float
(
buf
,
12
,
diff_pressure
);
_mav_put_float
(
buf
,
16
,
EAS2TAS
);
_mav_put_float
(
buf
,
20
,
ratio
);
_mav_put_float
(
buf
,
24
,
state_x
);
_mav_put_float
(
buf
,
28
,
state_y
);
_mav_put_float
(
buf
,
32
,
state_z
);
_mav_put_float
(
buf
,
36
,
Pax
);
_mav_put_float
(
buf
,
40
,
Pby
);
_mav_put_float
(
buf
,
44
,
Pcz
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL
,
buf
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_LEN
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL
,
buf
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_LEN
);
#endif
#else
mavlink_airspeed_autocal_t
*
packet
=
(
mavlink_airspeed_autocal_t
*
)
msgbuf
;
packet
->
vx
=
vx
;
packet
->
vy
=
vy
;
packet
->
vz
=
vz
;
packet
->
diff_pressure
=
diff_pressure
;
packet
->
EAS2TAS
=
EAS2TAS
;
packet
->
ratio
=
ratio
;
packet
->
state_x
=
state_x
;
packet
->
state_y
=
state_y
;
packet
->
state_z
=
state_z
;
packet
->
Pax
=
Pax
;
packet
->
Pby
=
Pby
;
packet
->
Pcz
=
Pcz
;
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_LEN
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_AIRSPEED_AUTOCAL_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE AIRSPEED_AUTOCAL UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ap_adc.h
View file @
4ac07c37
...
...
@@ -201,6 +201,48 @@ static inline void mavlink_msg_ap_adc_send(mavlink_channel_t chan, uint16_t adc1
#endif
}
#if MAVLINK_MSG_ID_AP_ADC_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_ap_adc_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint16_t
adc1
,
uint16_t
adc2
,
uint16_t
adc3
,
uint16_t
adc4
,
uint16_t
adc5
,
uint16_t
adc6
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_uint16_t
(
buf
,
0
,
adc1
);
_mav_put_uint16_t
(
buf
,
2
,
adc2
);
_mav_put_uint16_t
(
buf
,
4
,
adc3
);
_mav_put_uint16_t
(
buf
,
6
,
adc4
);
_mav_put_uint16_t
(
buf
,
8
,
adc5
);
_mav_put_uint16_t
(
buf
,
10
,
adc6
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AP_ADC
,
buf
,
MAVLINK_MSG_ID_AP_ADC_LEN
,
MAVLINK_MSG_ID_AP_ADC_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AP_ADC
,
buf
,
MAVLINK_MSG_ID_AP_ADC_LEN
);
#endif
#else
mavlink_ap_adc_t
*
packet
=
(
mavlink_ap_adc_t
*
)
msgbuf
;
packet
->
adc1
=
adc1
;
packet
->
adc2
=
adc2
;
packet
->
adc3
=
adc3
;
packet
->
adc4
=
adc4
;
packet
->
adc5
=
adc5
;
packet
->
adc6
=
adc6
;
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AP_ADC
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_AP_ADC_LEN
,
MAVLINK_MSG_ID_AP_ADC_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AP_ADC
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_AP_ADC_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE AP_ADC UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_compassmot_status.h
0 → 100644
View file @
4ac07c37
This diff is collapsed.
Click to expand it.
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data16.h
View file @
4ac07c37
...
...
@@ -162,6 +162,40 @@ static inline void mavlink_msg_data16_send(mavlink_channel_t chan, uint8_t type,
#endif
}
#if MAVLINK_MSG_ID_DATA16_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_data16_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
16
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA16
,
buf
,
MAVLINK_MSG_ID_DATA16_LEN
,
MAVLINK_MSG_ID_DATA16_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA16
,
buf
,
MAVLINK_MSG_ID_DATA16_LEN
);
#endif
#else
mavlink_data16_t
*
packet
=
(
mavlink_data16_t
*
)
msgbuf
;
packet
->
type
=
type
;
packet
->
len
=
len
;
mav_array_memcpy
(
packet
->
data
,
data
,
sizeof
(
uint8_t
)
*
16
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA16
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DATA16_LEN
,
MAVLINK_MSG_ID_DATA16_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA16
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DATA16_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE DATA16 UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data32.h
View file @
4ac07c37
...
...
@@ -162,6 +162,40 @@ static inline void mavlink_msg_data32_send(mavlink_channel_t chan, uint8_t type,
#endif
}
#if MAVLINK_MSG_ID_DATA32_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_data32_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
32
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA32
,
buf
,
MAVLINK_MSG_ID_DATA32_LEN
,
MAVLINK_MSG_ID_DATA32_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA32
,
buf
,
MAVLINK_MSG_ID_DATA32_LEN
);
#endif
#else
mavlink_data32_t
*
packet
=
(
mavlink_data32_t
*
)
msgbuf
;
packet
->
type
=
type
;
packet
->
len
=
len
;
mav_array_memcpy
(
packet
->
data
,
data
,
sizeof
(
uint8_t
)
*
32
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA32
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DATA32_LEN
,
MAVLINK_MSG_ID_DATA32_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA32
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DATA32_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE DATA32 UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data64.h
View file @
4ac07c37
...
...
@@ -162,6 +162,40 @@ static inline void mavlink_msg_data64_send(mavlink_channel_t chan, uint8_t type,
#endif
}
#if MAVLINK_MSG_ID_DATA64_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_data64_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
64
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA64
,
buf
,
MAVLINK_MSG_ID_DATA64_LEN
,
MAVLINK_MSG_ID_DATA64_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA64
,
buf
,
MAVLINK_MSG_ID_DATA64_LEN
);
#endif
#else
mavlink_data64_t
*
packet
=
(
mavlink_data64_t
*
)
msgbuf
;
packet
->
type
=
type
;
packet
->
len
=
len
;
mav_array_memcpy
(
packet
->
data
,
data
,
sizeof
(
uint8_t
)
*
64
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA64
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DATA64_LEN
,
MAVLINK_MSG_ID_DATA64_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA64
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DATA64_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE DATA64 UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data96.h
View file @
4ac07c37
...
...
@@ -162,6 +162,40 @@ static inline void mavlink_msg_data96_send(mavlink_channel_t chan, uint8_t type,
#endif
}
#if MAVLINK_MSG_ID_DATA96_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_data96_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
96
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA96
,
buf
,
MAVLINK_MSG_ID_DATA96_LEN
,
MAVLINK_MSG_ID_DATA96_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA96
,
buf
,
MAVLINK_MSG_ID_DATA96_LEN
);
#endif
#else
mavlink_data96_t
*
packet
=
(
mavlink_data96_t
*
)
msgbuf
;
packet
->
type
=
type
;
packet
->
len
=
len
;
mav_array_memcpy
(
packet
->
data
,
data
,
sizeof
(
uint8_t
)
*
96
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA96
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DATA96_LEN
,
MAVLINK_MSG_ID_DATA96_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA96
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DATA96_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE DATA96 UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_digicam_configure.h
View file @
4ac07c37
...
...
@@ -256,6 +256,58 @@ static inline void mavlink_msg_digicam_configure_send(mavlink_channel_t chan, ui
#endif
}
#if MAVLINK_MSG_ID_DIGICAM_CONFIGURE_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_digicam_configure_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint8_t
target_system
,
uint8_t
target_component
,
uint8_t
mode
,
uint16_t
shutter_speed
,
uint8_t
aperture
,
uint8_t
iso
,
uint8_t
exposure_type
,
uint8_t
command_id
,
uint8_t
engine_cut_off
,
uint8_t
extra_param
,
float
extra_value
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_float
(
buf
,
0
,
extra_value
);
_mav_put_uint16_t
(
buf
,
4
,
shutter_speed
);
_mav_put_uint8_t
(
buf
,
6
,
target_system
);
_mav_put_uint8_t
(
buf
,
7
,
target_component
);
_mav_put_uint8_t
(
buf
,
8
,
mode
);
_mav_put_uint8_t
(
buf
,
9
,
aperture
);
_mav_put_uint8_t
(
buf
,
10
,
iso
);
_mav_put_uint8_t
(
buf
,
11
,
exposure_type
);
_mav_put_uint8_t
(
buf
,
12
,
command_id
);
_mav_put_uint8_t
(
buf
,
13
,
engine_cut_off
);
_mav_put_uint8_t
(
buf
,
14
,
extra_param
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE
,
buf
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE_LEN
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE
,
buf
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE_LEN
);
#endif
#else
mavlink_digicam_configure_t
*
packet
=
(
mavlink_digicam_configure_t
*
)
msgbuf
;
packet
->
extra_value
=
extra_value
;
packet
->
shutter_speed
=
shutter_speed
;
packet
->
target_system
=
target_system
;
packet
->
target_component
=
target_component
;
packet
->
mode
=
mode
;
packet
->
aperture
=
aperture
;
packet
->
iso
=
iso
;
packet
->
exposure_type
=
exposure_type
;
packet
->
command_id
=
command_id
;
packet
->
engine_cut_off
=
engine_cut_off
;
packet
->
extra_param
=
extra_param
;
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE_LEN
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DIGICAM_CONFIGURE_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE DIGICAM_CONFIGURE UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_digicam_control.h
View file @
4ac07c37
...
...
@@ -245,6 +245,56 @@ static inline void mavlink_msg_digicam_control_send(mavlink_channel_t chan, uint
#endif
}
#if MAVLINK_MSG_ID_DIGICAM_CONTROL_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_digicam_control_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint8_t
target_system
,
uint8_t
target_component
,
uint8_t
session
,
uint8_t
zoom_pos
,
int8_t
zoom_step
,
uint8_t
focus_lock
,
uint8_t
shot
,
uint8_t
command_id
,
uint8_t
extra_param
,
float
extra_value
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_float
(
buf
,
0
,
extra_value
);
_mav_put_uint8_t
(
buf
,
4
,
target_system
);
_mav_put_uint8_t
(
buf
,
5
,
target_component
);
_mav_put_uint8_t
(
buf
,
6
,
session
);
_mav_put_uint8_t
(
buf
,
7
,
zoom_pos
);
_mav_put_int8_t
(
buf
,
8
,
zoom_step
);
_mav_put_uint8_t
(
buf
,
9
,
focus_lock
);
_mav_put_uint8_t
(
buf
,
10
,
shot
);
_mav_put_uint8_t
(
buf
,
11
,
command_id
);
_mav_put_uint8_t
(
buf
,
12
,
extra_param
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DIGICAM_CONTROL
,
buf
,
MAVLINK_MSG_ID_DIGICAM_CONTROL_LEN
,
MAVLINK_MSG_ID_DIGICAM_CONTROL_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DIGICAM_CONTROL
,
buf
,
MAVLINK_MSG_ID_DIGICAM_CONTROL_LEN
);
#endif
#else
mavlink_digicam_control_t
*
packet
=
(
mavlink_digicam_control_t
*
)
msgbuf
;
packet
->
extra_value
=
extra_value
;
packet
->
target_system
=
target_system
;
packet
->
target_component
=
target_component
;
packet
->
session
=
session
;
packet
->
zoom_pos
=
zoom_pos
;
packet
->
zoom_step
=
zoom_step
;
packet
->
focus_lock
=
focus_lock
;
packet
->
shot
=
shot
;
packet
->
command_id
=
command_id
;
packet
->
extra_param
=
extra_param
;
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DIGICAM_CONTROL
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DIGICAM_CONTROL_LEN
,
MAVLINK_MSG_ID_DIGICAM_CONTROL_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DIGICAM_CONTROL
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_DIGICAM_CONTROL_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE DIGICAM_CONTROL UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_fence_fetch_point.h
View file @
4ac07c37
...
...
@@ -168,6 +168,42 @@ static inline void mavlink_msg_fence_fetch_point_send(mavlink_channel_t chan, ui
#endif
}
#if MAVLINK_MSG_ID_FENCE_FETCH_POINT_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_fence_fetch_point_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint8_t
target_system
,
uint8_t
target_component
,
uint8_t
idx
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_uint8_t
(
buf
,
0
,
target_system
);
_mav_put_uint8_t
(
buf
,
1
,
target_component
);
_mav_put_uint8_t
(
buf
,
2
,
idx
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT
,
buf
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT_LEN
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT
,
buf
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT_LEN
);
#endif
#else
mavlink_fence_fetch_point_t
*
packet
=
(
mavlink_fence_fetch_point_t
*
)
msgbuf
;
packet
->
target_system
=
target_system
;
packet
->
target_component
=
target_component
;
packet
->
idx
=
idx
;
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT_LEN
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT
,
(
const
char
*
)
packet
,
MAVLINK_MSG_ID_FENCE_FETCH_POINT_LEN
);
#endif
#endif
}
#endif
#endif
// MESSAGE FENCE_FETCH_POINT UNPACKING
...
...
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_fence_point.h
View file @
4ac07c37
...
...
@@ -201,6 +201,48 @@ static inline void mavlink_msg_fence_point_send(mavlink_channel_t chan, uint8_t
#endif
}
#if MAVLINK_MSG_ID_FENCE_POINT_LEN <= MAVLINK_MAX_PAYLOAD_LEN
/*
This varient of _send() can be used to save stack space by re-using
memory from the receive buffer. The caller provides a
mavlink_message_t which is the size of a full mavlink message. This
is usually the receive buffer for the channel, and allows a reply to an
incoming message with minimum stack space usage.
*/
static
inline
void
mavlink_msg_fence_point_send_buf
(
mavlink_message_t
*
msgbuf
,
mavlink_channel_t
chan
,
uint8_t
target_system
,
uint8_t
target_component
,
uint8_t
idx
,
uint8_t
count
,
float
lat
,
float
lng
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
*
buf
=
(
char
*
)
msgbuf
;
_mav_put_float
(
buf
,
0
,
lat
);
_mav_put_float
(
buf
,
4
,
lng
);
_mav_put_uint8_t
(
buf
,
8
,
target_system
);
_mav_put_uint8_t
(
buf
,
9
,
target_component
);
_mav_put_uint8_t
(
buf
,
10
,
idx
);
_mav_put_uint8_t
(
buf
,
11
,
count
);
#if MAVLINK_CRC_EXTRA
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_FENCE_POINT
,
buf
,
MAVLINK_MSG_ID_FENCE_POINT_LEN
,
MAVLINK_MSG_ID_FENCE_POINT_CRC
);
#else
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_FENCE_POINT
,
buf
,
MAVLINK_MSG_ID_FENCE_POINT_LEN
);
#endif
#else
mavlink_fence_point_t
*
packet
=
(
mavlink_fence_point_t
*
)
msgbuf
;
packet
->
lat
=
lat
;
packet
->
lng
=
lng
;
packet
->
target_system
=
target_system
;