Commit Graph

335 Commits

Author SHA1 Message Date
Willian Galvani 99b952f986 Sub: add support for 32 buttons and two additonal axis 2024-01-10 15:57:36 -03:00
Willian Galvani f16bbdfbe7 Sub: tweaks to stabilization code 2023-07-10 15:19:51 -03:00
Willian Galvani 497f850a1a Sub: tweak Yaw behavior for workign at both high and low gains in an useable way 2022-10-04 17:51:35 -03:00
Willian Galvani 94f3079ca1 Sub: tweak depth holding behavior in stabilize/althold/poshold 2022-09-28 11:30:33 -03:00
Willian Galvani 9faf1ef273 Sub: fix holding depth at arbitrary attitudes 2022-04-28 15:26:18 -03:00
Willian Galvani 4ab3103761 Implement vectored depth-hold 2022-04-19 20:42:31 -03:00
Andrew Tridgell 3304730d7c Sub: fixes for use of longitude_scale() 2021-07-22 19:07:36 +09: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
Tom Pittenger 018e766a3f Sub: NAV_Delay variable timers to be all unsigned and labeled as _ms 2019-08-19 15:24:06 -07:00
Peter Barker 03e6065380 Sub: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker 11c5d7cfca Sub: RangeFinder uses AP_SerialManager singleton 2019-07-16 09:29:48 +10:00
Peter Barker 9afb334f0c Sub: stop passing relay and ahrs into camera constructor 2019-07-09 09:32:39 +10:00
Peter Barker 5444903504 Sub: ServoRelayEvents uses Relay singleton 2019-07-03 23:59:24 -07:00
Michael du Breuil ba65b163f7 Sub: Remove wrapper around MAVLink send heartbeat 2019-06-18 13:59:52 +01:00
Peter Barker 8566a17a1d Sub: move arming-related functionality into parent classes
Logging moves up
arming via mavlink moves up
arming via switch moves up

arming switch may be forced off using BRD parameter
2019-05-30 07:37:30 +09:00
Peter Barker 6774bab363 Sub: stop passing references to AC_Avoid constructor 2019-05-22 07:48:02 -06: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