Commit Graph

360 Commits

Author SHA1 Message Date
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
Joshua Henderson fc5ecfcafd Sub: remove position_vector.cpp 2022-02-08 12:14:10 +11:00
Peter Barker ac6842b0ac ArduSub: stop passing mission in Terrain constructor
Terrain can use the mission singleton

This means Copter can have terrain while compiling mission out
2022-02-08 11:20:20 +11: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
Peter Barker 9b60443fa4 ArduSub: move RPM sensor logging into AP_RPM 2022-01-11 11:09:26 +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
Peter Barker 1c544702d2 ArduSub: handle renaming of AP_InertialNav_NavEKF to AP_InertialNav 2021-10-20 18:09:36 +11:00
Peter Barker 4c1c0e591f ArduSub: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Peter Barker f3e5e9463b Sub: stop passing current_loc into AP_Camera 2021-09-29 18:33:01 +10:00
Andrew Tridgell dbe0bef58b Sub: moved accel cal update to vehicle code 2021-09-17 14:07:14 +10:00
bugobliterator 6ec8919bdd Sub: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Peter Barker e98af90749 ArduSub: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Peter Barker ed0b0451cf ArduSub: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Andrew Tridgell c059f8c044 Sub: fixes for use of longitude_scale() 2021-07-10 07:20:41 +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
Peter Barker 2e23822b27 ArduSub: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Randy Mackay afa59b9a60 Sub: integrate s-curves, remove spline support 2021-04-03 12:07:59 +09:00
Randy Mackay dbecf363f3 Sub: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Peter Barker 34d6094838 ArduSub: remove Log_Write_Performance which is not called anywhere 2021-03-26 16:35:08 +11:00
Peter Barker 82edfc6237 Sub: remove unused prev_control_mode_reason 2021-02-03 19:22:25 +11: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
Peter Barker 2b890eda53 ArduSub: move control_mode_reason up to AP_Vehicle 2021-02-03 18:24:52 +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
Peter Barker 13e5e03a0d ArduSub: move orderly rebooting code from GCS into AP_Vehicle
Several places we reboot the vehicle we should probably do several of
the things done in this code - flushing parameters, forcing safety on
etc.
2020-09-29 18:07:59 +10:00
Peter Barker 3b5bd9956d Sub: remove dangling method declaration 2020-08-29 09:55:38 +09:00
Willian Galvani 7fa8a455d7 Sub: refactor depth control of control_althold to a function 2020-08-03 20:19:28 -07: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
Randy Mackay 137077c47b Sub: remove unnecessary EKF includes 2020-04-28 09:38:23 +09:00
Willian Galvani ba415c99fe Sub: send Roll/Pitch Toggle flag 2020-03-30 11:19:45 -07:00
murata f64a0a9df9 Sub: Match the column of element description 2020-02-19 09:44:57 +09:00