Peter Hall
33f9e3d4b6
plane: add tailsitter transision rates, give more info in transision complete messages
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
fef8b37b11
Plane: Address Randy review comments
4 years ago
James O'Shannessy
aae092b88f
ArduPlane: Remove all unused geofence capability
...
ArduPlane: Remove missed geofence logic
4 years ago
James O'Shannessy
17fb585bf1
ArduPlane: Add support for AC_Fence
...
ArduPlane: Remove some geofence logic from ArduPlane
ArduPlane: Refactor action and mode return implementation
ArduPlane: Use polyfence to find the return point.
4 years ago
Andrew Tridgell
c913d8134d
Plane: use ahrs.groundspeed() instead of gps call
...
this fixes a zero of integrator when dead-reckoning after GPS has died
4 years ago
Peter Barker
6baaf03c8c
Plane: move auto_throttle_mode to being a method on each mode
4 years ago
Peter Barker
f6cb1b5ad6
Plane: use a method on Mode for auto-navigation-mode
...
Avoids the state getting stale, which it will with a failed attempt to
go into qautotune, for example.
4 years ago
Iampete1
2d80dcd937
Plane: remove tailsitter VTOL transition race condition
4 years ago
Hwurzburg
cf055fd1e0
Plane: add midposition to flare RC option sw
4 years ago
Hwurzburg
b61ee34b6b
ArduPlane: add RC option for landing flare
4 years ago
Andy Piper
d16872cca5
Plane: compile out ADSB mode if required
4 years ago
Andrew Tridgell
d9358b4ac2
Plane: don't allow a zero speed_scaler
...
this fixes an issue with yaw damper on quadplanes when at zero
airspeed
Thanks to Vladi Portnoy for reporting this
5 years ago
Buzz
0f5177b291
Plane: Support a set of offboard MAVLink guided controls with rates
...
+ 3 rounds of fixes
5 years ago
Michael du Breuil
37be15b3cd
Plane: When stick mixing is disabled do not apply stick mixing to quadplane modes
5 years ago
Peter Hall
a2e72de5ae
Plane: move to airspeed_estimate with pointer
5 years ago
Andrew Tridgell
470a60f828
Plane: reset steering in MANUAL or when not stabilising
6 years ago
Andrew Tridgell
aa18c75689
Plane: decay fw rate integrators when at low airspeed
...
this prevents large fixed wing control surface integrators from
causing issues when we have wind from behind in hover
6 years ago
Andrew Tridgell
ebe2278f5d
Plane: reset rate controller integrators if not run for 2s
...
this prevents a bug where integrator buildup can happen from a
previous flight mode
6 years ago
Tom Pittenger
6970a66cad
Plane: refactor stick_mixing to library
6 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago
Mark Whitehorn
487ad7a90f
Plane: add QACRO mode for quadplanes
...
use acro_r/p/y_rate params in qacro
port ACRO throttle handling from copter
handle non-tailsitter controls
6 years ago
Michael du Breuil
843c92ced5
Plane: Remove some redundant code/state resets
6 years ago
Michael du Breuil
e6bc44f471
Plane: Fix cases where quadplane level transition was not applied
6 years ago
Nikhil Upadhye
d1e93bae83
Plane: adding new mode QAUTOTUNE
...
copter like autotune support for quadplanes and tailsitter in VTOL mode.
cleanup
6 years ago
Andrew Tridgell
fa04c2d094
Plane: prevent jitter on surfaces due to speed scaling
...
when disarmed the k_throttle output can oscillate due to stage in the
loop we are at, even though actual output is zero. This can cause
jitter in the speed scaling, which causes surface movement
To fix, don't use k_throttle value when disarmed
6 years ago
Andrew Tridgell
da69bf3391
Plane: added an abstraction for reverse thrust
...
use have_reverse_thrust() and get_throttle_input()
6 years ago
Andrew Tridgell
1c162c8b64
Plane: ensure speed scaling covers full aircraft speed range
...
this is important for very fast or very slow aircraft
6 years ago
Andrew Tridgell
2215913b02
Plane: added speed scaling reduction for Q modes
...
when in a Q mode reduce surface movements at low airspeed, in case we
have the wind from behind us. This prevents the control surfaces from
causing instability
6 years ago
Michael du Breuil
8417bcc7d5
Plane: Add flight options bitmask
7 years ago
Tom Pittenger
512b327cd4
Plane: failsafe events to use enums instead of magical numbers : Non-functional change
7 years ago
Andrew Tridgell
85573b3ff3
Plane: fixed a division by zero
...
if min airspeed is zero
7 years ago
Michael du Breuil
d52f5155f0
Plane: Rename rc failsafe state members
7 years ago
Andrew Tridgell
552faa8f67
Plane: smoother tailsitter transitions
...
this smooths out tailsitter transitions in both directions, adding a
new FW to VTOL transition state
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
Michael du Breuil
1bb806edb2
Plane: Use new landing interfaces
8 years ago
Andrew Tridgell
c787f4c56f
Plane: initial support for tailsitter transitions
8 years ago
Michael du Breuil
29b16dbafd
Plane: Refactor to request relative altitudes from AHRS
...
Removes the need for plane to do the math for finding the relative height.
Also caches the value at the same time we update current_loc, which is a
non behaviour change as that was the only time you could see a change in
the relative height propegate through the system anyways
8 years ago
Tom Pittenger
e709705ab8
Plane: describe flight stages without using specific stage name
8 years ago
Andrew Tridgell
081909bf6a
Plane: removed use of pwm_to_angle()
8 years ago
Andrew Tridgell
b83f50be0f
Plane: use new SRV_Channels API
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
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
Andrew Tridgell
6aa3ded666
Plane: split main servo output functions into a separate file
8 years ago
Andrew Tridgell
d6890495aa
Plane: added swapped channel version of elevon/vtail/flaperon output
...
this makes it possible to setup an elevon plane without changing the
transmitter reversals
9 years ago
Tom Pittenger
ca32bcc58d
Plane: add new flight mode AVOID_ADSB to mimic GUIDED
9 years ago
Andrew Tridgell
c4c7a3051a
Plane: added support for secondary throttles
9 years ago
Andrew Tridgell
adb5a3ee1f
Plane: re-work AFS for new AP_AdvancedFailsafe API
9 years ago
Andrew Tridgell
5d6dfd927b
Plane: changes for AP_AdvancedFailsafe naming
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