394 Commits

Author SHA1 Message Date
Randy Mackay
0c59c5ce50 Sub: use AHRS_ORIGIN in place of local ORIGIN params 2026-02-05 14:24:44 -05:00
Randy Mackay
8ba67d9eda Sub: integrate ANGLE_MAX move to ATC 2026-01-28 08:45:12 +11:00
Willian Galvani
0de7a33d5f Sub: simplify setting-home-from-ekf-origin logic 2026-01-26 14:52:00 -03: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
Henry Wurzburg
211157c38b Sub:Add OSD into std builds for FPV 2025-06-09 09:10:43 +10:00
Henry Wurzburg
7486650dd8 ArduSub: add RC to Sub 2025-04-25 12:21:43 -03:00
Andy Piper
4b5685a3e2 Sub: run_fence_checks() -> fence_checks_async() 2025-04-23 17:16:58 +10:00
Andy Piper
952a648135 Sub: refactor fence checking into an io callback 2025-04-09 17:01:04 +01:00
Clyde McQueen
ab46ca2098 Sub: support MASK_LOG_IMU_FAST (loop rate logging) 2025-02-03 13:05:22 -03:00
Clyde McQueen
2a28b77ef6 Sub: limit poshold xy velocity to PILOT_SPEED to avoid bounceback 2025-02-03 13:05:01 -03:00
Clyde McQueen
7667a04e03 Sub: remove dead variable 2025-02-03 13:05:01 -03:00
Peter Barker
cf9b74d2ea ArduSub: allow for more than 327m range rangefinders 2025-01-21 10:54:05 +11:00
Peter Barker
f2d0607b90 ArduSub: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Peter Barker
ba9b123e30 ArduSub: remove stray log_init declaration
this method went away
2024-10-15 10:42:36 +11:00
Peter Barker
1f0c31bcef Sub: remove ENABLE/DISABLE defines, use 0/1 instead
same as Plane, Rover, Sub, Tracker
2024-09-02 20:05:14 -03:00
Willian Galvani
78a7c86bbd Sub: create backup origin for gps-less operation with WMM
Co-authored-by: Clyde McQueen <clyde@mcqueen.net>
2024-07-11 14:17:54 -03:00
Peter Barker
a5d7000ffd ArduSub: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
ES-Alexander
b0d89c6862 Sub: update status to include all failsafes 2024-06-28 12:45:10 -03:00
Peter Barker
3443e1c12f ArduSub: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker
89a9a0e6d1 ArduSub: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Clyde McQueen
e4115efa67 Sub: publish filtered alt in mav msgs 2024-04-08 10:51:12 -03:00
Clyde McQueen
f9db039dcc Sub: add SURFTRAK mode 2024-02-21 18:59:20 -03: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
852944a1b1 Sub: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
Willian Galvani
15b480f105 Sub: add support for 32 buttons and two additonal axis 2023-12-05 12:04:16 +11:00
Peter Barker
daf427f6d6 Sub: accept MAV_CMD_DO_MOTOR_TEST as both command-int and command-long 2023-09-27 17:39:55 +10:00
Clyde McQueen
5e8fed9d43 Sub: provide script access to joystick buttons 2023-09-27 08:14:36 +10:00
Rakesh Vivekanandan
6a36c05e4e Sub: Guided Mode: Helper function guided_set_yaw_state() to set yaw state and targets when the vehicle is in guided mode. 2023-07-28 12:04:54 -03:00
Willian Galvani
9b70ac1286 Sub: big mode refactor 2023-07-13 14:56:40 -03:00
Willian Galvani
d31f0d2312 Sub: Add AP_Stats
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2023-07-13 07:17:11 -03:00
rishabsingh3003
34702ed986 Sub: Obey loiter_ccw flag for loiter turns 2023-02-15 19:14:43 +11:00
Peter Barker
9e69f8211e ArduSub: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker
b0818d72e6 ArduSub: tidy AP_SerialManager.h includes 2022-11-08 09:49:19 +11:00
Tom Pittenger
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
7546530050 ArduSub: correct compilation with rally disabled 2022-09-27 10:16:47 +10:00
Peter Barker
9b5d70f7b5 ArduSub: add and use AP_CAMERA_ENABLED 2022-09-21 11:58:38 +10:00
Peter Barker
48308b8156 ArduSub: add and use AP_RPM_ENABLED 2022-09-20 09:28:27 +10:00
Peter Barker
2cb5a0cc26 ArduSub: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Iampete1
2d8b9f7cbe Sub: Fence moved to vehicle 2022-07-27 19:04:56 +10:00
Iampete1
720117298d Sub: stop using custom pos controller 2022-07-05 16:00:03 -03:00
Peter Barker
8a9a856de8 ArduSub: move logging of compass ERR flags into AP_Compass 2022-05-10 19:46:40 +10:00
Peter Barker
5a4963e4f8 ArduSub: move error logging of sensor health into AP_Baro 2022-05-03 17:38:09 +10:00
Andy Piper
0b754aeba8 Sub: move fast_loop into scheduler tasks 2022-05-03 08:20:13 +09:00
Peter Barker
785615de2f ArduSub: tidy includes 2022-05-03 09:14:58 +10:00
Peter Barker
0a9481a557 ArduSub: include cleanups 2022-03-01 11:21:33 +11:00