Commit Graph

53 Commits

Author SHA1 Message Date
Peter Barker a5d7000ffd ArduSub: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Clyde McQueen f9db039dcc Sub: add SURFTRAK mode 2024-02-21 18:59:20 -03:00
Leonard Hall 6930e8872d Sub: Add support for terrain altitude time constant 2023-03-07 13:41:35 +11:00
Willian Galvani 232083c4d2 Sub: update baro calibration even if armed
This is harmless and prevents a "bounce-back" effect when the depth
is badly calibrated. This can happen when rebooting the vehicle underwater
without a proper depth calibration.
2022-09-28 10:19:38 -03:00
Joshua Henderson a765bb048d Sub: move Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
Peter Barker 9b60443fa4 ArduSub: move RPM sensor logging into AP_RPM 2022-01-11 11:09:26 +11:00
Gone4Dirt 33ed08d07e Sub: Make RPM log independant of RC log mask 2021-12-16 12:48:48 +11:00
Andrew Tridgell dbe0bef58b Sub: moved accel cal update to vehicle code 2021-09-17 14:07:14 +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
Patrick José Pereira 678cbdfb4f ArduSub: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Iampete1 d197ec4072 Sub: add airspeed sensors 2020-10-27 11:24:49 +11:00
Randy Mackay 6d05ed1eb3 Sub: loiter-turn obeys wpnav-rfnd-use 2020-04-16 17:30:29 +09:00
Randy Mackay 0ab4a184d4 Sub: support circle with terrain altitude 2020-04-16 17:30:29 +09:00
Peter Barker b3f1fdf182 Sub: use enum-class for RangeFinder Status 2019-11-09 08:01:53 +11:00
Willian Galvani adcf0d398d Sub: update calibration if reading is above water level 2019-09-27 13:17:10 -07:00
Peter Barker 03e6065380 Sub: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker c6a9130d84 Sub: call compass cal routine directly from sched table 2019-04-23 10:06:17 +10:00
Michael du Breuil 698e4e440e Sub: Fix rangefinder init 2019-04-06 09:15:22 +11:00
Peter Barker b1c4a5ade7 Sub: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
Peter Barker 706a75ad03 Sub: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker 069a2d0e35 Sub: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 376a422cff Sub: OpticalFlow takes care of its own logging 2018-11-13 10:40:23 +11:00
Randy Mackay 54df7ad88d Sub: remove compass accumulate 2018-08-06 11:05:34 +10:00
Patrick José Pereira dcd3f83539 Sub: Remove void as parameter
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-07-02 11:25:03 -04:00
Peter Barker fdd410f105 Sub: Baro does its own dataflash logging 2018-04-12 19:12:12 +01:00
Peter Barker 05ee33d037 Sub: tidy handling of barometer calibrations 2018-04-02 23:25:05 +01:00
Michael du Breuil 6ebe954d51 Sub: Support new battery failsafes 2018-03-27 22:12:21 +01:00
Peter Barker ecb805768b Sub: remove shims used in scheduler table 2018-02-12 10:37:21 -08:00
Michael du Breuil 02a660e0ce Sub: Move battery logging to AP_BattMonitor 2018-02-06 00:11:32 +00:00
Michael du Breuil 2b81058ca1 Sub: Support AP_BattMonitor_Params 2018-01-17 22:21:55 +00:00
Randy Mackay f01b483657 Sub: move barometer_accumulate to sensors.cpp
non-functional change
2017-11-22 17:13:14 +09:00
Randy Mackay 3281f348b1 Sub: remove enabled check from optflow init 2017-08-23 11:19:14 +09:00
Peter Barker 279072cf25 Sub: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
Randy Mackay 5936fc1ff8 Sub: compass set-initial-location uses ahrs location
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
2017-06-07 13:01:38 +09:00
Jacob Walser 131e1bdef5 Sub: Bugfix for external baro failsafe handling when no baro is
connected at boot
2017-05-03 18:13:31 -04:00
Jacob Walser d0171395b8 Sub: Remove baro_alt and baro_climbrate members
We can get this from baro object directly
2017-04-16 14:25:13 -04:00
Jacob Walser 8d93af112f Sub: Remove motors.set_air_density_ratio
Unused in AP_Motors6DOF
2017-04-16 14:25:13 -04:00
Jacob Walser c093e1c37e Sub: Add failsafe mechanisms for depth sensor error 2017-04-16 14:25:13 -04:00
Jacob Walser 8b3c414ca7 Sub: Remove cliSerial alias for hal.console 2017-04-14 13:26:37 -04:00
Jacob Walser 854275459d Sub: Fix compile-time OPTFLOW enabling switch 2017-04-14 13:26:37 -04:00
Jacob Walser 6bd05e4bac Sub: failsafe_battery_event() -> failsafe_battery_check() 2017-03-24 16:31:09 -04:00
Randy Mackay 6798162a98 Sub: use only downward facing rangefinder 2017-02-27 15:18:34 +09:00
Jacob Walser 65cd28cc6c Sub: Only save baro calibration parameters when user zeros 2017-02-21 11:26:14 +11:00
Jacob Walser 4112fd1316 Sub: Remove mode header 2017-02-21 11:26:14 +11:00
Jacob Walser 5233b25910 Sub: Format all C++ with Tools/CodeStyle/astylerc 2017-02-21 11:26:14 +11:00
Jacob Walser ee8670e73d Sub: Disable RPM 2017-02-21 11:26:14 +11:00
Jacob Walser 9c5b304626 Sub: Remove RSSI 2017-02-21 11:26:14 +11:00
Jacob Walser 456f5e2e93 Sub: Update Sub to match relevant Copter and Library developments 2017-02-21 11:26:14 +11:00