Peter Barker
1f5165349e
Plane: correct compilation when airspeed disabled
3 years ago
Andrew Tridgell
9c617a18f4
Plane: suppress rate D terms in ground mode
...
this prevents a common oscillation issue on the ground
3 years ago
Peter Barker
3d34e061fe
ArduPlane: add and use HAL_QUADPLANE_ENABLED
3 years ago
Paul Riseborough
a1bde16abd
Plane: Fix failure to disarm after landing in strong winds
4 years ago
Andy Piper
c057be8ed1
Plane: conditionally compile ADSB support
4 years ago
Rishabh
0b01bb531d
Plane: Remove unutilized case
5 years ago
Peter Barker
74dbcac40e
ArduPlane: log disarm method
5 years ago
Peter Hall
a2e72de5ae
Plane: move to airspeed_estimate with pointer
5 years ago
Peter Hall
fbba3f4035
Plane: set_likely_flying in vehicle
5 years ago
Andrew Tridgell
ff400243e0
Plane: added a new TAKEOFF flight mode
...
takeoff then circle in direction of takeoff
5 years ago
Peter Barker
400aa53654
Plane: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
6 years ago
Vinicius Knabben
99ad94ec49
Plane: Added parachute release on critcal sink rate and battery failsafe actions
...
Signed-off-by: Vinicius Knabben <viniciusknabben@hotmail.com>
6 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago
Peter Barker
1a55f0ffab
Plane: FrSky support has moved to GCS
6 years ago
Peter Barker
d58a15ca32
Plane: fill Notify flag for flying
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
f430fd14f6
Plane: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Andrew Tridgell
987b556299
Plane: disable crash detection if no GPS and no airspeed
6 years ago
Andrew Tridgell
b660022b20
Plane: handle long GPS loss in crash detector
...
fixes issue #9349
6 years ago
night-ghost
98b8a61ca8
Plane: allow AP_Stats to be optional
7 years ago
Andrew Tridgell
ac196b8e0a
Plane: fixed build error
7 years ago
Tom Pittenger
50a2d824c4
Plane: crash detection hard landing detection should skip debounce
...
closes https://github.com/ArduPilot/ardupilot/issues/7683
7 years ago
Andrew Tridgell
49cb245ea6
Plane: use a min airspeed for is_flying test
...
in VTOLs setting min airspeed to zero can be useful
7 years ago
Michael du Breuil
bd32b5deb7
Plane: update isFlying() landing check
...
When we are landing a sink_rate < -0.2f means the vehicle is climbing,
which should never happen during an approach for any supported landing
type (slope or deepstall), and on hard impacts with the ground its
common for the vehicle altitude to be projected to low and climb back to
the correct altitude slowly (but at a higher rate). This changes the
check to only consider sinks while on approach as acceptable.
7 years ago
Michael du Breuil
83decd1370
ArduPlane: Only run is_flying landing checks when in landing stage
7 years ago
Andrew Tridgell
af893ddde7
Plane: implement Q_OPTIONS
...
this allows for NAV_TAKEOFF to be treated as NAV_VTOL_TAKEOFF in
quadplanes, and for level flight to be maintained during quadplane
transitions
7 years ago
Tom Pittenger
8adacfeea3
Plane: always log MODE and include reason when logging is enabled
7 years ago
Peter Barker
5a8f01c19c
Plane: use send_text method on the GCS singleton
8 years ago
Andrew Tridgell
0b40e853c9
Plane: call set_likely_flying()
8 years ago
Tom Pittenger
bdafc2c025
AP_Landing: re/move complete flag into backend
...
the complete flag was only ever true during FLIGHT_LAND_FINAL so we just check for that now instead
8 years ago
Tom Pittenger
e709705ab8
Plane: describe flight stages without using specific stage name
8 years ago
Tom Pittenger
063f517424
Plane, TECS, AP_Landing: rename stage LAND_ABORT to ABORT_LAND
...
this will reduce confusion when searching for FLIGHT_LAND_* and you get a bunch of takeoff related hits. It will also make more sense when the landing library fully manages the FLIGHT_LAND stage entirely because it will not mange FLIGHT_LAND_ABORT
8 years ago
Tom Pittenger
c286ceba43
Plane: move enum FlightStages to AP_Vehicle::FixedWing
8 years ago
Tom Pittenger
f556f705e6
Plane: move various g params to aparms
8 years ago
Tom Pittenger
896b931a7c
Plane: Move auto_state variables to AP_landing members
8 years ago
Peter Barker
98ae6c776a
Plane: support for AP_Stats (flight time, bootcount, runtime)
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Tom Pittenger
b8d53e1c58
Plane: change how is_flying bool is assignment in fysky lib
...
Florent had this correct on his PR but I incorrectly advised him to change it. This commit changes it back to his original method which was correct.
8 years ago
floaledm
0b666d4933
Plane: Plane support for Frsky passthrough protocol
9 years ago
Andrew Tridgell
d26af6c25b
Plane: change is_flying() groundspeed threshold to 1.5m/s
9 years ago
Tom Pittenger
fc50f145ce
Revert "ArduPlane: Convert references to AP_Airspeed. Added automatic migration of ARSPD_FBW_MIN and ARSPD_FBW_MAX (plane parameter) to ARSPD_FBW_MIN and ARSPD_FBW_MAX (library parameter)."
...
This reverts commit da1b18d918
.
9 years ago
AndersonRayner
da1b18d918
ArduPlane: Convert references to AP_Airspeed. Added automatic migration of ARSPD_FBW_MIN and ARSPD_FBW_MAX (plane parameter) to ARSPD_FBW_MIN and ARSPD_FBW_MAX (library parameter).
9 years ago
Tom Pittenger
ab38b12f2c
Plane: adsb specific status updates
9 years ago
Tom Pittenger
4ebaab86ec
Plane: override is_flying for quadplane
9 years ago
Andrew Tridgell
0aa1ae048d
Plane: fixed is_flying() for VTOL flight
...
otherwise we may disarm mid-flight!
9 years ago
Tom Pittenger
436062ef37
Plane: improved crash detection
...
- fixes bug where a bungee launch is configured but the aircraft gets bumped and triggers the prop to spin up. This will now detect that and "crash' and disable the motor
9 years ago
Tom Pittenger
66fcd8f58a
Plane: run is_crashed at 5hz instead of 1hz
9 years ago
Tom Pittenger
b8d5369ebd
Plane: add flight stage LAND_PREFLARE
9 years ago
Andrew Tridgell
418464ab8c
Plane: added quadplane version of is_flying()
9 years ago
Andrew Tridgell
7afa2a493d
Plane: implement VTOL flight stage
9 years ago
Andrew Tridgell
72edfcd1f6
Plane: update for changed peak hold API
9 years ago