Commit Graph

3439 Commits

Author SHA1 Message Date
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
Andrew Tridgell
7751352a86 Plane: implement VTOL landing for AFS termination
this allows for vertical landing as an AFS_TERM_ACTION
2019-09-12 09:59:17 +10:00
Mark Whitehorn
788e7a840c Plane: default angle_boost to disabled for tailsitters 2019-09-12 09:05:42 +10:00
Andrew Tridgell
b724608f03 Plane: update release notes for 3.9.11 2019-09-11 12:30:27 +10:00
Michael du Breuil
4f22dff14d Plane: Add an airspeed limit for quadplane takeoffs 2019-09-09 22:06:25 -06:00
Michael du Breuil
77afcf6a1b Plane: Abort takeoffs that take to long to complete 2019-09-09 22:06:25 -06:00
Henry Wurzburg
7178655cbe Plane: fixed landing after VTOL loiters 2019-09-10 08:57:13 +10:00
Michael du Breuil
cf58f68e49 Plane: Rearrange header to save flash
Saves 392 bytes of flash on CubeBlack builds without increasing RAM
consumption at all. This also translates to a speed up as some of these
are looked up every loop multiple times.
2019-09-10 06:43:34 +10:00
Peter Barker
948d606694 Plane: remove ineffective DEVO_TELEM_ENABLED 2019-09-04 17:47:33 +10:00
Peter Barker
b12f620233 Plane: fix format string warnings 2019-09-02 21:00:59 +10:00
IamPete1
27286b659b Plane: servos: update dspoiler auto trim 2019-09-01 09:00:16 +10:00
Peter Barker
32a71d2d5a Plane: mount uses AP_SerialManager singleton 2019-08-28 06:55:28 +10:00
Andrew Tridgell
296ce5a409 Plane: fixed throttle failsafe for FS_SHORT_ACTN=3
this is a replacement for #12043
many thanks to @Jaaaky for finding this issue
2019-08-26 17:20:24 +10:00
Andrew Tridgell
0ccd2fb273 Plane: update release notes for 3.9.10 2019-08-26 13:38:44 +10:00
Peter Barker
847f85a081 Plane: correct compilation with PARACHUTE==DISABLED 2019-08-23 13:22:44 +10:00
Andrew Tridgell
470a60f828 Plane: reset steering in MANUAL or when not stabilising 2019-08-22 20:10:09 +10:00
Michael du Breuil
0b0d0e2f8e Plane: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Peter Barker
1b36d64794 Plane: correct compilation with GEOFENCE_ENABLED==DISABLED 2019-08-20 23:03:32 -07:00
Michael du Breuil
ea64077f77 Plane: Remove redundant protection 2019-08-20 23:59:06 +01:00
Andrew Tridgell
10770b5c7f Plane: update release notes for 3.9.10beta1 2019-08-18 16:18:43 +10:00
Peter Barker
2768d229ed Plane: stop updating sensor status flags
These are updated as required in the gcs library itself.
2019-08-17 17:45:03 +10:00
Peter Barker
466681a94e Plane: factor out a handle_command_int_do_reposition 2019-08-14 18:30:24 +10:00
Peter Barker
cfe4ec4d1f Plane: add nullptr check for mavlink channel 0 2019-08-14 18:25:43 +10:00
Peter Barker
7e5a6f1895 Plane: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker
20626a1fe1 Plane: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Andrew Tridgell
1b775c96f5 Plane: added rangefinder correction by terrain data
allows for landing approach with terrain changes
2019-08-06 09:36:02 +10:00
Peter Barker
b7b67f523d Plane: pass format string through to check_failed 2019-08-05 14:18:05 +10:00
Andrew Tridgell
6f57028c23 Plane: added release notes from 3.9.9 2019-08-04 18:01:51 +10:00
Leonard Hall
124d18228b Plane: Support seperate roll and pitch limits 2019-08-03 12:06:32 +09:00
Peter Barker
05c608e725 Plane: use MAV_FRAME_GLOBAL instead of MAV_FRAME_GLOBAL_INT in send_position_target 2019-07-30 10:55:21 +10:00
Peter Barker
20a20bde65 Plane: accept MAV_FRAME_GLOBAL for set_position and repositioning 2019-07-30 10:55:21 +10:00
Michael du Breuil
2d81ad63f5 Plane: Convert ARMING_CHECK 2019-07-30 10:42:16 +10:00
Michael du Breuil
3e214e1f8b Plane: Add keydump feature 2019-07-30 10:42:16 +10:00
Leonard Hall
34da437266 Plane: support for upgrade to PID object 2019-07-25 17:38:15 +09:00
Leonard Hall
157f786adf Global: rename desired to target in PID info 2019-07-25 17:38:15 +09:00
Michael du Breuil
c6f884221e Plane: Fix parameter description on values to not use the delimiter character 2019-07-23 09:29:48 +10:00