Tom Pittenger
81f8358705
Plane: restart landing by jumping to DO_LAND_START or decrement mission
...
only takes effect on mode change
10 years ago
squilter
583c087eca
Plane: update severities
10 years ago
Tom Pittenger
ee9a66bd02
Plane: fix compiler warning re double promotion
10 years ago
Tom Pittenger
f1eb2f88df
Plane: post "Distance from LAND point" on every land
...
- waits until disarm after a land
10 years ago
Grant Morphett
c87929e907
Plane: Fix landing to stop divide by zero if params are 0
...
If someone mistakenly puts all 0's in their LAND command then
total_distance will be calculated as 0 and cause a divide by 0 error
below thus crashing ArduPilot. Lets avoid that.
10 years ago
Andrew Tridgell
358a13261c
Plane: moved sink_rate calculation to update_alt()
...
this makes it available to non-landing code
10 years ago
Andrew Tridgell
554869033f
Plane: disabled rangefinder on APM2
...
this saves 5k of flash space, enough for support to be kept for
another release
10 years ago
Andrew Tridgell
b92c2409e4
Plane: added local millis() and micros() to reduce code size a bit
10 years ago
Andrew Tridgell
18c37935c9
Plane: convert from .pde to .cpp files
10 years ago
Tom Pittenger
c4c47cba66
Plane: compile warnings: float to double. print statements require doubles
10 years ago
Michael Day
8a6fc0ad77
Plane: If LAND_FLARE_SEC is 0 use LAND_FLARE_ALT for aim_height.
...
See discussion here:
https://github.com/diydrones/ardupilot/pull/2197
10 years ago
Michael Day
05d065b471
Plane: Make LAND_FLARE_SEC optional.
10 years ago
Andrew Tridgell
9468a59204
Plane: require 3 seconds of not flying to declare a crash on land
10 years ago
Tom Pittenger
1b0ed277b3
Plane: Disarm On Land
...
After a landing has occur using a LAND waypoint, automatically disarm
after this many seconds have passed. Use 0 to not disarm.
10 years ago
Andrew Tridgell
e55350a5d6
Plane: added crash detection in autoland
...
if we are no longer flying then flare, which turns off the motor
This is based on work by Tom Pittenger
10 years ago
Andrew Tridgell
1c1798fb11
Plane: support much smoother flare transitions
...
provide the height above the ground to TECS so it can make a smarter
pre-flare transition
10 years ago
Andrew Tridgell
28341a6c7a
Plane: handle very steep landings more gracefully
...
prevent us trying to put the flare point too high or too far back if
the mission requires a steep landing
10 years ago
Andrew Tridgell
ae96a48efc
Plane: use location_path_proportion()
...
this should produce better glide slopes when the aircraft is off
course
10 years ago
Andrew Tridgell
976ae14f1f
Plane: improve landing aim point calculation
...
try to account for wind and current ground speed to dynamically update
glide slope in landing to flare at the right point
10 years ago
Andrew Tridgell
c299f721b1
Plane: fixed sense of landing sink rate calculation
...
thanks to BretC for reporting
10 years ago
Andrew Tridgell
c046273be2
Plane: fixed verify_land() comment for go-around
10 years ago
Michael Day
01f611daa9
Plane: "Go around" operation. Assumes go around behavior follows land wp.
10 years ago
Andrew Tridgell
e434850f1f
Plane: move set_mode() after mission.set_current_cmd()
...
if set_current_cmd() fails, we don't want to change to AUTO with some
unknown mission item
10 years ago
Andrew Tridgell
02b80db67c
Plane: minor code style change
...
use comment and function style consistent with rest of code
10 years ago
Michael Day
c1b949a74f
Plane: Bugfix. Changing to landing sequence now works at mission end.
10 years ago
Andrew Tridgell
24622030b4
Plane: improved landing glide slope
...
we project a point 500m past the landing point to prevent
discontinuites close to the landing point
11 years ago
Andrew Tridgell
50f492a69f
Plane: added RNGFND_LANDING option
...
this allows the use of a rangefinder for landing flare and landing
approach
11 years ago
Andrew Tridgell
d0b6676547
Plane: do landing flare if past landing point
...
this helps prevent us keeping the throttle on after we've landed if
the baro has drifted enough that we think we are not yet at the flare altitude
11 years ago
Andrew Tridgell
dad95648a0
Plane: split landing code into landing.pde
...
this is in preparation for more complex landing code using the
rangefinder
11 years ago