Commit Graph

85 Commits

Author SHA1 Message Date
Peter Barker 73710d888d Rover: tidy WATER_DEPTH send checks 2024-12-17 20:17:19 +11:00
Peter Barker 07edfdd323 Rover: only send WATER_DEPTH for boat frames 2024-12-17 20:17:19 +11:00
Peter Barker 9f2253a109 Rover: 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
Peter Barker c5284c6fdf Rover: allow WATER_DEPTH mavlink message rate to be specified
... and reduce the default rate

this is currently unconditionally streamed at 50Hz, chewing up all available bandwidth on some telemetry radios.
2024-12-17 20:17:19 +11:00
Iampete1 984daeabfd Rover: add support for `AVAILABLE_MODES` msg 2024-11-13 20:11:50 +11:00
Peter Barker 0ce765aac1 Rover: add specific defines for sending of GPS mavlink messages 2024-11-13 19:40:19 +11:00
Thomas Watson 95fb9bd533 Rover: only send airspeed when enabled
Avoids debug message spam about sending an unknown message.
2024-09-23 18:53:27 +10:00
Iampete1 c3393d8d16 Rover: add Airspeed to raw sensor stream rates 2024-09-17 09:10:17 +10:00
Peter Barker 2ec045fdc0 Rover: emit MAV_RESULT_DENIED if start/stop item passed to MAV_CMD_MISSION_START 2024-08-20 09:38:43 +10:00
Peter Barker 40c3d1881c Rover: add build option to not send RC_CHANNELS_RAW
we keep this around in case we break old OSD setups
2024-07-30 10:29:58 +10:00
muramura 1e001fa017 Rover: Change the IF statement to a SWITCH statement 2024-07-25 11:53:25 +09:00
Peter Barker 3def5f7433 Rover: correct compilation with AP_RRSI_ENABLED false
Co-authored-by: David Buzz <davidbuzz@gmail.com>
2024-07-24 09:11:39 +10:00
muramura 73443f5575 Rover: Change division to multiplication 2024-05-07 08:51:05 +09:00
Peter Barker 2b76f66ebc Rover: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker ef82d8b8cc Rover: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Iampete1 61560fd129 Rover: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-05 12:32:20 +11:00
Peter Barker 75dec6fcc7 Rover: handle RADIO_STATUS is GCS base class 2024-01-24 18:43:15 +11:00
Peter Barker 03fe367459 Rover: 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 8bdd0294b8 Rover: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
Peter Barker fc834caf38 Rover: stop streaming trying SIM_STATE messages outside sim 2023-11-20 19:25:25 +11:00
Peter Barker cfb78a43ec Rover: tidy sending of esc telem generator messages 2023-11-20 19:25:25 +11:00
Peter Barker 0fe9030b42 Rover: tidy sending of queued mcu status messages 2023-11-20 19:25:25 +11:00
Peter Barker 71c1886c74 Rover: tidy sending of queued opticalflow messages 2023-11-20 19:25:25 +11:00
Peter Barker 7229664ecd Rover: tidy sending of queued mount messages 2023-11-20 19:25:25 +11:00
Peter Barker 988d917384 Rover: correct compilation if rangefinder disabled 2023-10-27 14:16:47 +11:00
Peter Barker 98d6e365d7 Rover: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker 33962cdaf5 Rover: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
Peter Barker 14e0a1028c Rover: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false 2023-10-26 13:23:57 +11:00
Peter Barker e71baf4a6a Rover: don't send fence_status mavlink message if fence not compiled in 2023-10-04 19:13:23 +11:00
Pierre Kancir 911a467e37 Rover: make Mode::Number enum class 2023-09-27 08:12:23 +10:00
Peter Barker b7e4e9747a Rover: remove COMPASS_CAL messages from streamrates if tumble cal disabled
fatal error in SITL if we try to send messages with these disabled
2023-09-26 11:39:50 +10:00
Peter Barker 0894cfc0c8 Rover: support preflight calibration via command_int 2023-09-13 17:24:07 +10:00
Peter Barker cc3fe56a08 Rover: deprecate MAV_CMD_NAV_SET_YAW_SPEED 2023-08-28 12:54:33 +10:00
Peter Barker a3038e7e6b Rover: correct comments on MAV_CMD_NAV_SET_YAW_SPEED packet fields
these are wrong and misleading; the packet contains metres/second and degrees
2023-08-26 18:24:09 +10:00
Peter Barker 76c6d537ed Rover: support running MAV_CMD_NAV_SET_YAW_SPEED as command_int 2023-08-26 18:24:09 +10:00
Peter Barker d44b51fa4d Rover: allow MAV_CMD_MISSION_START as both command_long and command_int 2023-08-26 08:59:30 +10:00
Peter Barker 4e44ee1a07 Rover: allow motor test to be issued as COMMAND_INT 2023-08-25 09:57:29 +10:00
Peter Barker 8decb9d43f Rover: rely on magic long-to-int conversion to handle MAV_CMD_DO_CHANGE_SPEED 2023-08-24 13:06:00 +09:00
Peter Barker 380a1fe738 Rover: accept MAV_CMD_NAV_RETURN_TO_LAUNCH as both long and int 2023-08-23 21:29:00 +10:00
Peter Barker 0bcb3ece85 Rover: rely on magic conversion to handle DO_SET_REVERSE as both int/long 2023-08-23 16:12:21 +10:00
Peter Barker 460faa8659 Rover: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Shiv Tyagi 4f40b31367 Rover: use AP_FOLLOW_ENABLED 2023-08-15 09:57:35 +10:00
tzarjakob caee9f271a Rover: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
Peter Barker 75fd6cb630 Rover: add support for mavlink in-progress message 2023-02-21 17:07:41 +11:00
Stephen Dade 6490436aca Rover: Add optical flow support 2022-12-01 08:03:47 +09:00
Peter Barker 38ea1b4039 Rover: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
Andrew Tridgell d5f804b7cb Rover: enable EFI_STATUS mavlink message 2022-10-25 11:44:45 +11:00
Henry Wurzburg 38a546a6c6 Rover: update SRX descriptions 2022-10-19 23:26:45 +11:00
Peter Barker ae1bddfb00 Rover: stop sending BATTERY2 by default 2022-10-18 11:12:49 +11:00
Peter Barker e2fd4fc782 Rover: do not send MSG_RPM if RPM not enabled 2022-09-28 20:10:21 +10:00