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
44684144
Commit
44684144
authored
Jun 09, 2013
by
Bryant
Browse files
Options
Browse Files
Download
Plain Diff
Merged in large flight display UI redesign
parents
86de69d4
796a8d85
Changes
243
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
243 changed files
with
13153 additions
and
4120 deletions
+13153
-4120
README
README
+2
-1
dongfang_qgroundcontrol_notes.txt
dongfang_qgroundcontrol_notes.txt
+90
-0
dongfang_qgroundcontrol_wishlist.txt
dongfang_qgroundcontrol_wishlist.txt
+23
-0
arduplane.pdef.xml
files/ardupilotmega/arduplane.pdef.xml
+914
-352
ardupilotmega.h
...avlink/include/mavlink/v1.0/ardupilotmega/ardupilotmega.h
+5
-4
mavlink_msg_ahrs.h
...ink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ahrs.h
+31
-12
mavlink_msg_ap_adc.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ap_adc.h
+31
-12
mavlink_msg_data16.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data16.h
+31
-12
mavlink_msg_data32.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data32.h
+31
-12
mavlink_msg_data64.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data64.h
+31
-12
mavlink_msg_data96.h
...k/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data96.h
+31
-12
mavlink_msg_digicam_configure.h
...avlink/v1.0/ardupilotmega/mavlink_msg_digicam_configure.h
+31
-12
mavlink_msg_digicam_control.h
.../mavlink/v1.0/ardupilotmega/mavlink_msg_digicam_control.h
+31
-12
mavlink_msg_fence_fetch_point.h
...avlink/v1.0/ardupilotmega/mavlink_msg_fence_fetch_point.h
+31
-12
mavlink_msg_fence_point.h
...lude/mavlink/v1.0/ardupilotmega/mavlink_msg_fence_point.h
+31
-12
mavlink_msg_fence_status.h
...ude/mavlink/v1.0/ardupilotmega/mavlink_msg_fence_status.h
+31
-12
mavlink_msg_hwstatus.h
...include/mavlink/v1.0/ardupilotmega/mavlink_msg_hwstatus.h
+31
-12
mavlink_msg_limits_status.h
...de/mavlink/v1.0/ardupilotmega/mavlink_msg_limits_status.h
+31
-12
mavlink_msg_meminfo.h
.../include/mavlink/v1.0/ardupilotmega/mavlink_msg_meminfo.h
+31
-12
mavlink_msg_mount_configure.h
.../mavlink/v1.0/ardupilotmega/mavlink_msg_mount_configure.h
+31
-12
mavlink_msg_mount_control.h
...de/mavlink/v1.0/ardupilotmega/mavlink_msg_mount_control.h
+31
-12
mavlink_msg_mount_status.h
...ude/mavlink/v1.0/ardupilotmega/mavlink_msg_mount_status.h
+31
-12
mavlink_msg_radio.h
...nk/include/mavlink/v1.0/ardupilotmega/mavlink_msg_radio.h
+31
-12
mavlink_msg_rangefinder.h
...lude/mavlink/v1.0/ardupilotmega/mavlink_msg_rangefinder.h
+185
-0
mavlink_msg_sensor_offsets.h
...e/mavlink/v1.0/ardupilotmega/mavlink_msg_sensor_offsets.h
+31
-12
mavlink_msg_set_mag_offsets.h
.../mavlink/v1.0/ardupilotmega/mavlink_msg_set_mag_offsets.h
+31
-12
mavlink_msg_simstate.h
...include/mavlink/v1.0/ardupilotmega/mavlink_msg_simstate.h
+31
-12
mavlink_msg_wind.h
...ink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_wind.h
+31
-12
testsuite.h
libs/mavlink/include/mavlink/v1.0/ardupilotmega/testsuite.h
+46
-0
version.h
libs/mavlink/include/mavlink/v1.0/ardupilotmega/version.h
+1
-1
common.h
libs/mavlink/include/mavlink/v1.0/common/common.h
+9
-46
mavlink_msg_attitude.h
...avlink/include/mavlink/v1.0/common/mavlink_msg_attitude.h
+31
-12
mavlink_msg_attitude_quaternion.h
...ude/mavlink/v1.0/common/mavlink_msg_attitude_quaternion.h
+31
-12
mavlink_msg_auth_key.h
...avlink/include/mavlink/v1.0/common/mavlink_msg_auth_key.h
+31
-12
mavlink_msg_battery_status.h
.../include/mavlink/v1.0/common/mavlink_msg_battery_status.h
+31
-12
mavlink_msg_change_operator_control.h
...mavlink/v1.0/common/mavlink_msg_change_operator_control.h
+31
-12
mavlink_msg_change_operator_control_ack.h
...ink/v1.0/common/mavlink_msg_change_operator_control_ack.h
+31
-12
mavlink_msg_command_ack.h
...ink/include/mavlink/v1.0/common/mavlink_msg_command_ack.h
+31
-12
mavlink_msg_command_long.h
...nk/include/mavlink/v1.0/common/mavlink_msg_command_long.h
+31
-12
mavlink_msg_data_stream.h
...ink/include/mavlink/v1.0/common/mavlink_msg_data_stream.h
+31
-12
mavlink_msg_debug.h
libs/mavlink/include/mavlink/v1.0/common/mavlink_msg_debug.h
+31
-12
mavlink_msg_debug_vect.h
...link/include/mavlink/v1.0/common/mavlink_msg_debug_vect.h
+31
-12
mavlink_msg_file_transfer_dir_list.h
.../mavlink/v1.0/common/mavlink_msg_file_transfer_dir_list.h
+31
-12
mavlink_msg_file_transfer_res.h
...clude/mavlink/v1.0/common/mavlink_msg_file_transfer_res.h
+31
-12
mavlink_msg_file_transfer_start.h
...ude/mavlink/v1.0/common/mavlink_msg_file_transfer_start.h
+31
-12
mavlink_msg_global_position_int.h
...ude/mavlink/v1.0/common/mavlink_msg_global_position_int.h
+31
-12
mavlink_msg_global_position_setpoint_int.h
...nk/v1.0/common/mavlink_msg_global_position_setpoint_int.h
+46
-27
mavlink_msg_global_vision_position_estimate.h
...v1.0/common/mavlink_msg_global_vision_position_estimate.h
+31
-12
mavlink_msg_gps_global_origin.h
...clude/mavlink/v1.0/common/mavlink_msg_gps_global_origin.h
+46
-27
mavlink_msg_gps_raw_int.h
...ink/include/mavlink/v1.0/common/mavlink_msg_gps_raw_int.h
+46
-27
mavlink_msg_gps_status.h
...link/include/mavlink/v1.0/common/mavlink_msg_gps_status.h
+31
-12
mavlink_msg_heartbeat.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_heartbeat.h
+31
-12
mavlink_msg_highres_imu.h
...ink/include/mavlink/v1.0/common/mavlink_msg_highres_imu.h
+31
-12
mavlink_msg_hil_controls.h
...nk/include/mavlink/v1.0/common/mavlink_msg_hil_controls.h
+31
-12
mavlink_msg_hil_rc_inputs_raw.h
...clude/mavlink/v1.0/common/mavlink_msg_hil_rc_inputs_raw.h
+31
-12
mavlink_msg_hil_sensor.h
...link/include/mavlink/v1.0/common/mavlink_msg_hil_sensor.h
+603
-0
mavlink_msg_hil_state.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_hil_state.h
+31
-12
mavlink_msg_local_position_ned.h
...lude/mavlink/v1.0/common/mavlink_msg_local_position_ned.h
+31
-12
mavlink_msg_local_position_ned_system_global_offset.h
...mon/mavlink_msg_local_position_ned_system_global_offset.h
+31
-12
mavlink_msg_local_position_setpoint.h
...mavlink/v1.0/common/mavlink_msg_local_position_setpoint.h
+31
-12
mavlink_msg_manual_control.h
.../include/mavlink/v1.0/common/mavlink_msg_manual_control.h
+31
-12
mavlink_msg_manual_setpoint.h
...include/mavlink/v1.0/common/mavlink_msg_manual_setpoint.h
+31
-12
mavlink_msg_memory_vect.h
...ink/include/mavlink/v1.0/common/mavlink_msg_memory_vect.h
+31
-12
mavlink_msg_mission_ack.h
...ink/include/mavlink/v1.0/common/mavlink_msg_mission_ack.h
+31
-12
mavlink_msg_mission_clear_all.h
...clude/mavlink/v1.0/common/mavlink_msg_mission_clear_all.h
+31
-12
mavlink_msg_mission_count.h
...k/include/mavlink/v1.0/common/mavlink_msg_mission_count.h
+31
-12
mavlink_msg_mission_current.h
...include/mavlink/v1.0/common/mavlink_msg_mission_current.h
+31
-12
mavlink_msg_mission_item.h
...nk/include/mavlink/v1.0/common/mavlink_msg_mission_item.h
+31
-12
mavlink_msg_mission_item_reached.h
...de/mavlink/v1.0/common/mavlink_msg_mission_item_reached.h
+31
-12
mavlink_msg_mission_request.h
...include/mavlink/v1.0/common/mavlink_msg_mission_request.h
+31
-12
mavlink_msg_mission_request_list.h
...de/mavlink/v1.0/common/mavlink_msg_mission_request_list.h
+31
-12
mavlink_msg_mission_request_partial_list.h
...nk/v1.0/common/mavlink_msg_mission_request_partial_list.h
+31
-12
mavlink_msg_mission_set_current.h
...ude/mavlink/v1.0/common/mavlink_msg_mission_set_current.h
+31
-12
mavlink_msg_mission_write_partial_list.h
...link/v1.0/common/mavlink_msg_mission_write_partial_list.h
+31
-12
mavlink_msg_named_value_float.h
...clude/mavlink/v1.0/common/mavlink_msg_named_value_float.h
+31
-12
mavlink_msg_named_value_int.h
...include/mavlink/v1.0/common/mavlink_msg_named_value_int.h
+31
-12
mavlink_msg_nav_controller_output.h
...e/mavlink/v1.0/common/mavlink_msg_nav_controller_output.h
+31
-12
mavlink_msg_omnidirectional_flow.h
...de/mavlink/v1.0/common/mavlink_msg_omnidirectional_flow.h
+31
-12
mavlink_msg_optical_flow.h
...nk/include/mavlink/v1.0/common/mavlink_msg_optical_flow.h
+31
-12
mavlink_msg_param_request_list.h
...lude/mavlink/v1.0/common/mavlink_msg_param_request_list.h
+31
-12
mavlink_msg_param_request_read.h
...lude/mavlink/v1.0/common/mavlink_msg_param_request_read.h
+31
-12
mavlink_msg_param_set.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_param_set.h
+31
-12
mavlink_msg_param_value.h
...ink/include/mavlink/v1.0/common/mavlink_msg_param_value.h
+31
-12
mavlink_msg_ping.h
libs/mavlink/include/mavlink/v1.0/common/mavlink_msg_ping.h
+31
-12
mavlink_msg_radio_status.h
...nk/include/mavlink/v1.0/common/mavlink_msg_radio_status.h
+295
-0
mavlink_msg_raw_imu.h
...mavlink/include/mavlink/v1.0/common/mavlink_msg_raw_imu.h
+31
-12
mavlink_msg_raw_pressure.h
...nk/include/mavlink/v1.0/common/mavlink_msg_raw_pressure.h
+31
-12
mavlink_msg_rc_channels_override.h
...de/mavlink/v1.0/common/mavlink_msg_rc_channels_override.h
+31
-12
mavlink_msg_rc_channels_raw.h
...include/mavlink/v1.0/common/mavlink_msg_rc_channels_raw.h
+31
-12
mavlink_msg_rc_channels_scaled.h
...lude/mavlink/v1.0/common/mavlink_msg_rc_channels_scaled.h
+31
-12
mavlink_msg_request_data_stream.h
...ude/mavlink/v1.0/common/mavlink_msg_request_data_stream.h
+31
-12
mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h
...common/mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h
+31
-12
mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h
...common/mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h
+31
-12
mavlink_msg_roll_pitch_yaw_thrust_setpoint.h
.../v1.0/common/mavlink_msg_roll_pitch_yaw_thrust_setpoint.h
+31
-12
mavlink_msg_safety_allowed_area.h
...ude/mavlink/v1.0/common/mavlink_msg_safety_allowed_area.h
+31
-12
mavlink_msg_safety_set_allowed_area.h
...mavlink/v1.0/common/mavlink_msg_safety_set_allowed_area.h
+31
-12
mavlink_msg_scaled_imu.h
...link/include/mavlink/v1.0/common/mavlink_msg_scaled_imu.h
+31
-12
mavlink_msg_scaled_pressure.h
...include/mavlink/v1.0/common/mavlink_msg_scaled_pressure.h
+31
-12
mavlink_msg_servo_output_raw.h
...nclude/mavlink/v1.0/common/mavlink_msg_servo_output_raw.h
+31
-12
mavlink_msg_set_global_position_setpoint_int.h
...1.0/common/mavlink_msg_set_global_position_setpoint_int.h
+46
-27
mavlink_msg_set_gps_global_origin.h
...e/mavlink/v1.0/common/mavlink_msg_set_gps_global_origin.h
+46
-27
mavlink_msg_set_local_position_setpoint.h
...ink/v1.0/common/mavlink_msg_set_local_position_setpoint.h
+31
-12
mavlink_msg_set_mode.h
...avlink/include/mavlink/v1.0/common/mavlink_msg_set_mode.h
+31
-12
mavlink_msg_set_quad_motors_setpoint.h
...avlink/v1.0/common/mavlink_msg_set_quad_motors_setpoint.h
+31
-12
mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h
...on/mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h
+31
-12
mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h
...common/mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h
+31
-12
mavlink_msg_set_roll_pitch_yaw_speed_thrust.h
...v1.0/common/mavlink_msg_set_roll_pitch_yaw_speed_thrust.h
+31
-12
mavlink_msg_set_roll_pitch_yaw_thrust.h
...vlink/v1.0/common/mavlink_msg_set_roll_pitch_yaw_thrust.h
+31
-12
mavlink_msg_setpoint_6dof.h
...k/include/mavlink/v1.0/common/mavlink_msg_setpoint_6dof.h
+31
-12
mavlink_msg_setpoint_8dof.h
...k/include/mavlink/v1.0/common/mavlink_msg_setpoint_8dof.h
+31
-12
mavlink_msg_sim_state.h
...vlink/include/mavlink/v1.0/common/mavlink_msg_sim_state.h
+383
-0
mavlink_msg_state_correction.h
...nclude/mavlink/v1.0/common/mavlink_msg_state_correction.h
+31
-12
mavlink_msg_statustext.h
...link/include/mavlink/v1.0/common/mavlink_msg_statustext.h
+31
-12
mavlink_msg_sys_status.h
...link/include/mavlink/v1.0/common/mavlink_msg_sys_status.h
+31
-12
mavlink_msg_system_time.h
...ink/include/mavlink/v1.0/common/mavlink_msg_system_time.h
+31
-12
mavlink_msg_vfr_hud.h
...mavlink/include/mavlink/v1.0/common/mavlink_msg_vfr_hud.h
+31
-12
mavlink_msg_vicon_position_estimate.h
...mavlink/v1.0/common/mavlink_msg_vicon_position_estimate.h
+31
-12
mavlink_msg_vision_position_estimate.h
...avlink/v1.0/common/mavlink_msg_vision_position_estimate.h
+31
-12
mavlink_msg_vision_speed_estimate.h
...e/mavlink/v1.0/common/mavlink_msg_vision_speed_estimate.h
+31
-12
testsuite.h
libs/mavlink/include/mavlink/v1.0/common/testsuite.h
+204
-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
+3
-3
mavlink_msg_airspeeds.h
.../include/mavlink/v1.0/matrixpilot/mavlink_msg_airspeeds.h
+31
-12
mavlink_msg_altitudes.h
.../include/mavlink/v1.0/matrixpilot/mavlink_msg_altitudes.h
+31
-12
mavlink_msg_flexifunction_buffer_function.h
...0/matrixpilot/mavlink_msg_flexifunction_buffer_function.h
+31
-12
mavlink_msg_flexifunction_buffer_function_ack.h
...trixpilot/mavlink_msg_flexifunction_buffer_function_ack.h
+31
-12
mavlink_msg_flexifunction_command.h
...link/v1.0/matrixpilot/mavlink_msg_flexifunction_command.h
+31
-12
mavlink_msg_flexifunction_command_ack.h
.../v1.0/matrixpilot/mavlink_msg_flexifunction_command_ack.h
+31
-12
mavlink_msg_flexifunction_directory.h
...nk/v1.0/matrixpilot/mavlink_msg_flexifunction_directory.h
+31
-12
mavlink_msg_flexifunction_directory_ack.h
...1.0/matrixpilot/mavlink_msg_flexifunction_directory_ack.h
+31
-12
mavlink_msg_flexifunction_read_req.h
...ink/v1.0/matrixpilot/mavlink_msg_flexifunction_read_req.h
+31
-12
mavlink_msg_flexifunction_set.h
.../mavlink/v1.0/matrixpilot/mavlink_msg_flexifunction_set.h
+31
-12
mavlink_msg_serial_udb_extra_f13.h
...vlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f13.h
+31
-12
mavlink_msg_serial_udb_extra_f14.h
...vlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f14.h
+31
-12
mavlink_msg_serial_udb_extra_f15.h
...vlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f15.h
+31
-12
mavlink_msg_serial_udb_extra_f16.h
...vlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f16.h
+31
-12
mavlink_msg_serial_udb_extra_f2_a.h
...link/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f2_a.h
+31
-12
mavlink_msg_serial_udb_extra_f2_b.h
...link/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f2_b.h
+31
-12
mavlink_msg_serial_udb_extra_f4.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f4.h
+31
-12
mavlink_msg_serial_udb_extra_f5.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f5.h
+31
-12
mavlink_msg_serial_udb_extra_f6.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f6.h
+31
-12
mavlink_msg_serial_udb_extra_f7.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f7.h
+31
-12
mavlink_msg_serial_udb_extra_f8.h
...avlink/v1.0/matrixpilot/mavlink_msg_serial_udb_extra_f8.h
+31
-12
version.h
libs/mavlink/include/mavlink/v1.0/matrixpilot/version.h
+1
-1
mavlink_types.h
libs/mavlink/include/mavlink/v1.0/mavlink_types.h
+3
-2
mavlink_msg_attitude_control.h
...clude/mavlink/v1.0/pixhawk/mavlink_msg_attitude_control.h
+31
-12
mavlink_msg_brief_feature.h
.../include/mavlink/v1.0/pixhawk/mavlink_msg_brief_feature.h
+31
-12
mavlink_msg_data_transmission_handshake.h
...nk/v1.0/pixhawk/mavlink_msg_data_transmission_handshake.h
+31
-12
mavlink_msg_encapsulated_data.h
...lude/mavlink/v1.0/pixhawk/mavlink_msg_encapsulated_data.h
+31
-12
mavlink_msg_image_available.h
...nclude/mavlink/v1.0/pixhawk/mavlink_msg_image_available.h
+31
-12
mavlink_msg_image_trigger_control.h
.../mavlink/v1.0/pixhawk/mavlink_msg_image_trigger_control.h
+31
-12
mavlink_msg_image_triggered.h
...nclude/mavlink/v1.0/pixhawk/mavlink_msg_image_triggered.h
+31
-12
mavlink_msg_marker.h
...mavlink/include/mavlink/v1.0/pixhawk/mavlink_msg_marker.h
+31
-12
mavlink_msg_pattern_detected.h
...clude/mavlink/v1.0/pixhawk/mavlink_msg_pattern_detected.h
+31
-12
mavlink_msg_point_of_interest.h
...lude/mavlink/v1.0/pixhawk/mavlink_msg_point_of_interest.h
+31
-12
mavlink_msg_point_of_interest_connection.h
...k/v1.0/pixhawk/mavlink_msg_point_of_interest_connection.h
+31
-12
mavlink_msg_position_control_setpoint.h
...link/v1.0/pixhawk/mavlink_msg_position_control_setpoint.h
+31
-12
mavlink_msg_raw_aux.h
...avlink/include/mavlink/v1.0/pixhawk/mavlink_msg_raw_aux.h
+31
-12
mavlink_msg_set_cam_shutter.h
...nclude/mavlink/v1.0/pixhawk/mavlink_msg_set_cam_shutter.h
+31
-12
mavlink_msg_set_position_control_offset.h
...nk/v1.0/pixhawk/mavlink_msg_set_position_control_offset.h
+31
-12
mavlink_msg_watchdog_command.h
...clude/mavlink/v1.0/pixhawk/mavlink_msg_watchdog_command.h
+31
-12
mavlink_msg_watchdog_heartbeat.h
...ude/mavlink/v1.0/pixhawk/mavlink_msg_watchdog_heartbeat.h
+31
-12
mavlink_msg_watchdog_process_info.h
.../mavlink/v1.0/pixhawk/mavlink_msg_watchdog_process_info.h
+31
-12
mavlink_msg_watchdog_process_status.h
...avlink/v1.0/pixhawk/mavlink_msg_watchdog_process_status.h
+31
-12
pixhawk.h
libs/mavlink/include/mavlink/v1.0/pixhawk/pixhawk.h
+3
-3
version.h
libs/mavlink/include/mavlink/v1.0/pixhawk/version.h
+1
-1
protocol.h
libs/mavlink/include/mavlink/v1.0/protocol.h
+2
-0
mavlink_msg_cmd_airspeed_ack.h
...ude/mavlink/v1.0/sensesoar/mavlink_msg_cmd_airspeed_ack.h
+31
-12
mavlink_msg_cmd_airspeed_chng.h
...de/mavlink/v1.0/sensesoar/mavlink_msg_cmd_airspeed_chng.h
+31
-12
mavlink_msg_filt_rot_vel.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_filt_rot_vel.h
+31
-12
mavlink_msg_llc_out.h
...link/include/mavlink/v1.0/sensesoar/mavlink_msg_llc_out.h
+31
-12
mavlink_msg_obs_air_temp.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_obs_air_temp.h
+31
-12
mavlink_msg_obs_air_velocity.h
...ude/mavlink/v1.0/sensesoar/mavlink_msg_obs_air_velocity.h
+31
-12
mavlink_msg_obs_attitude.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_obs_attitude.h
+31
-12
mavlink_msg_obs_bias.h
...ink/include/mavlink/v1.0/sensesoar/mavlink_msg_obs_bias.h
+31
-12
mavlink_msg_obs_position.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_obs_position.h
+31
-12
mavlink_msg_obs_qff.h
...link/include/mavlink/v1.0/sensesoar/mavlink_msg_obs_qff.h
+31
-12
mavlink_msg_obs_velocity.h
...include/mavlink/v1.0/sensesoar/mavlink_msg_obs_velocity.h
+31
-12
mavlink_msg_obs_wind.h
...ink/include/mavlink/v1.0/sensesoar/mavlink_msg_obs_wind.h
+31
-12
mavlink_msg_pm_elec.h
...link/include/mavlink/v1.0/sensesoar/mavlink_msg_pm_elec.h
+31
-12
mavlink_msg_sys_stat.h
...ink/include/mavlink/v1.0/sensesoar/mavlink_msg_sys_stat.h
+31
-12
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
qgroundcontrol.pro
qgroundcontrol.pro
+53
-29
QGCCore.cc
src/QGCCore.cc
+3
-2
LinkInterface.h
src/comm/LinkInterface.h
+2
-0
SerialLink.cc
src/comm/SerialLink.cc
+19
-4
ArduPilotMegaMAV.h
src/uas/ArduPilotMegaMAV.h
+1
-3
UAS.cc
src/uas/UAS.cc
+93
-42
UAS.h
src/uas/UAS.h
+102
-51
UASInterface.h
src/uas/UASInterface.h
+51
-4
senseSoarMAV.cpp
src/uas/senseSoarMAV.cpp
+3
-3
DebugConsole.cc
src/ui/DebugConsole.cc
+8
-0
DebugConsole.h
src/ui/DebugConsole.h
+2
-0
DebugConsole.ui
src/ui/DebugConsole.ui
+3
-0
HSIDisplay.cc
src/ui/HSIDisplay.cc
+6
-3
HUD.cc
src/ui/HUD.cc
+40
-177
HUD.h
src/ui/HUD.h
+6
-8
MAVLinkDecoder.cc
src/ui/MAVLinkDecoder.cc
+1
-1
MAVLinkDecoder.h
src/ui/MAVLinkDecoder.h
+1
-0
MainWindow.cc
src/ui/MainWindow.cc
+86
-18
MainWindow.h
src/ui/MainWindow.h
+5
-0
PrimaryFlightDisplay.cpp
src/ui/PrimaryFlightDisplay.cpp
+1580
-0
PrimaryFlightDisplay.h
src/ui/PrimaryFlightDisplay.h
+182
-0
QGCRGBDView.cc
src/ui/QGCRGBDView.cc
+4
-4
QGCTabbedInfoView.cpp
src/ui/QGCTabbedInfoView.cpp
+22
-0
QGCTabbedInfoView.h
src/ui/QGCTabbedInfoView.h
+26
-0
QGCTabbedInfoView.ui
src/ui/QGCTabbedInfoView.ui
+28
-0
QGCToolBar.cc
src/ui/QGCToolBar.cc
+3
-3
QGCToolBar.h
src/ui/QGCToolBar.h
+1
-1
QGCVehicleConfig.cc
src/ui/QGCVehicleConfig.cc
+254
-31
QGCVehicleConfig.h
src/ui/QGCVehicleConfig.h
+12
-2
QGCVehicleConfig.ui
src/ui/QGCVehicleConfig.ui
+1145
-1148
SlugsDataSensorView.cc
src/ui/SlugsDataSensorView.cc
+1
-1
UASRawStatusView.cpp
src/ui/UASRawStatusView.cpp
+141
-0
UASRawStatusView.h
src/ui/UASRawStatusView.h
+36
-0
UASRawStatusView.ui
src/ui/UASRawStatusView.ui
+24
-0
QGCCommandButton.cc
src/ui/designer/QGCCommandButton.cc
+0
-1
QGCRadioChannelDisplay.cpp
src/ui/designer/QGCRadioChannelDisplay.cpp
+162
-0
QGCRadioChannelDisplay.h
src/ui/designer/QGCRadioChannelDisplay.h
+36
-0
dongfang-scrapyard.txt
src/ui/dongfang-scrapyard.txt
+243
-0
UASActionsWidget.cpp
src/ui/uas/UASActionsWidget.cpp
+114
-0
UASActionsWidget.h
src/ui/uas/UASActionsWidget.h
+29
-0
UASActionsWidget.ui
src/ui/uas/UASActionsWidget.ui
+236
-0
UASControlParameters.cpp
src/ui/uas/UASControlParameters.cpp
+1
-1
UASInfoWidget.cc
src/ui/uas/UASInfoWidget.cc
+3
-2
UASInfoWidget.h
src/ui/uas/UASInfoWidget.h
+1
-1
UASListWidget.cc
src/ui/uas/UASListWidget.cc
+3
-6
UASListWidget.h
src/ui/uas/UASListWidget.h
+0
-1
UASQuickView.cc
src/ui/uas/UASQuickView.cc
+261
-84
UASQuickView.h
src/ui/uas/UASQuickView.h
+37
-2
UASQuickView.ui
src/ui/uas/UASQuickView.ui
+1
-1
UASQuickViewGaugeItem.cc
src/ui/uas/UASQuickViewGaugeItem.cc
+25
-0
UASQuickViewGaugeItem.h
src/ui/uas/UASQuickViewGaugeItem.h
+19
-0
UASQuickViewItem.cc
src/ui/uas/UASQuickViewItem.cc
+0
-44
UASQuickViewItem.h
src/ui/uas/UASQuickViewItem.h
+2
-12
UASQuickViewItemSelect.cc
src/ui/uas/UASQuickViewItemSelect.cc
+46
-0
UASQuickViewItemSelect.h
src/ui/uas/UASQuickViewItemSelect.h
+26
-0
UASQuickViewItemSelect.ui
src/ui/uas/UASQuickViewItemSelect.ui
+43
-0
UASQuickViewTextItem.cc
src/ui/uas/UASQuickViewTextItem.cc
+53
-0
UASQuickViewTextItem.h
src/ui/uas/UASQuickViewTextItem.h
+19
-0
UASView.cc
src/ui/uas/UASView.cc
+4
-3
UASView.h
src/ui/uas/UASView.h
+1
-1
No files found.
README
View file @
44684144
maah
QGroundControl Open Source Micro Air Vehicle Ground Control Station
Project:
...
...
@@ -36,7 +37,7 @@ Build QGroundControl
--------------------
1) From the terminal go to the `groundcontrol` directory
2) Run `qmake`
2) Run `qmake
-spec macx-g++
`
3) Run `make -j8`
...
...
dongfang_qgroundcontrol_notes.txt
0 → 100644
View file @
44684144
From where is the 3D mouse used?
Comm folder:
============
LinkInterface is a QThread. Appears to describe an interface on the host system (TCP port, serial port, ....).
Does it suppport multiple connections?
SerialLinkInterface: Extension of above
SerialLink: Implementation
XBeeLinkInterface: Extension of LinkInterface (but without other serial stuff than baudrate, is the rest assumed?)
XBeeLink: Implementation (with address resetting probably it's Series 1)
UDPLink: UDP implementation. Port is defaulted.
MAVLinkSimulationLink: Simulation/dummy implementation of LinkInterface. Does some file IO.
MAVLinkSimulationUAV: Simulation/dummy basic (remote) UAV state (minus mission state) for MAVLinkSimulationLink.
MAVLinkSimulationWaypointPlanner: imulation/dummy basic (remote) UAV mission state for MAVLinkSimulationLink.
ProtocolInterface describes a protocol. Major method:
virtual void receiveBytes(LinkInterface *link, QByteArray b) = 0;
MavlinkProtocol: MAVLink implementation of ProtocolInterface
Parameter: Identity of a parameter (the value types are not handled here. Oddly there is no type metainfo either)
ParameterList: Is pretty much what the name impiles.
QGCParamID: Wrapper if parameter text IDs, conversion to byte* and back
QGCHilLink: Link to a HIL external system
QCGFlightGearLink, QGCJSBSimLink, QGCXPlaneLink : Implementations of QGCHilLink
QGCMAVLink: Nothing more than in include to raw mavlink.h
input folder:
=============
Some exotic input devices
uas folder:
===========
UAS.h: Local UAV model. Claims to support some sort of RPC. Uses some properties with notifications. Assumes MAVLink.
Some methods:
int getUASID() const; // the systemId
QList<LinkInterface*>* getLinks(); // it knows its links
virtual void receiveMessage(LinkInterface* link, mavlink_message_t message);
float receiveDropRate; ///< Percentage of packets that were dropped on the MAV's receiving link (from GCS and other MAVs)
float sendDropRate; ///< Percentage of packets that were not received from the MAV by the GCS
Some fields:
bool positionLock; ///< Status if position information is available or not
double localX; // (what is this?)
double localY;
double localZ;
double latitude; ///< Global latitude as estimated by position estimator
double longitude; ///< Global longitude as estimated by position estimator
double altitude; ///< Global altitude as estimated by position estimator
double satelliteCount; ///< Number of satellites visible to raw GPS
bool globalEstimatorActive; ///< Global position estimator present, do not fall back to GPS raw for position
double latitude_gps; ///< Global latitude as estimated by raw GPS
double longitude_gps; ///< Global longitude as estimated by raw GPS
double altitude_gps; ///< Global altitude as estimated by raw GPS
and lots ans lots more...
*MAV.h: Implementations of UAS
QGCUASParamManager.h: A mixture of a widget and a parameter up/download state machine. Has a reference to its associated UAV.
UASWaypointManager: API to waypoint / mission control. Not a widget. Has a reference to its associated UAV.
UASManager.h: Singleton interface to all UASs on all interfaces. Maintains a single selected/active UAS.
Ideas to do
TCPLink
XBee Series2 implementation
Less stress on uplink
Get rid of hardcoded SystemId of 255
Quick View should print all altitudes (GPS, mix, ground and/or home), letting user see errors.
Console debugging is hopefully removed?
dongfang_qgroundcontrol_wishlist.txt
0 → 100644
View file @
44684144
Major
1) Absolute altitude should absolutely work. Also in face of bad GPS init.
How does the mission planning part work with that, how is alt. stored in waypoints?
When is home altitude stored in the UAV?
2) Some people have worse datalinks than average - eg. slow or noisy telemetry. GPRS data also easily gets
flooded. All data rates should be configurable and uplinks eased off a little.
3) Some streams should be sent always even if not in use. For example using RC override and then stopping
using it: If the UAV does not received the final RC override message with zero values for all channels,
it will not get out of RC override. A solution is to make the message non final, repeating it every
now and then.
Minor
1) I would like to see initial dummy values for eg. battery voltage go away and be replaced by "unknown".
Dummy values confuse, you won't know if your sensors and link are working or not.
2) Suggestion if the DO_JUMP behavior of APM today (where DO_JUMP requires a waypoint command after it):
Modify APM code so DO_JUMP is regarded a navigation command. Make non navigation commands appear in
planning as sub commands of navigation commands (indent them). Easier to understand.
3) Old style audio with signals/bells/beeps / Morse may be prefered by some. Maybe add slots'n'signals for
all audio and different implementation types (speech, beep, ...). Or a generic operator messaging thing.
files/ardupilotmega/arduplane.pdef.xml
View file @
44684144
This source diff could not be displayed because it is too large. You can
view the blob
instead.
libs/mavlink/include/mavlink/v1.0/ardupilotmega/ardupilotmega.h
View file @
44684144
This diff is collapsed.
Click to expand it.
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ahrs.h
View file @
44684144
...
...
@@ -16,6 +16,9 @@ typedef struct __mavlink_ahrs_t
#define MAVLINK_MSG_ID_AHRS_LEN 28
#define MAVLINK_MSG_ID_163_LEN 28
#define MAVLINK_MSG_ID_AHRS_CRC 127
#define MAVLINK_MSG_ID_163_CRC 127
#define MAVLINK_MESSAGE_INFO_AHRS { \
...
...
@@ -51,7 +54,7 @@ static inline uint16_t mavlink_msg_ahrs_pack(uint8_t system_id, uint8_t componen
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
[
28
];
char
buf
[
MAVLINK_MSG_ID_AHRS_LEN
];
_mav_put_float
(
buf
,
0
,
omegaIx
);
_mav_put_float
(
buf
,
4
,
omegaIy
);
_mav_put_float
(
buf
,
8
,
omegaIz
);
...
...
@@ -60,7 +63,7 @@ static inline uint16_t mavlink_msg_ahrs_pack(uint8_t system_id, uint8_t componen
_mav_put_float
(
buf
,
20
,
error_rp
);
_mav_put_float
(
buf
,
24
,
error_yaw
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
28
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
MAVLINK_MSG_ID_AHRS_LEN
);
#else
mavlink_ahrs_t
packet
;
packet
.
omegaIx
=
omegaIx
;
...
...
@@ -71,11 +74,15 @@ static inline uint16_t mavlink_msg_ahrs_pack(uint8_t system_id, uint8_t componen
packet
.
error_rp
=
error_rp
;
packet
.
error_yaw
=
error_yaw
;
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
28
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
MAVLINK_MSG_ID_AHRS_LEN
);
#endif
msg
->
msgid
=
MAVLINK_MSG_ID_AHRS
;
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
28
,
127
);
#if MAVLINK_CRC_EXTRA
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
MAVLINK_MSG_ID_AHRS_LEN
,
MAVLINK_MSG_ID_AHRS_CRC
);
#else
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
MAVLINK_MSG_ID_AHRS_LEN
);
#endif
}
/**
...
...
@@ -98,7 +105,7 @@ static inline uint16_t mavlink_msg_ahrs_pack_chan(uint8_t system_id, uint8_t com
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
[
28
];
char
buf
[
MAVLINK_MSG_ID_AHRS_LEN
];
_mav_put_float
(
buf
,
0
,
omegaIx
);
_mav_put_float
(
buf
,
4
,
omegaIy
);
_mav_put_float
(
buf
,
8
,
omegaIz
);
...
...
@@ -107,7 +114,7 @@ static inline uint16_t mavlink_msg_ahrs_pack_chan(uint8_t system_id, uint8_t com
_mav_put_float
(
buf
,
20
,
error_rp
);
_mav_put_float
(
buf
,
24
,
error_yaw
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
28
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
MAVLINK_MSG_ID_AHRS_LEN
);
#else
mavlink_ahrs_t
packet
;
packet
.
omegaIx
=
omegaIx
;
...
...
@@ -118,11 +125,15 @@ static inline uint16_t mavlink_msg_ahrs_pack_chan(uint8_t system_id, uint8_t com
packet
.
error_rp
=
error_rp
;
packet
.
error_yaw
=
error_yaw
;
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
28
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
MAVLINK_MSG_ID_AHRS_LEN
);
#endif
msg
->
msgid
=
MAVLINK_MSG_ID_AHRS
;
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
28
,
127
);
#if MAVLINK_CRC_EXTRA
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
MAVLINK_MSG_ID_AHRS_LEN
,
MAVLINK_MSG_ID_AHRS_CRC
);
#else
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
MAVLINK_MSG_ID_AHRS_LEN
);
#endif
}
/**
...
...
@@ -155,7 +166,7 @@ static inline uint16_t mavlink_msg_ahrs_encode(uint8_t system_id, uint8_t compon
static
inline
void
mavlink_msg_ahrs_send
(
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
[
28
];
char
buf
[
MAVLINK_MSG_ID_AHRS_LEN
];
_mav_put_float
(
buf
,
0
,
omegaIx
);
_mav_put_float
(
buf
,
4
,
omegaIy
);
_mav_put_float
(
buf
,
8
,
omegaIz
);
...
...
@@ -164,7 +175,11 @@ static inline void mavlink_msg_ahrs_send(mavlink_channel_t chan, float omegaIx,
_mav_put_float
(
buf
,
20
,
error_rp
);
_mav_put_float
(
buf
,
24
,
error_yaw
);
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS
,
buf
,
28
,
127
);
#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
;
packet
.
omegaIx
=
omegaIx
;
...
...
@@ -175,7 +190,11 @@ static inline void mavlink_msg_ahrs_send(mavlink_channel_t chan, float omegaIx,
packet
.
error_rp
=
error_rp
;
packet
.
error_yaw
=
error_yaw
;
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AHRS
,
(
const
char
*
)
&
packet
,
28
,
127
);
#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
}
...
...
@@ -271,6 +290,6 @@ static inline void mavlink_msg_ahrs_decode(const mavlink_message_t* msg, mavlink
ahrs
->
error_rp
=
mavlink_msg_ahrs_get_error_rp
(
msg
);
ahrs
->
error_yaw
=
mavlink_msg_ahrs_get_error_yaw
(
msg
);
#else
memcpy
(
ahrs
,
_MAV_PAYLOAD
(
msg
),
28
);
memcpy
(
ahrs
,
_MAV_PAYLOAD
(
msg
),
MAVLINK_MSG_ID_AHRS_LEN
);
#endif
}
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_ap_adc.h
View file @
44684144
...
...
@@ -15,6 +15,9 @@ typedef struct __mavlink_ap_adc_t
#define MAVLINK_MSG_ID_AP_ADC_LEN 12
#define MAVLINK_MSG_ID_153_LEN 12
#define MAVLINK_MSG_ID_AP_ADC_CRC 188
#define MAVLINK_MSG_ID_153_CRC 188
#define MAVLINK_MESSAGE_INFO_AP_ADC { \
...
...
@@ -48,7 +51,7 @@ static inline uint16_t mavlink_msg_ap_adc_pack(uint8_t system_id, uint8_t compon
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
[
12
];
char
buf
[
MAVLINK_MSG_ID_AP_ADC_LEN
];
_mav_put_uint16_t
(
buf
,
0
,
adc1
);
_mav_put_uint16_t
(
buf
,
2
,
adc2
);
_mav_put_uint16_t
(
buf
,
4
,
adc3
);
...
...
@@ -56,7 +59,7 @@ static inline uint16_t mavlink_msg_ap_adc_pack(uint8_t system_id, uint8_t compon
_mav_put_uint16_t
(
buf
,
8
,
adc5
);
_mav_put_uint16_t
(
buf
,
10
,
adc6
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
12
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
MAVLINK_MSG_ID_AP_ADC_LEN
);
#else
mavlink_ap_adc_t
packet
;
packet
.
adc1
=
adc1
;
...
...
@@ -66,11 +69,15 @@ static inline uint16_t mavlink_msg_ap_adc_pack(uint8_t system_id, uint8_t compon
packet
.
adc5
=
adc5
;
packet
.
adc6
=
adc6
;
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
12
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
MAVLINK_MSG_ID_AP_ADC_LEN
);
#endif
msg
->
msgid
=
MAVLINK_MSG_ID_AP_ADC
;
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
12
,
188
);
#if MAVLINK_CRC_EXTRA
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
MAVLINK_MSG_ID_AP_ADC_LEN
,
MAVLINK_MSG_ID_AP_ADC_CRC
);
#else
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
MAVLINK_MSG_ID_AP_ADC_LEN
);
#endif
}
/**
...
...
@@ -92,7 +99,7 @@ static inline uint16_t mavlink_msg_ap_adc_pack_chan(uint8_t system_id, uint8_t c
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
[
12
];
char
buf
[
MAVLINK_MSG_ID_AP_ADC_LEN
];
_mav_put_uint16_t
(
buf
,
0
,
adc1
);
_mav_put_uint16_t
(
buf
,
2
,
adc2
);
_mav_put_uint16_t
(
buf
,
4
,
adc3
);
...
...
@@ -100,7 +107,7 @@ static inline uint16_t mavlink_msg_ap_adc_pack_chan(uint8_t system_id, uint8_t c
_mav_put_uint16_t
(
buf
,
8
,
adc5
);
_mav_put_uint16_t
(
buf
,
10
,
adc6
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
12
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
MAVLINK_MSG_ID_AP_ADC_LEN
);
#else
mavlink_ap_adc_t
packet
;
packet
.
adc1
=
adc1
;
...
...
@@ -110,11 +117,15 @@ static inline uint16_t mavlink_msg_ap_adc_pack_chan(uint8_t system_id, uint8_t c
packet
.
adc5
=
adc5
;
packet
.
adc6
=
adc6
;
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
12
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
MAVLINK_MSG_ID_AP_ADC_LEN
);
#endif
msg
->
msgid
=
MAVLINK_MSG_ID_AP_ADC
;
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
12
,
188
);
#if MAVLINK_CRC_EXTRA
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
MAVLINK_MSG_ID_AP_ADC_LEN
,
MAVLINK_MSG_ID_AP_ADC_CRC
);
#else
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
MAVLINK_MSG_ID_AP_ADC_LEN
);
#endif
}
/**
...
...
@@ -146,7 +157,7 @@ static inline uint16_t mavlink_msg_ap_adc_encode(uint8_t system_id, uint8_t comp
static
inline
void
mavlink_msg_ap_adc_send
(
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
[
12
];
char
buf
[
MAVLINK_MSG_ID_AP_ADC_LEN
];
_mav_put_uint16_t
(
buf
,
0
,
adc1
);
_mav_put_uint16_t
(
buf
,
2
,
adc2
);
_mav_put_uint16_t
(
buf
,
4
,
adc3
);
...
...
@@ -154,7 +165,11 @@ static inline void mavlink_msg_ap_adc_send(mavlink_channel_t chan, uint16_t adc1
_mav_put_uint16_t
(
buf
,
8
,
adc5
);
_mav_put_uint16_t
(
buf
,
10
,
adc6
);
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AP_ADC
,
buf
,
12
,
188
);
#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
;
packet
.
adc1
=
adc1
;
...
...
@@ -164,7 +179,11 @@ static inline void mavlink_msg_ap_adc_send(mavlink_channel_t chan, uint16_t adc1
packet
.
adc5
=
adc5
;
packet
.
adc6
=
adc6
;
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_AP_ADC
,
(
const
char
*
)
&
packet
,
12
,
188
);
#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
}
...
...
@@ -249,6 +268,6 @@ static inline void mavlink_msg_ap_adc_decode(const mavlink_message_t* msg, mavli
ap_adc
->
adc5
=
mavlink_msg_ap_adc_get_adc5
(
msg
);
ap_adc
->
adc6
=
mavlink_msg_ap_adc_get_adc6
(
msg
);
#else
memcpy
(
ap_adc
,
_MAV_PAYLOAD
(
msg
),
12
);
memcpy
(
ap_adc
,
_MAV_PAYLOAD
(
msg
),
MAVLINK_MSG_ID_AP_ADC_LEN
);
#endif
}
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data16.h
View file @
44684144
...
...
@@ -12,6 +12,9 @@ typedef struct __mavlink_data16_t
#define MAVLINK_MSG_ID_DATA16_LEN 18
#define MAVLINK_MSG_ID_169_LEN 18
#define MAVLINK_MSG_ID_DATA16_CRC 234
#define MAVLINK_MSG_ID_169_CRC 234
#define MAVLINK_MSG_DATA16_FIELD_DATA_LEN 16
#define MAVLINK_MESSAGE_INFO_DATA16 { \
...
...
@@ -39,21 +42,25 @@ static inline uint16_t mavlink_msg_data16_pack(uint8_t system_id, uint8_t compon
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
buf
[
18
];
char
buf
[
MAVLINK_MSG_ID_DATA16_LEN
];
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
16
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
18
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
MAVLINK_MSG_ID_DATA16_LEN
);
#else
mavlink_data16_t
packet
;
packet
.
type
=
type
;
packet
.
len
=
len
;
mav_array_memcpy
(
packet
.
data
,
data
,
sizeof
(
uint8_t
)
*
16
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
18
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
MAVLINK_MSG_ID_DATA16_LEN
);
#endif
msg
->
msgid
=
MAVLINK_MSG_ID_DATA16
;
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
18
,
234
);
#if MAVLINK_CRC_EXTRA
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
MAVLINK_MSG_ID_DATA16_LEN
,
MAVLINK_MSG_ID_DATA16_CRC
);
#else
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
MAVLINK_MSG_ID_DATA16_LEN
);
#endif
}
/**
...
...
@@ -72,21 +79,25 @@ static inline uint16_t mavlink_msg_data16_pack_chan(uint8_t system_id, uint8_t c
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
buf
[
18
];
char
buf
[
MAVLINK_MSG_ID_DATA16_LEN
];
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
16
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
18
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
MAVLINK_MSG_ID_DATA16_LEN
);
#else
mavlink_data16_t
packet
;
packet
.
type
=
type
;
packet
.
len
=
len
;
mav_array_memcpy
(
packet
.
data
,
data
,
sizeof
(
uint8_t
)
*
16
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
18
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
MAVLINK_MSG_ID_DATA16_LEN
);
#endif
msg
->
msgid
=
MAVLINK_MSG_ID_DATA16
;
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
18
,
234
);
#if MAVLINK_CRC_EXTRA
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
MAVLINK_MSG_ID_DATA16_LEN
,
MAVLINK_MSG_ID_DATA16_CRC
);
#else
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
MAVLINK_MSG_ID_DATA16_LEN
);
#endif
}
/**
...
...
@@ -115,17 +126,25 @@ static inline uint16_t mavlink_msg_data16_encode(uint8_t system_id, uint8_t comp
static
inline
void
mavlink_msg_data16_send
(
mavlink_channel_t
chan
,
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
buf
[
18
];
char
buf
[
MAVLINK_MSG_ID_DATA16_LEN
];
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
16
);
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA16
,
buf
,
18
,
234
);
#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
;
packet
.
type
=
type
;
packet
.
len
=
len
;
mav_array_memcpy
(
packet
.
data
,
data
,
sizeof
(
uint8_t
)
*
16
);
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA16
,
(
const
char
*
)
&
packet
,
18
,
234
);
#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
}
...
...
@@ -177,6 +196,6 @@ static inline void mavlink_msg_data16_decode(const mavlink_message_t* msg, mavli
data16
->
len
=
mavlink_msg_data16_get_len
(
msg
);
mavlink_msg_data16_get_data
(
msg
,
data16
->
data
);
#else
memcpy
(
data16
,
_MAV_PAYLOAD
(
msg
),
18
);
memcpy
(
data16
,
_MAV_PAYLOAD
(
msg
),
MAVLINK_MSG_ID_DATA16_LEN
);
#endif
}
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data32.h
View file @
44684144
...
...
@@ -12,6 +12,9 @@ typedef struct __mavlink_data32_t
#define MAVLINK_MSG_ID_DATA32_LEN 34
#define MAVLINK_MSG_ID_170_LEN 34
#define MAVLINK_MSG_ID_DATA32_CRC 73
#define MAVLINK_MSG_ID_170_CRC 73
#define MAVLINK_MSG_DATA32_FIELD_DATA_LEN 32
#define MAVLINK_MESSAGE_INFO_DATA32 { \
...
...
@@ -39,21 +42,25 @@ static inline uint16_t mavlink_msg_data32_pack(uint8_t system_id, uint8_t compon
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
buf
[
34
];
char
buf
[
MAVLINK_MSG_ID_DATA32_LEN
];
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
32
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
34
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
MAVLINK_MSG_ID_DATA32_LEN
);
#else
mavlink_data32_t
packet
;
packet
.
type
=
type
;
packet
.
len
=
len
;
mav_array_memcpy
(
packet
.
data
,
data
,
sizeof
(
uint8_t
)
*
32
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
34
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
MAVLINK_MSG_ID_DATA32_LEN
);
#endif
msg
->
msgid
=
MAVLINK_MSG_ID_DATA32
;
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
34
,
73
);
#if MAVLINK_CRC_EXTRA
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
MAVLINK_MSG_ID_DATA32_LEN
,
MAVLINK_MSG_ID_DATA32_CRC
);
#else
return
mavlink_finalize_message
(
msg
,
system_id
,
component_id
,
MAVLINK_MSG_ID_DATA32_LEN
);
#endif
}
/**
...
...
@@ -72,21 +79,25 @@ static inline uint16_t mavlink_msg_data32_pack_chan(uint8_t system_id, uint8_t c
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
buf
[
34
];
char
buf
[
MAVLINK_MSG_ID_DATA32_LEN
];
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
32
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
34
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
buf
,
MAVLINK_MSG_ID_DATA32_LEN
);
#else
mavlink_data32_t
packet
;
packet
.
type
=
type
;
packet
.
len
=
len
;
mav_array_memcpy
(
packet
.
data
,
data
,
sizeof
(
uint8_t
)
*
32
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
34
);
memcpy
(
_MAV_PAYLOAD_NON_CONST
(
msg
),
&
packet
,
MAVLINK_MSG_ID_DATA32_LEN
);
#endif
msg
->
msgid
=
MAVLINK_MSG_ID_DATA32
;
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
34
,
73
);
#if MAVLINK_CRC_EXTRA
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
MAVLINK_MSG_ID_DATA32_LEN
,
MAVLINK_MSG_ID_DATA32_CRC
);
#else
return
mavlink_finalize_message_chan
(
msg
,
system_id
,
component_id
,
chan
,
MAVLINK_MSG_ID_DATA32_LEN
);
#endif
}
/**
...
...
@@ -115,17 +126,25 @@ static inline uint16_t mavlink_msg_data32_encode(uint8_t system_id, uint8_t comp
static
inline
void
mavlink_msg_data32_send
(
mavlink_channel_t
chan
,
uint8_t
type
,
uint8_t
len
,
const
uint8_t
*
data
)
{
#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
char
buf
[
34
];
char
buf
[
MAVLINK_MSG_ID_DATA32_LEN
];
_mav_put_uint8_t
(
buf
,
0
,
type
);
_mav_put_uint8_t
(
buf
,
1
,
len
);
_mav_put_uint8_t_array
(
buf
,
2
,
data
,
32
);
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA32
,
buf
,
34
,
73
);
#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
;
packet
.
type
=
type
;
packet
.
len
=
len
;
mav_array_memcpy
(
packet
.
data
,
data
,
sizeof
(
uint8_t
)
*
32
);
_mav_finalize_message_chan_send
(
chan
,
MAVLINK_MSG_ID_DATA32
,
(
const
char
*
)
&
packet
,
34
,
73
);
#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
}
...
...
@@ -177,6 +196,6 @@ static inline void mavlink_msg_data32_decode(const mavlink_message_t* msg, mavli
data32
->
len
=
mavlink_msg_data32_get_len
(
msg
);
mavlink_msg_data32_get_data
(
msg
,
data32
->
data
);
#else
memcpy
(
data32
,
_MAV_PAYLOAD
(
msg
),
34
);
memcpy
(
data32
,
_MAV_PAYLOAD
(
msg
),
MAVLINK_MSG_ID_DATA32_LEN
);
#endif
}
libs/mavlink/include/mavlink/v1.0/ardupilotmega/mavlink_msg_data64.h
View file @
44684144
...
...
@@ -12,6 +12,9 @@ typedef struct __mavlink_data64_t
#define MAVLINK_MSG_ID_DATA64_LEN 66
#define MAVLINK_MSG_ID_171_LEN 66
#define MAVLINK_MSG_ID_DATA64_CRC 181