Commit Graph

182 Commits

Author SHA1 Message Date
Willian Galvani 2b60e93410 Sub: move servo calc logic to motors_output() and cork SRV_Channels for improved performance 2024-06-28 13:10:15 -03:00
Willian Galvani 12de0d85dd Sub: sync MAVLink system id in 1hz loop 2024-06-27 21:05:19 -03:00
Peter Barker cccd105ac9 ArduSub: remove Baro accumulate API
no backend actually needs to be prodded, everything is done on timers
2024-04-18 09:19:20 +10:00
Clyde McQueen e4115efa67 Sub: publish filtered alt in mav msgs 2024-04-08 10:51:12 -03:00
Peter Barker 62f1d40d3b ArduSub: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
Willian Galvani 1509a8ea8d Sub: add missing call to calc_pwm() 2024-03-06 17:49:53 -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 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
Andy Piper 2442bca978 Sub: update PID notch centers at 1Hz with average loop rate 2023-11-21 13:26:23 +11:00
Randy Mackay 816f9494b4 Sub: log MNT at 10hz 2023-07-26 17:33:18 +10: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
Peter Barker d9e89eb602 ArduSub: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
Peter Barker 76a2d89b51 ArduSub: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00
Leonard Hall 231fc2b18b Sub: Support changing update period in Motors 2022-12-13 17:10:06 +11:00
Leonard Hall 76c76a6928 Sub: Support changing update period 2022-12-13 17:10:06 +11:00
Peter Barker 82ddfc2a52 ArduSub: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11: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
Peter Barker 9576075800 ArduSub: move call to compass cal update up to AP_Vehicle 2022-08-16 10:06:44 +10:00
Iampete1 cf1e1b2969 ArduSub: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +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 ac4d8404bb Sub: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Peter Barker 8a9a856de8 ArduSub: move logging of compass ERR flags into AP_Compass 2022-05-10 19:46:40 +10:00
Andy Piper 0b754aeba8 Sub: move fast_loop into scheduler tasks 2022-05-03 08:20:13 +09:00
Joshua Henderson a765bb048d Sub: move Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
Iampete1 834ec4cea2 Sub: move motbatt logging into AP_Motors 2022-01-18 10:18:10 +11:00
Jaaaky 132baa1ad0 ArduSub: Fix build with RPM_ENABLED 2022-01-15 08:30:51 +09:00
Peter Barker 9b60443fa4 ArduSub: move RPM sensor logging into AP_RPM 2022-01-11 11:09:26 +11:00
Peter Barker 7a9a701c63 ArduSub: move INS notch filter logging into INS 2022-01-05 16:34:36 +11:00
Peter Barker c19b5d9e3c ArduSub: make vehicles write notch log messages 2022-01-05 16:34:36 +11:00
Peter Barker f637facea2 Sub: create and use AP_OPTICALFLOW_ENABLED 2021-12-29 18:12:03 +11:00
Peter Barker 422bb3cfbb ArduSub: allow specification of Scheduler table priorities 2021-11-17 19:00:04 +11:00
Iampete1 44c5153df8 Sub: update_throttle_range don't set_throttle_range 2021-10-11 22:19:17 -04:00
Andrew Tridgell dbe0bef58b Sub: moved accel cal update to vehicle code 2021-09-17 14:07:14 +10:00
Peter Barker 29d2eed9e4 Sub: view update does not take skip_ins_update 2021-08-31 14:28:53 +10:00
Peter Barker 3e13790039 ArduSub: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Randy Mackay 05d74ba50d Sub: call AC_PosControl::write_log in modes with only vertical control like AltHold 2021-05-26 18:58:31 +10:00
Josh Henderson 7e5ac5b648 ArduSub: Privatize AP_IntertialSensor Logging 2021-04-29 19:19:12 +10:00
Josh Henderson aaa1341b75 ArduSub: privatize AHRS logging 2021-01-12 10:13:22 +11:00
yaapu 2e69ba1091 ArduSub: added virtual getters for waypoint info 2020-12-10 12:39:44 +11:00
Iampete1 d197ec4072 Sub: add airspeed sensors 2020-10-27 11:24:49 +11:00
Andy Piper 07df203d19 Sub: make mount/gimbal inclusion configurable per-board 2020-08-04 09:18:14 +10:00
Mirko Denecke 1db0feea59 ArduSub: update_trigger() is now called in AP_Camera update() 2020-07-15 08:37:28 +09:00
Andy Piper 5bedf44734 Sub: log harmonic notch even if FFT is disabled 2020-06-21 19:09:35 +10:00
Andy Piper 94235c5739 Sub: make sure AP_Vehicle::fast_loop() gets called 2020-05-24 07:43:34 +10:00
Andy Piper 83b1c3a0bd ArduSub: add gyro fft logging 2020-02-22 11:15:37 +11:00