Commit Graph
61 Commits
Author SHA1 Message Date
Peter Barker 3f5b2fcf0d Rover: remove RCn_OPTION parameter conversions
Rewrote a stored RCn_OPTION of ARMDISARM_UNUSED (41) to ARMDISARM (153),
and Rover's SAVE_TRIM (5) to TRIM_TO_CURRENT_SERVO_RC (155).  Both were
added Sep-2021 and are present in Rover-4.2.0, so anybody moving from
Rover-4.4.0 - the oldest release a Rover user can be moving from once the
migration floor is 4.3, as Rover has no 4.3 - has already had them
applied.

A stored 41 or 5 which survives becomes an unhandled auxiliary function
on Rover and does nothing, which is the same outcome as any other option
number this firmware does not know.
2026-09-01 20:49:36 +10:00
Peter Barker 3aa6bcf19f Rover: annotate and correct parameter conversion comments
Rover's conversion_table spans eleven years, so it gets an annotation
per block rather than one for the table: battery (Oct-2013), serial baud
(Jan-2015), MOT_THR (Aug-2017), COMPASS_ENABLE (Apr-2019), WP_RADIUS
(May-2019), WP_PIVOT (Dec-2021), sailboat (May-2019), ATC_TURN_MAX_G
(May-2021), PRX1_ (Aug-2022) and TRQ1_ (May-2024).

Also annotates the CH7_OPTION to RC7_OPTION conversion (Jan-2019), the
WP_SPEED/CRUISE_SPEED conversion (May-2019) and the FF/FILT conversion
(Jul-2019).  Remaining changes are date format corrections.  No
functional change.

Also annotates the RCn_OPTION conversions - ARMDISARM_UNUSED to
ARMDISARM, and Rover's SAVE_TRIM to TRIM_TO_CURRENT_SERVO_RC - which call
set_and_save() directly rather than an AP_Param::convert_* helper and so
were missed by an audit anchored on those helpers.  Established by
content: absent from Rover-4.1.5, present in Rover-4.2.0.
2026-08-31 08:18:26 +10:00
Peter BarkerandClaude Opus 4.8 5d302f145e Rover: move beacon up to AP_Vehicle
The beacon object now lives in AP_Vehicle; remove it from g2 and convert the stored BCN parameters across from the old g2 location.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 10:28:56 +10:00
Iampete1 8868e836d7 Rover: populate avalable modes user selectable bit and track changes 2026-02-26 08:18:53 +11:00
Thomas Watson bb0e87ae1c Rover: use nicer mode names
Adds a new method on each mode to return the nice name.

QGroundControl now uses these names directly through MAVLink
AVAILABLE_MODES. Use names similar to the original QGC ones instead of
our obscure four-letter codes. Additionally use them for status
messages.
2026-01-19 18:42:48 -05:00
Iampete1 4edf983ce7 Rover: move RPM lib to vehicle 2025-07-22 10:33:55 +10:00
Peter Barker 22691429fa Rover: add and use AP_ADSB_AVOIDANCE_ENABLED
this gates the "ADSB" avoidance feature used for macro-level avoidance.  It's not actually limited to ADSB as input...
2025-06-26 16:32:22 +10:00
muramura 1b81a6ca68 Rover: Change to GCS_SEND_TEXT 2025-06-07 12:03:47 +10:00
Peter Barker ccd12e3e12 Rover: create and use a singleton for SRV_Channels
avoid creation of static pointers to objects held within SRV_Channels
2024-11-13 19:47:49 +11:00
Peter Barker 981c500845 Rover: adjust for AP_Mission logging mission-item-starts 2024-10-01 10:19:29 +10:00
Peter Barker 227b6780b2 Rover: remove ENABLE/DISABLE defines 2024-08-06 09:38:08 +09:00
Peter BarkerandDavid Buzz 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
Peter Barker c40b1627dd Rover: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Peter Barker 7003647eda Rover: use enum-class for mission-done behaviours 2024-06-17 15:03:59 +09:00
Peter Barker 67eca06cac Rover: fold startup_ground back into caller
remove stale comments around same.

rename method to avoid confusion
2024-04-17 22:18:22 +10:00
Peter Barker f5556712dd Rover: stop passing serial manager to GPS init
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker ef82d8b8cc Rover: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Peter Barker c26bb2b33b Rover: move gripper up to AP_Vehicle
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
Peter Barker aa4a805bb6 Rover: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Peter Barker b315192dcf Rover: move scripting up to AP_Vehicle 2024-02-07 18:24:12 +11:00
Peter Barker 17145bea46 Rover: move can_mgr.init call up to AP_Vehicle
... also adds the call for Blimp...
2024-02-06 11:03:54 +11:00
Peter Barker 17c7a7de5d Rover: move call to BoardConfig.init to AP_Vehicle 2024-02-01 07:59:11 +11:00
Peter Barker e4cf674891 Rover: move AP_Stats to AP_vehicle 2024-01-30 11:12:21 +11:00
Peter Barker 8bdd0294b8 Rover: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
Pierre Kancir 911a467e37 Rover: make Mode::Number enum class 2023-09-27 08:12:23 +10:00
Andrew Tridgell 460e19c3e5 Rover: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Iampete1 6fafb26549 Rover: implement FLTMODE_GCSBLOCK bitmask 2023-06-28 12:56:25 +01:00
Peter Barker cf67b0a71a Rover: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
Peter Barker ff21f86a9c Rover: use AP_BEACON_ENABLED instead of BEACON_ENABLED 2023-04-12 09:24:39 +10:00
tzarjakob caee9f271a Rover: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
Randy Mackay f7fe4f8856 Rover: integrate camera frontend/backend split 2023-03-01 18:18:51 +11:00
Stephen Dade 6490436aca Rover: Add optical flow support 2022-12-01 08:03:47 +09:00
Peter Barker 1e4175cc8e Rover: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Peter Barker 71f77fea6e Rover: add and use AP_CAMERA_ENABLED 2022-09-21 11:58:38 +10:00
Peter Barker 4b8ab9d8a9 Rover: add and use AP_RPM_ENABLED
... and backend-specific equivalents
2022-09-20 09:28:27 +10:00
Shiv Tyagi 82d1750e8c Rover: include precision landing library in rover
This compiles rover with precision landing library included
2022-08-30 03:44:26 -04:00
Iampete1 9d4d0c10eb Rover: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 eac067a5c4 Rover: fence moved to vehicle 2022-07-27 19:04:56 +10:00
Iampete1 7fd157acb4 Rover: move AIS to vehicle
This reverts most of commit e86665a989.
2022-07-12 09:39:54 +10:00
Joshua Henderson 5f54daecee Rover: move Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
Shiv Tyagi f319c36de1 Rover: set MIS_DONE_BEHAVE to LOITER in boats
Boats should loiter after completing a mission to avoid drifting off
2021-11-24 11:01:19 +09:00
Peter Barker 9a5520a811 Rover: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker 5cd2c00ea7 Rover: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Randy Mackay 6738bf9edd Rover: remove <startup_ground> message
also remove GROUND_START_DELAY definition
2021-10-20 06:12:43 -04:00
Iampete1 6ebef3fe6b Rover: move from AUX_FUNC::SAVE_TRIM to AUX_FUNC::TRIM_TO_CURRENT_SERVO_RC 2021-09-28 09:16:24 +10:00
Iampete1 4c069d57ea Rover: fix RC init order to avoid error message 2021-09-21 17:49:47 +10:00
Iampete1 1eb26c83e2 Rover: convert to new ARMDISARM 2021-09-21 09:36:24 +10:00
Peter Barker 591c7d55c7 Rover: make bad-mode-number notification consistent across vehicles 2021-09-01 19:45:46 +09:00
Peter Barker 683806714c Rover: move VehicleClass handling to AHRS frontend
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Peter Hall e86665a989 Rover: add AIS 2021-08-10 08:11:18 +09:00