Peter Barker
3261af1c53
ArduSub: remove RCn_OPTION parameter conversion
...
Rewrote a stored RCn_OPTION of ARMDISARM_UNUSED (41) to ARMDISARM (153).
Added Sep-2021, but Sub has no 4.2 to 4.4 releases, so the first release
carrying it is ArduSub-4.5.0. That is also the oldest release a Sub user
can be moving from once the migration floor is 4.3, so everybody in scope
has already had it applied.
A stored 41 which survives becomes an unhandled auxiliary function 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
8638dfad0d
ArduSub: annotate and correct parameter conversion comments
...
Adds the missing PARAMETER_CONVERSION annotation to the conversion_table
(battery failsafe parameters, Mar-2018, and COMPASS_ENABLE, Apr-2019)
and to the attitude control _FILT to FLTE conversion (Jul-2019).
Remaining changes are date format corrections. No functional change.
Also annotates the ARMDISARM_UNUSED to ARMDISARM rewrite of stored
RCn_OPTION values, which calls set_and_save() directly rather than going
through an AP_Param::convert_* helper and so was missed by an audit
anchored on those helpers. It went in during Sep-2021, but Sub has no
4.2 to 4.4 releases, so established by content it first shipped in
ArduSub-4.5.0.
2026-08-31 08:18:26 +10:00
Willian Galvani
a1136dcfef
Sub: create and use param for controlling parameters migration
2026-04-07 08:30:43 +10:00
Willian Galvani
5ca4ea937b
Sub: add parameters migration for lights and actuators
2026-04-07 08:30:43 +10:00
Peter Barker
375cef5813
Sub: use get_yaw_rad to get heading
2026-01-19 12:27:27 -03:00
Willian Galvani
8205874bb6
Sub: automatically fix misconfigured relays
...
or just warns the users if the servo_function is already assigned to something else
2025-12-17 00:14:58 +11:00
Willian Galvani
ba1db43a73
Sub: automatically correct leak pin to gpio
2025-12-17 00:14:58 +11:00
Iampete1
0b82583da4
ArduSub: move RPM lib to vehicle
2025-07-22 10:33:55 +10:00
Peter Barker
0741789422
ArduSub: 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
Willian Galvani
5e72d6b210
ArduSub: refactor aux servos
2025-06-17 09:39:18 +10:00
Henry Wurzburg
211157c38b
Sub:Add OSD into std builds for FPV
2025-06-09 09:10:43 +10:00
Peter Barker
876e9a9db5
ArduSub: remove get_filter_status from AP_InertialNav
2025-05-29 15:14:42 +10:00
Peter Barker
48c9cd6eae
ArduSub: adjust for AP_Mission logging mission-item-starts
2024-10-01 10:19:29 +10:00
Willian Galvani
a3ea80a1f2
Sub: tell ahrs we can fly multiple directions
2024-07-14 17:12:48 +10:00
Peter Barker
a5d7000ffd
ArduSub: make AP_RANGEFINDER_ENABLED remove more code
2024-07-02 09:17:26 +10:00
Peter Barker
547358c86a
ArduSub: stop passing serial manager to GPS init
...
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker
ccc9231c67
ArduSub: 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
80fa661042
ArduSub: move logger object up to AP_Vehicle
2024-02-13 10:54:29 +11:00
Peter Barker
00bca3499f
Sub: move scripting up to AP_Vehicle
2024-02-07 18:24:12 +11:00
Peter Barker
cb05eef238
ArduSub: 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
64ac69b160
ArduSub: move call to BoardConfig.init to AP_Vehicle
2024-02-01 07:59:11 +11:00
Peter Barker
81231997ff
Sub: move AP_Stats to AP_vehicle
2024-01-30 11:12:21 +11:00
Peter Barker
852944a1b1
Sub: correct compilation when HAL_LOGGING_ENABLED is false
2024-01-17 18:25:55 +11:00
Willian Galvani and Peter Barker
d31f0d2312
Sub: Add AP_Stats
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au >
2023-07-13 07:17:11 -03:00
Andrew Tridgell
46c214e9d4
ArduSub: removed set_blocking_writes_all calls
2023-07-12 17:06:02 +10:00
Peter Barker
d9e89eb602
ArduSub: add option to disable relay and servorelay libraries
2023-06-20 09:36:39 +10:00
Jeevan K
078e1e0e89
ArduSub: Updated comment
2023-06-19 20:01:04 +10:00
Jeevan K
7200cdf4dd
ArduSub: Comment Typo Fix
2023-06-19 20:01:04 +10:00
Randy Mackay
e9d9326410
Sub: integrate camera frontend/backend split
2023-03-01 18:18:51 +11:00
Peter Barker
77039f38f6
ArduSub: add and use AP_ADVANCEDFAILSAFE_ENABLED
2023-02-08 19:00:13 +11:00
Tom Pittenger and Joshua Henderson
be42e53303
Sub: use new AP_TemperatureSensor library
...
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com >
2022-10-18 10:05:31 +11:00
Peter Barker
82ddfc2a52
ArduSub: add AP_GRIPPER_ENABLED
2022-10-04 10:58:34 +11:00
Peter Barker
48308b8156
ArduSub: add and use AP_RPM_ENABLED
2022-09-20 09:28:27 +10:00
Iampete1
2d8b9f7cbe
Sub: Fence moved to vehicle
2022-07-27 19:04:56 +10:00
Randy Mackay
d0c489a0be
Sub: calls to mount.set_angle_target set earth-frame or body-frame
...
this is a non-functional change
2022-06-29 10:56:48 +09:00
Joshua Henderson
a765bb048d
Sub: move Airspeed to AP_Vehicle
2022-01-19 18:21:32 +11:00
Peter Barker
f637facea2
Sub: create and use AP_OPTICALFLOW_ENABLED
2021-12-29 18:12:03 +11:00
Peter Barker
bc39b8d74c
ArduSub: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
9bc9179d8d
ArduSub: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Willian Galvani
0adc4562ad
Sub: add exception for linux boards when setting BARO_EXT_BUS
2021-10-11 17:57:52 -03:00
Iampete1
adb58a9b60
Sub: fix RC init order to avoid error message
2021-09-21 17:49:47 +10:00
Iampete1
7e1eb970bc
Sub: convert to new ARMDISARM
2021-09-21 09:36:24 +10:00
Peter Barker
9f8d01827a
ArduSub: move VehicleClass handling to AHRS frontend
...
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Willian Galvani
da906f6b0f
Sub: use BARO instead of GND prefix to set default baro parameters
...
This updates the code to deal with the changes from 3f6fd49507
2021-07-13 06:50:24 +10:00
Peter Barker
088120b8f3
ArduSub: use singleton to access AP_Terrain data
2021-07-12 17:34:44 +10:00
Peter Barker
ed0b0451cf
ArduSub: remove AC_TERRAIN compilation option
...
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Peter Barker
6f81c250be
ArduSub: remove optical flow pointer from AP_AHRS
...
Nothing was ever using it.
2021-05-30 10:44:42 +10:00
Peter Barker
26d1e34c19
ArduSub: remove pointless init_optflow wrapper
...
Hiding a one-line call in a wrapper just adds size to the build
2021-05-28 13:41:50 +09:00
Leonard Hall
266bd22df3
Sub: Use PosControl fixes
2021-05-24 20:13:37 +10:00
Andrew Tridgell
aca46c177d
ArduSub: moved init_safety to AP_Vehicle
2020-12-08 11:14:24 +11:00