Commit Graph

3474 Commits

Author SHA1 Message Date
Andrew Tridgell 78d877dc66 Plane: fixed geofence send 2020-05-11 18:20:20 +10:00
Andrew Tridgell c3d1e75221 Plane: sync with plane4.0 2020-05-11 18:14:30 +10:00
Andrew Tridgell f40e68011b Plane: compensate forward throttle for battery voltage drop 2020-05-11 17:59:46 +10:00
Andrew Tridgell 00585ebc3f Plane: fixed flaperon auto-trim
fixed direction of flaperon automatic trim with SERVO_AUTO_TRIM
2020-05-11 17:57:35 +10:00
Andrew Tridgell 62ff0a5d4f Plane: fixed plane landing gear to obey LGR_OPTIONS bits
we forced landing gear retract/deploy on takeoff and landing when we
should be following the options bits
2020-05-11 17:56:23 +10:00
Randy Mackay d4f8470960 Plane: rename update_throttle_mix
was called update_throttle_thr_mix
also minor format fixes
2020-05-06 14:28:59 +09:00
Andrew Tridgell 14f45a7513 Plane: update for new SRV_Channels parameter conversion call 2020-04-21 08:03:01 +09:00
Peter Barker bee4ad24d8 Plane: do not trust fence-channel PWM during RC failsafe 2020-02-05 11:13:30 +09:00
Gone4Dirt ce963c8f0f Plane: Prevent FS action overiding VTOL land 2020-02-05 11:13:30 +09:00
Andrew Tridgell 90d15af4ae Plane: added Q_ASSIST_ALT parameter
this allows for quadplane assistance in fixed wing modes when the
aircraft drops below a given altitude. This could help save an
aircraft that is flying badly in fixed wing mode
2020-02-05 11:13:30 +09:00
Andrew Tridgell b4abab2add Plane: fixed range check for RC channel 2020-02-05 11:13:30 +09:00
Randy Mackay e4f28cd0a5 Plane: scripting init sends failure message 2019-12-16 14:07:46 +09:00
Peter Barker 9986676e90 Plane: rename system_status as it won't be called from base class 2019-12-16 14:02:48 +09:00
Andrew Tridgell bc71a74576 ArduPlane: moved AC_PID dependency to core 2019-12-16 13:35:59 +09:00
Leonard Hall 9e04029699 Plane: limit ATC_MOT_MIX_MAX in case of a fly away 2019-10-31 20:12:29 +09:00
Michael du Breuil ee96ec7f0d Plane: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Peter Barker 1d99fbebc9 Plane: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Randy Mackay edb5f05339 Plane: minor comment changes 2019-10-22 07:15:48 +08:00
Henry Wurzburg 871e5f448c ArduPlane: added RC option for new takeoff mode 2019-10-21 08:41:58 +11:00
Andrew Tridgell abd08ac5ca Plane: fixed takeoff alt handling
thanks to Henry for noticing
2019-10-20 09:38:26 +11:00
Mark Whitehorn 1a2abae902 Plane: reduce QTUN log rate to 25Hz 2019-10-20 06:24:46 +11:00
Andrew Tridgell 9d1c6ae46e Plane: update release notes for 4.0.0beta4 2019-10-19 09:11:30 +11:00
Andrew Tridgell 3194059408 Plane: allow TAKEOFF mode on board with no compass 2019-10-17 12:19:43 +11:00
Andrew Tridgell f628524601 Plane: if already flying in TAKEOFF mode then skip takeoff 2019-10-17 12:19:43 +11:00
Andrew Tridgell dc2aaa7d5a Plane: deny reverse thrust in takeoff mode 2019-10-17 12:19:43 +11:00
Andrew Tridgell ff400243e0 Plane: added a new TAKEOFF flight mode
takeoff then circle in direction of takeoff
2019-10-17 12:19:43 +11:00
Henry Wurzburg 3e08e18202 Plane: add QACRO to flight mode list 2019-10-16 13:14:06 +11:00
Andrew Tridgell f821ca4677 Plane: remove AP_ADSB from wscript 2019-10-16 13:13:24 +11:00
Peter Barker 5d405896f8 Plane: move many members up to base class 2019-10-08 11:26:04 +11:00
Peter Barker a252aad39b Plane: become an AP_Vehicle 2019-10-08 11:26:04 +11:00
sas 9405fd6958 Plane: remove unused location argument to control_auto 2019-10-08 10:49:51 +11:00
Peter Barker fa0d0c6176 Plane: remove bogus ARMING_CHECK_NONE 'bitmask value' 2019-10-08 10:31:07 +11:00
Andrew Tridgell 2f936b0d3e Plane: updated release notes for 4.0.0beta3 2019-10-07 21:41:19 +11:00
Michael du Breuil f9580424f6 Plane: Resore old default behaviour for throttle curves
The change in this made QStabilize behave very differently then it had,
which is quite shocking in a test flight.
2019-10-07 21:17:07 +11:00
Andrew Tridgell db4ae9ff24 Plane: check airspeed and active Z controll for hover learning 2019-10-04 14:01:08 +10:00
Peter Barker 177f7bed81 Plane: remove unused configuration options 2019-09-27 11:58:10 -06:00
Peter Barker 3bb1b0845c Plane: stop compiling in AP_Buffer 2019-09-24 09:36:33 +10:00
Michael du Breuil 8bfab6d2f2 Plane: Geofence, speed up the no fence checks if disabled
This just checks if we are going to early out on the fence because it's
disabled. This also saves us 60 bytes of flash space. This technically
is a behaviour change as it was possible to load the fence before while
disabled if there was an RC channel mapped to it. This defers that until
the fence will have an action. The advantage of this though is that it
speeds up the check that's done per loop in a quadplane for stick mixing
2019-09-23 17:31:33 -06:00
Michael du Breuil 562b155f63 Plane: Remove unused geofence enable reason 2019-09-23 17:31:33 -06:00
Michael du Breuil 7d8b114b24 Plane: Reduce size of GeoFenceState
Cuts it from 32 bytes to 28
2019-09-23 17:31:33 -06:00
Michael du Breuil af0dfb6d8b Plane: Remove unneeded state from geofence 2019-09-23 17:31:33 -06:00
Andrew Tridgell 27187ca248 Plane: updated release notes for 4.0.0beta2 2019-09-24 08:46:52 +10:00
Andrew Tridgell c93d73b678 Plane: change master version to 4.1.0dev 2019-09-22 20:20:16 +10:00
Peter Barker 5730808778 Plane: remove stale enum entries for log message types 2019-09-18 15:02:57 +10:00
Andrew Tridgell 5c43b18672 Plane: fixed height_above_ground() for case when rangefinder is below min
this prevents a rangefinder that goes below min distance from causing
the calculations that depend on height above ground to fail
2019-09-17 09:36:26 +10:00
Andrew Tridgell 34b0967d09 Plane: prevent fwd motor from spinning up on ground in quadplane landing
if the rangefinder starts to measure below it's min range then the fwd
motor can spin up.

Thanks to Josh for reporting this!
2019-09-17 09:36:26 +10:00
Peter Barker a761cb62de Plane: remove get_advanced_failsafe override; singleton to be used 2019-09-17 09:13:43 +10:00
Andrew Tridgell 8b92df51db Plane: updated release notes for 4.0.0beta1 2019-09-16 12:59:25 +10:00
Andrew Tridgell 6572700baa Plane: fixed an issue with landing on rising ground
when landing on rising ground we don't want to use the terrain look
fwd correction for the flare calculation as otherwise we will flare
too early (and thus too high)
2019-09-16 12:52:00 +10:00
Andrew Tridgell 929426abf8 Plane: update release notes for 3.9.11 2019-09-15 19:08:16 +10:00