Andrew Tridgell
860587ece7
Plane: disable parachute checks when min alt is zero
9 years ago
Peter Barker
ee5290c178
Plane: avoid switch statement for enabling fence if no fence present
9 years ago
Tom Pittenger
954c987075
Plane: do not parse GEOFENCE packets when geofence is disabled via compile option
9 years ago
Tom Pittenger
af1407a155
Plane: disable parachute code when not enabled via compile option
9 years ago
Tom Pittenger
ea9e39212f
Plane: use new check_latlng helper
9 years ago
Andrew Tridgell
da5ce37bbc
Plane: fixed gain on -ve stick mixing past 50%
...
fixed a sign error in calculating gain on -ve stick mixing beyond 50%
input
thanks to Doug Weibel for a log that showed this effect
9 years ago
Andrew Tridgell
b17c800f44
Plane: use axis specific tuning controller error
...
this gives user feedback on the axis they are tuning
9 years ago
Tom Pittenger
a80a87eb09
Plane: simplify TECS prep logic by utilizing auto_state.land_in_progress
9 years ago
Tom Pittenger
4db5b80b37
Plane: add flag for auto_state.land_in_progress
9 years ago
Tom Pittenger
4ebaab86ec
Plane: override is_flying for quadplane
9 years ago
Peter Barker
28361afc2a
Plane: move telemetry_delayed up into base class
9 years ago
Peter Barker
9ee62aac30
Plane: move adjust_rate_for_stream up
9 years ago
Peter Barker
af5a52e2aa
Plane: subclass GCS_MAVLink in place of defining its functions for it
9 years ago
Andrew Tridgell
f96836ab9a
Plane: prevent a discrepancy between EKF origin and home for altitude
9 years ago
Andrew Tridgell
ba3576f027
Plane: added tuning error reporting for quadplanes
9 years ago
Andrew Tridgell
b56d784ae4
Plane: limit to zero pitch in quadplane on initial transition
9 years ago
Andrew Tridgell
20cf326093
Plane: lower throttle threshold for quadplane is_flying
9 years ago
Tom Pittenger
e3930b45df
Plane: force the safety_state immediately because we want it to be in effect while we make mixer changes
9 years ago
Tom Pittenger
4785650c95
Plane: remove redundant calls to safety_state
9 years ago
Andrew Tridgell
9933069679
Plane: fixed motor test by percentage in quadplane
9 years ago
Andrew Tridgell
191d6df0ea
Plane: moved EKF2 to a new parameter index
...
the meanings of many of the parameters have changed. Best to use a new
index to prevent old parameters from causing crashes
9 years ago
Andrew Tridgell
6e4c0dd3d7
Plane: allow non-blocking calibrations while armed
9 years ago
Andrew Tridgell
0f50f483b8
Plane: update for new airspeed calibration
9 years ago
Andrew Tridgell
d3494d1369
Plane: don't stall EKF during baro cal
9 years ago
Andrew Tridgell
5b4bbf08fd
Plane: use send_heartbeat wrapper
9 years ago
Andrew Tridgell
4a7dea0c5b
Plane: simplify UART setup
9 years ago
Andrew Tridgell
9f47e6417b
Plane: always build with MAVLink2 headers
9 years ago
Andrew Tridgell
309dbef2ec
Plane: fixed mavlink1 dependency on px4
9 years ago
Andrew Tridgell
eee06da1b5
Plane: use HAVE_PAYLOAD_SPACE()
9 years ago
Andrew Tridgell
be14714fa4
ArduPlane: update signing timestamp on GPS lock
9 years ago
Andrew Tridgell
a103e70460
ArduPlane: handle SETUP_SIGNING message
9 years ago
Andrew Tridgell
b7fe96188d
Plane: raise range of THR_FS_VALUE
...
need to cope with reversed throttle
9 years ago
Andrew Tridgell
e0a9a8196c
Plane: fixed throttle failsafe with THR_PASS_STAB=1
...
this prevents using pass-thru throttle when in throttle failsafe
9 years ago
Don Gagne
151686ce9d
ArduPlane: SET_SENSORS_OFFSETS support for third compass
9 years ago
Tom Pittenger
36a1054f77
Plane: remove Tom Pittenger as an author since he's now listed as a lead
9 years ago
Tom Pittenger
c9167f89eb
Plane: add Tom Pittenger as co-lead developer
9 years ago
Tom Pittenger
30c5c9eb5d
Plane: log SONR.DistCM in cm as SONR.Dist as meters
9 years ago
Tom Pittenger
00863623d7
Plane: SONR logging, remove BaroAlt,GSpd,Thr
9 years ago
Tom Pittenger
b2fb2f3949
Plane: optimize millis() calls by reusing result
9 years ago
Tom Pittenger
1a066cadd2
Plane: fixed float->double print warning
9 years ago
Tom Pittenger
6746b4227a
Plane: handle large negative baro offsets (corner case) to self-trigger a land-abort go-around
...
new param: LAND_ABORT_DEG
@Description : This parameter is used when using a rangefinder during landing for altitude correction from baro drift (RNGFND_LANDING=1) and the altitude correction indicates your altitude is higher than the intended slope path. Steeper slopes can result in crashes so this allows the option to remember the baro offset and self-abort the landing and come around for a another landing with the correct baro offset applied for a perfect slope. An auto-abort go-around will only happen once, next attempt will not auto-abort again. This operation happens entirely automatically in AUTO mode. This value is the delta degrees threshold to trigger the go-around. Example: if set to 5 deg and the mission planned slope is 15 deg then if the new slope is 21 then it will go-around. Set to 0 to disable. Requires LAND_SLOPE_RCALC > 0.
9 years ago
Tom Pittenger
a1c4103cef
Plane: print to GCS the newly calculated glide slope angle
9 years ago
Tom Pittenger
f048aafb76
Plane: store auto land slope
...
- also changed order of landing slope calc but is functionally the same
9 years ago
Tom Pittenger
034cd2413e
Plane: re-calc landing glide slope to gracefully handle baro offset during long flights
...
New param: LAND_SLOPE_RCALC
@Description : This parameter is used when using a rangefinder during landing for altitude correction from baro drift (RNGFND_LANDING=1) and the altitude correction indicates your altitude is lower than the intended slope path. This value is the threshold of the correction to re-calculate the landing approach slope. Set to zero to keep the original slope all the way down and any detected baro drift will be corrected by pitching/throttling up to snap back to resume the original slope path. Otherwise, when a rangefinder altitude correction exceeds this threshold it will trigger a slope re-calculate to give a shallower slope. This also smoothes out the approach when flying over objects such as trees. Recommend a value of 2m.
default value is 2 (so, enabled by default)
9 years ago
Tom Pittenger
4a6dd5a781
Plane: reset baro drift when setting home while disarmed
9 years ago
Andrew Tridgell
e3b2e90a27
Plane: cleanup unnecessarily complex gcs[] usage
9 years ago
dgrat
48c243bed0
ArduPlane: Do not use is_zero() for non-float types
9 years ago
Tom Pittenger
7af888633d
Plane: 3of3 add loiter_xtrack option flag for post-loiter navigation
...
0 to crosstrack from center of waypoint, 1 to crosstrack from tangent exit location
9 years ago
Tom Pittenger
78d6291e2c
Plane: corrected land abort gcs msg
9 years ago
Tom Pittenger
6c0579a895
Plane: for better helical landings allow for instant approach stage if previous nav cmd was LOITER_TO_ALT
9 years ago