Peter Barker
4a1adc69da
GCS_MAVLink: make compass.mag_cal_fixed_yaw return boolean
...
this method could be used from a transmitter without GCS enabled, for example
2024-02-06 11:11:27 +11:00
Peter Barker
f1457034e2
GCS_MAVLink: provide and use base-method implementation for guided mode request
2024-02-06 11:07:48 +11:00
Peter Barker
c33d665906
GCS_MAVLink: make rally/fence item conversion methods public
2024-01-24 19:14:41 +11:00
Peter Barker
5e5bca2bba
GCS_MAVLink: handle RADIO_STATUS is GCS base class
2024-01-24 18:43:15 +11:00
Peter Barker
f18e196fa9
GCS_MAVLink: use virtual method for GCS_MAVLink::handle_message
...
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
Peter Barker
cac3a2216d
GCS_MAVLink: make mavlink-required methods available even if not HAL_GCS_ENABLED
2024-01-23 11:27:30 +11:00
Peter Barker
cedcd190fc
GCS_MAVLink: add ASSERT_STORAGE_SIZE macro
...
saves havin gto name the dummy variable yourself
2024-01-22 22:44:05 +11:00
Andrew Tridgell
4289a4bb3a
GCS_MAVLink: added AP_HAVE_GCS_SEND_TEXT
2024-01-21 12:30:08 +11:00
Andrew Tridgell
1d6f1b9d8f
GCS_MAVLink: fixed passthru for SITL
...
prevent panic when we expect zero writes
2024-01-18 14:57:57 +11:00
Peter Barker
15cea77e98
GCS_MAVLink: exclude entire case statement for can filter modify
2024-01-17 18:34:06 +11:00
Peter Barker
4cf71de646
GCS_MAVLink: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Peter Barker
5b5ee4e95d
GCS_MAVLink: correct compilation when AP_AHRS_ENABLED is off
...
e.g. CubeOrange-periph-heavy
2024-01-16 16:14:04 +11:00
Peter Barker
caf1e33f17
GCS_MAVLink: make AHRS attitude member variables private
2024-01-14 12:47:47 +11:00
Peter Barker
964b683b83
GCS_MAVLink: add missing includes
2024-01-11 15:29:54 +11:00
Peter Barker
78087da03c
GCS_MAVLink: correct compilation when AP_MISSION_ENABLED is false
2024-01-03 16:16:47 +11:00
Peter Barker
4dae077787
GCS_MAVLink: return MAV_RESULT_COMMAND_INT_ONLY if command-long support not compiled in
2024-01-02 18:58:07 +11:00
Thomas Watson
94888822be
GCS_MAVLink: correct comment about stream array
2023-12-19 06:53:15 +11:00
Peter Barker
6515df72f0
GCS_MAVLink: correct compilation when AP_Vehicle disabled
2023-12-13 18:34:40 +11:00
Peter Barker
70cc84dd89
GCS_Common: correct compilation when AP_RSSI_ENABLED is false
2023-12-13 18:30:32 +11:00
Peter Barker
71a64d5046
GCS_MAVLink: correct compilation when compass not enabled
2023-12-13 14:34:13 +11:00
Iampete1
423a218643
GCS_MAVLink: use new filesystem crc32 method
2023-12-05 11:03:58 +11:00
Bob Long
467e62b967
GCS_Common: allow fallback vert rate in VFR_HUD
2023-12-05 10:44:37 +11:00
Andrew Tridgell
f345d94e91
GCS_MAVLink: increase max mavlink connections when networking enabled
2023-11-28 12:18:55 +11:00
Peter Mullen
adc0ebf9de
AP_RangeFinder: Add signal_quality_pct to range finder state
2023-11-21 22:24:12 +11:00
Peter Barker
bc03918ea4
GCS_MAVLink: create and use AP_MAVLINK_MSG_UAVIONIX_ADSB_OUT_STATUS_ENABLED
...
narrower define we can use when not compiling in the backends which use this
2023-11-21 13:21:13 +11:00
Peter Barker
6d172a1b22
GCS_MAVLink: exclude deadlock-creation based on FAILURE_CREATION_ENABLED
2023-11-21 09:35:50 +09:00
Peter Barker
170d96e8cc
GCS_Common: remove mappings for non-supported messages
2023-11-20 19:25:25 +11:00
Peter Barker
70160c58e8
GCS_MAVLink: tidy sending of ADSB messages
2023-11-20 19:25:25 +11:00
Peter Barker
6f5ff2f952
GCS_MAVLink: tidy sending of HIGH_LATENCY2 messages
2023-11-20 19:25:25 +11:00
Peter Barker
031e5b1dab
GCS_MAVLink: tidy sending of WATER_DEPTH messages
2023-11-20 19:25:25 +11:00
Peter Barker
a8906ac491
GCS_MAVLink: tidy sending of winch messages
2023-11-20 19:25:25 +11:00
Peter Barker
564e6ec77a
GCS_MAVLink: tidy sending of efi messages
2023-11-20 19:25:25 +11:00
Peter Barker
892bafe951
GCS_MAVLink: tidy sending of esc telem generator messages
2023-11-20 19:25:25 +11:00
Peter Barker
a95b2b2497
GCS_MAVLink: tidy sending of queued generator messages
2023-11-20 19:25:25 +11:00
Peter Barker
d894281f2b
GCS_MAVLink: tidy sending of queued SIM messages
2023-11-20 19:25:25 +11:00
Peter Barker
ec69867102
GCS_MAVLink: tidy sending of queued mcu status messages
2023-11-20 19:25:25 +11:00
Peter Barker
0983bd2d06
GCS_MAVLink: tidy sending of queued opticalflow messages
2023-11-20 19:25:25 +11:00
Peter Barker
c017c8acf4
GCS_MAVLink: tidy sending of queued mount messages
2023-11-20 19:25:25 +11:00
Peter Barker
24f00ddaf7
GCS_MAVLink: add and use AP_MAVLINK_COMMAND_LONG_ENABLED
2023-11-16 10:50:21 +11:00
Peter Barker
9ff9f8d216
GCS_MAVLink: remove no-longer-required location_from_command_t(command_long)
2023-11-16 10:50:21 +11:00
Peter Barker
485fa80f1c
GCS_MAVLink: collapse un-needed method
2023-11-16 10:50:21 +11:00
Peter Barker
e0eacdc197
ArduPlane: handle DO_SET_MISSION_CURRENT as both long and int
2023-11-16 10:50:21 +11:00
Peter Barker
d7160aea2d
GCS_MAVLink: handle DO_SET_MISSION_CURRENT as both long and int
2023-11-16 10:50:21 +11:00
Peter Barker
b572fe80ec
GCS_MAVLink: handle request autopilot capabilities as both long and int
2023-11-16 10:50:21 +11:00
Nick Exton
59c5092810
GCS_MAVLink: Handle param2 (reset) in DO_SET_MISSION_CURRENT cmd
2023-11-14 10:22:45 +11:00
Nick Exton
0567d8576e
GCS_MAVLink: Add explicit handling of DO_JUMP_TAG
2023-11-14 10:22:45 +11:00
Nick Exton
3ba63d33d5
GCS_MAVLink: Add handler for CAMERA_CAPTURE_STATUS request
2023-11-09 13:00:57 +09:00
Peter Barker
abf32906d2
GCS_MAVLink: support gripper commands as both long and int
2023-11-08 18:15:25 +11:00
Peter Barker
09ab14c69f
GCS_MAVLink: handle battery reset as both long and int
2023-11-08 18:14:27 +11:00
Peter Barker
1d08900cb0
GCS_MAVLink: handle MAV_CMD_DO_SPRAYER as both long and int
2023-11-07 10:55:46 +11:00
Peter Barker
9285188d85
GCS_MAVLink: handle DO_ADSB_OUT_IDENT as both long and int
2023-11-07 10:32:39 +11:00
Asif Khan
8a791d6082
GCS_MAVLink: add SEND_FOV_STATUS support
2023-11-02 15:54:37 +11:00
Peter Barker
187ae07225
GCS_MAVLink: handle camera messages as COMMAND_INT as well as COMMAND_LONG
2023-11-02 15:54:13 +11:00
Peter Barker
9d9b95af15
GCS_MAVLink: correct mavlink result when airspeed not available
...
only in progress if we have started a task running
2023-11-02 15:52:30 +11:00
Peter Barker
e162e74c0c
GCS_MAVLink: allow MAV_CMD_RUN_PREARMS as both long and int
2023-11-01 19:30:44 +11:00
Iampete1
d25d1c253e
GCS_MAVLink: MissionItemProtocol_Rally: deal with alt frame
2023-11-01 19:06:39 +11:00
Peter Barker
78475cad5c
GCS_MAVLink: handle FLASH_BOOTLOADER as command-long and command-int
2023-10-31 11:32:32 +11:00
Peter Barker
afd85c8613
GCS_MAVLink: handle MAV_CMD_START_RX_PAIR as both int and long
2023-10-31 11:18:57 +11:00
Nick Exton
57cead9052
GCS_MAVLink: Make handler for DO_SET_ROI_NONE common
2023-10-30 08:28:23 +09:00
Peter Barker
b5edc4c757
GCS_MAVLink: correct use of AP_MAVLINK_MSG_RELAY_STATUS_ENABLED define
2023-10-27 14:16:47 +11:00
Peter Barker
2ac9cc94c6
GCS_MAVLink: correct compilation if rangefinder disabled
2023-10-27 14:16:47 +11:00
Peter Barker
fbbadecfe3
GCS_MAVLink: tidy use of GPS mavlink defines
2023-10-27 14:16:47 +11:00
Peter Barker
1c7eebec3a
GCS_MAVLink: tidy proximity message handling
2023-10-27 14:16:47 +11:00
Peter Barker
306caae6e5
GCS_MAVLink: tidy OSD param message handling
2023-10-27 14:16:47 +11:00
Peter Barker
1f0ae343b1
GCS_MAVLink: tidy ADSB message handling
2023-10-27 14:16:47 +11:00
Peter Barker
c1f0c9e70a
GCS_MAVLink: tidy CAN message handling
2023-10-27 14:16:47 +11:00
Peter Barker
0f6718b23d
GCS_MAVLink: remove FLASH_BOOTLOADER commandd if not compiled in
...
removes handling of MAV_CMD_FLASH_BOOTLOADER if AP_BOOTLOADER_FLASHING_ENABLED is disabled
Side-effect of correcting the mavlink result code in that case.
2023-10-27 14:16:47 +11:00
Peter Barker
d665d2c56e
GCS_MAVLink: save bytes when AP_AIS_ENABLED is false
2023-10-27 14:16:47 +11:00
Peter Barker
e85f843c5d
CS_MAVLink: tidy use of AP_BATTERY_ENABLED defines
...
remove entire functions rather than just their content
2023-10-26 13:23:57 +11:00
Peter Barker
2412ba495d
GCS_MAVLink: remove handling of PREFLIGHT_SET_SENSOR_OFFSETS
...
This was the old offboard-calibration code.
We've checked MAVProxy, QGC and MissionPlanner and they're not using this code.
The onboard calibration stuff is better.
2023-10-26 13:19:59 +11:00
Peter Barker
740b939aa5
GCS_MAVLink: handle control-high-latency as both long and int
2023-10-26 13:19:29 +11:00
Peter Barker
21eaa08333
GCS_MAVLink: handle MAV_CMD_NAV_TAKEOFF via command_long and command_in
2023-10-24 12:59:19 +11:00
Peter Barker
0b04f765d4
GCS_MAVLink: factor out a virtual mav_frame_for_command_long method
2023-10-24 12:59:19 +11:00
Peter Barker
25846eb2bc
GCS_MAVLink: handld MAV_CMD_DO_FENCE_ENABLE as both long and int
2023-10-24 11:37:18 +11:00
Peter Barker
37b02725b3
GCS_MAVLink: handle MAV_CMD_DO_SEND_BANNER as both long and int
2023-10-18 19:49:17 +11:00
Peter Barker
e71227fe3a
GCS_MAVLink: handle MAV_CMD_GET_HOME_POSITION as both long and int
2023-10-18 19:48:23 +11:00
Peter Barker
7713b531a0
GCS_MAVLink: allow setting modes via COMMAND_INT and DO_SET_MODE
2023-10-17 10:41:36 +11:00
Peter Barker
90d39a6ee0
GCS_MAVLink: add build option for deprecated MISSION_REQUEST
...
replaced by MISSION_REQUEST_INT
2023-10-17 10:40:12 +11:00
Peter Barker
1ece48b2b3
GCS_MAVLink: handle MAV_CMD_DEBUG_TRAP as both long and int
2023-10-17 10:25:45 +11:00
stephan
0b24dc239f
GCS_MAVlink: correct routing for Solo Gimbal
...
Check for a opro camera in a Solo gimbal added and re-enable the routing of Gopro Mavlink commands
2023-10-17 10:02:49 +11:00
Peter Barker
659db36efe
GCS_MAVLink: accept accel cal vehicle positions as both int and long
2023-10-12 20:39:32 +11:00
Peter Barker
bb6287893d
GCS_MAVLink: allow for compilation without AP_RTC_ENABLED
2023-10-11 19:17:27 +11:00
Peter Barker
ce1bb64686
GCS_MAVLink: handle EKF_SOURCE_SET as both long and int
2023-10-11 18:37:02 +11:00
Willian Galvani
107474b792
GCS_Common: use int8_t for rangefinder quality_pct
2023-10-11 08:29:58 +11:00
Peter Barker
805901dc18
GCS_MAVLink: allow PREFLIGHT_STORAGE as COMMAND_INT and COMMAND_LONG
2023-10-10 08:29:26 +09:00
Peter Barker
77945be031
GCS_MAVLink: cope with NaNs being passed in when doing conversion to command_int
2023-10-05 20:44:12 +11:00
Peter Barker
57c2f7b2de
GCS_MAVLink: handle DO_AUX_FUNCTION as both long and int
2023-10-04 19:01:22 +11:00
Peter Barker
33b0bf699e
GCS_MAVLink: allow compilation when GPS library not available
2023-10-04 18:10:58 +11:00
Peter Barker
423a88f9cd
GCS_MAVLink: handle message interval commands as both long and int
2023-10-03 10:12:21 +09:00
Andrew Tridgell
92c0e7f860
GCS_MAVLink: use mavlink_frame_char_buffer()
...
and remove unnecessary extra mavlink_get_channel_status() function
2023-10-02 21:45:28 +11:00
Andrew Tridgell
ac3f4f0c5e
GCS_MAVLink: use mavlink_XXX_encode_status() in example code
2023-10-02 21:45:28 +11:00
Andrew Tridgell
5f5de52984
GCS_MAVLink: allow for mavlink bindings only in GCS_MAVLink
...
this is used by SITL periph to allow for mavlink based simulators
2023-10-02 21:45:28 +11:00
Peter Barker
ef8cd449ec
GCS_MAVLink: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Peter Barker
0f6bf8994f
GCS_MAVLink: handle MAV_CMD_AIRFRAME_CONFIGURATION as both LONG and INT
2023-09-26 11:37:42 +10:00
Asif Khan
65be0bd1ba
GCS_MAVLink: add MAV_CMD_IMAGE_STOP_CAPTURE support
...
Co-authored-by: Zachary Zalass <zachzalass@gmail.com>
2023-09-21 21:05:01 +10:00
Peter Barker
b44682d1a6
GCS_MAVLink: handle CAN_FORWARD as both command_INT and COMMAND_LONG
2023-09-20 17:50:56 +10:00
Peter Barker
5b0393e280
GCS_MAVLink: handle MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN as INT or LONG
2023-09-19 11:16:10 +10:00
Peter Barker
273b9ea354
GCS_MAVLink: correct sensors when no baros found
...
GCSs will know we have no baros on-board, as will the RC telemetry library
2023-09-19 07:28:30 +10:00
Peter Barker
4f0b328674
GCS_MAVLink: support preflight calibration via command_int
2023-09-13 17:24:07 +10:00
Nick Exton
d47b60b92a
GCS_MAVLink: Fix CAMERA_SETTINGS payload size check
2023-09-08 15:31:33 +09:00