Commit Graph

345 Commits

Author SHA1 Message Date
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
Peter Barker 8292e9d4a5 ArduSub: remove unused compass_init_location state 2020-02-18 10:35:49 +11:00
Peter Barker 7658c13c69 Sub: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker e7e1cdcc45 ArduSub: move some common init_ardupilot code up to AP_Vehicle 2020-01-28 11:34:51 +11:00
Peter Barker 87b84ec196 Sub: move setup method up to AP_Vehicle base class 2020-01-28 11:34:51 +11:00
Peter Barker e97582add0 Sub: let AP_Vehicle base class worry about scheduler delay callback 2020-01-21 11:37:28 +11:00
Tatsuya Yamaguchi 1c07609f47 Sub: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Randy Mackay b1ccf5b9d5 Sub: remove unused TERRAIN_FOLLOW parameter 2019-12-17 20:02:01 +09:00
Peter Barker d5b970bd18 Sub: vehicle parent class now instantiates AHRS 2019-12-02 09:16:22 +11:00
Patrick José Pereira 2fae0cf5c0 Sub: Remove unnecessary includes
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-11-06 09:40:23 -08:00
Peter Barker 9f719ec02e Sub: stop providing current location to mount 2019-11-05 19:55:45 +11:00
Peter Barker 3819366a9e Sub: cope with change in namespace of LogEvent enum
Also eliminate the Log_Write_Event wrappers
2019-11-05 08:19:26 +08:00
Michael du Breuil 3f94f0d517 Sub: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Peter Barker c0052a5e71 Sub: move many members up to base class 2019-10-08 11:26:04 +11:00
Peter Barker 347c247ad0 Sub: become an AP_Vehicle 2019-10-08 11:26:04 +11:00
Willian Galvani 2b0773c18b Sub: Create MOTOR_DETECT mode
This mode attempts to detect the direction of all motors and adjust parameters appropriately.
2019-09-26 09:39:50 -07:00