Peter Barker
33a788ebb5
GCS_MAVLink: move sending of WATER_DEPTH into Rover code
...
only compiled in on Rover at the moment.
need to add an additional Rover-specific check for frame type, so move this code into Rover for now.
2024-12-17 20:17:19 +11:00
Iampete1
55936895e3
GCS_MAVLink: send `AVAILABLE_MODES_MONITOR` message
2024-11-26 08:44:31 +09:00
Iampete1
26152416ab
GCS_MAVLink: add support for `AVAILABLE_MODES` msg
2024-11-13 20:11:50 +11:00
Stephen Dade
9a563e222f
GCS_MAVLink: Check if set_message_interval is too fast
2024-10-02 09:22:43 +10:00
Iampete1
8318109546
GCS_MAVLink: add support for AIRSPEED message
2024-09-17 09:10:17 +10:00
Andrii Fil
e74afdfcea
GCS_MAVLink: support MAV_CMD_EXTERNAL_WIND_ESTIMATE
2024-09-04 10:14:45 +10:00
Peter Barker
9049aeaff6
GCS_MAVLink: accept mavlink standard force arm/disarm value for forced arming
...
the mavlink standard specifies just one value to do either arm or disarm. Conform to that standard
2024-08-02 16:29:13 +10:00
Andrew Tridgell
0116e1e80d
GCS_MAVLink: added lua_command_int_packet()
...
for lua access to MAV_CMD_xxx
2024-07-01 20:08:29 +10:00
koehlert
7092cb4717
GCS_MAVLink: support HIGHRES_IMU
...
HIGHRES_IMU MAVLink message. Built in to 2MB boards or not by default.
2024-06-18 09:29:04 +10:00
Brad Bosch
3b150d2e4c
GCS_MAVLink: Add support for parity to Serial passthrough
...
Add code to reflect USB ACM parity setting to the passthrough port alongside existing support for ACM baud rate changes. Some use cases for serial passthrough require specific parity settings.
For example, even parity is used and required by the USART protocol used in the STM32 system bootloader. This enhancement allows the use of standard flash programming tools such as STM32CubeProgrammer to flash connected STM based peripherals such as Receivers and Telemetry radios via serial passthrough. Some examples of such peripherals include the FrSky R9 receivers as well as various other STM based LoRa modules used by the mLRS project.
2024-06-11 09:24:32 +10:00
Peter Barker
7d10b0fc4d
GCS_MAVLink: add and use AP_HOME_ENABLED
2024-04-17 18:09:25 +10:00
Brad Bosch
6538e8c9ae
GCS_MAVLink: Cleanup and Reduce chance of GCS FTP timeout
...
Delete unneeded orphan comment
replace get_last_txbuf() with a predicate
Make txbuf flow control threashold consistent between Parameter download and FTP and keep it in range where we are also slowing down normal streams
Delay sending text banner until after first FTP response to reduce latency on slow links
Don't let flow control delay setting ftp.last_send_ms so as to slow down normal streams as soon as possible to improve FTP response time
2024-04-16 09:16:52 +10:00
Brad Bosch
bbfb0ed001
GCS_MAVLink: Make get_last_txbuf() safer
...
Add check for stale radio_status to get_last_txbuf()
Move last_txbuf into last_radio_status struct
2024-04-16 09:16:52 +10:00
Peter Barker
420f80db75
GCS_MAVLink: move handling of DO_SET_HOME up to GCS_MAVLink base class
2024-04-09 09:35:16 +10:00
Peter Barker
abd5d0e3e9
GCS_MAVLink: cope with AHRS not being available
2024-03-19 07:00:10 +11:00
olliw42
0bb98c3db5
GCS_MAVLink: handle RADIO_RC_CHANNELS
2024-03-09 10:47:39 +11:00
Peter Barker
d6df142eaa
GCS_MAVLink: allow FTP to be compiled out with build_options.py
2024-03-03 08:38:22 +11:00
Peter Barker
0fe9027b23
GCS_MAVLink: handle MAV_CMD_DO_SET_SAFETY_SWITCH_STATE
2024-02-27 21:10:39 +11:00
Andrew Tridgell
632bb71c87
GCS_MAVLink: use can_printf_severity() for AP_Periph
2024-02-22 15:03:01 +11:00
Peter Barker
e787fc5dfd
GCS_MAVLink: allow AP_Periph to use mavlink library
2024-02-15 12:17:07 +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
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
Andrew Tridgell
4289a4bb3a
GCS_MAVLink: added AP_HAVE_GCS_SEND_TEXT
2024-01-21 12:30:08 +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
Peter Barker
6d172a1b22
GCS_MAVLink: exclude deadlock-creation based on FAILURE_CREATION_ENABLED
2023-11-21 09:35:50 +09:00
Peter Barker
6f5ff2f952
GCS_MAVLink: tidy sending of HIGH_LATENCY2 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
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
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
0567d8576e
GCS_MAVLink: Add explicit handling of DO_JUMP_TAG
2023-11-14 10:22:45 +11: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
187ae07225
GCS_MAVLink: handle camera messages as COMMAND_INT as well as COMMAND_LONG
2023-11-02 15:54:13 +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
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
Peter Barker
2ac9cc94c6
GCS_MAVLink: correct compilation if rangefinder disabled
2023-10-27 14:16:47 +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