Andrew Tridgell
6b4e5304cf
Plane: fixed mixer outputs
8 years ago
Andrew Tridgell
1879eddfa0
Plane: adjust for limit_slew_rate API change
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
04f32b6ec6
Plane: simplify flight stage landing check to use landing.in_progress
8 years ago
Tom Pittenger
c286ceba43
Plane: move enum FlightStages to AP_Vehicle::FixedWing
8 years ago
Tom Pittenger
b7b56b94a3
Plane: convert landing.complete to landing.is_complete()
8 years ago
Andrew Tridgell
1e691cdefc
Plane: fixed build
8 years ago
Tom Pittenger
ac1dced3bf
Plane: set landing params as private and use accessors
8 years ago
Tom Pittenger
896b931a7c
Plane: Move auto_state variables to AP_landing members
8 years ago
murata
ab99ea54eb
Plane: To nullptr from NULL.
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
Ricardo de Almeida Gonzaga
3d1db89655
ArduPlane: Fix typos
8 years ago
Andrew Tridgell
15d6c77087
Plane: fixed vtail rudder only planes
8 years ago
William Liu
8a64106faa
Plane: return false when throttle is not suppressed
8 years ago
Andrew Tridgell
5724aef8b3
Plane: support automatic servo trimming
...
now that we have separated RC input from servo output with
SERVO_RNG_ENABLE=1 we can do full automatic servo trimming as an
option
8 years ago
Andrew Tridgell
70375720f3
Plane: fixed throttle slew handling with SERVO_RNG_ENABLE=1
8 years ago
Andrew Tridgell
be1109174e
Plane: apply elevon and vtail mixers after SRV_Channel remap
...
this is needed to ensure that changes in RCn_MIN/MAX don't cause
changes in the output handling for elevon nd vtail planes
8 years ago
Andrew Tridgell
d49f50db4b
Plane: don't output aux channels on termination
8 years ago
Andrew Tridgell
a23c373f16
Plane: fixed servo mixing for AFS and failsafe case
8 years ago
Andrew Tridgell
8170df7ba8
Plane: added servo remapping object
8 years ago
Andrew Tridgell
c7f738c284
Plane: separate out the output channel mixing
...
this provides a framework for other output mixing types
8 years ago
Andrew Tridgell
eb67c97bb2
Plane: split out flap output functions
8 years ago
Andrew Tridgell
a2cdd75870
Plane: removed THROTTLE_OUT define
...
this can be achieved with THR_MAX parameter instead
8 years ago
Andrew Tridgell
40c6ebf61a
Plane: refactor more of servos output code to be easier to read
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
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
Andrew Tridgell
327a057ee0
Plane: added internal combustion engine support
...
this allows for automatic engine start and restart
9 years ago
Andrew Tridgell
96d785f1c6
Plane: added auto_navigation_mode flag
...
this fixes a problem where modes like loiter and auto would allow for
rudder stick mixing even with STICK_MIXING=0
9 years ago
Tom Pittenger
0597dbd033
Plane: allow SET_ATTITUDE_TARGET to set rpy and throttle
9 years ago
Tom Pittenger
85afd9e245
Plane: remove guided roll flag, handle it with timer=0
9 years ago
Michael Day
8ac433f991
Plane: Can now command roll from a companion computer.
9 years ago
Andrew Tridgell
bf2e30f858
Plane: removed demo_servos()
...
this really didn't help much and slows down startup
9 years ago
E Thomas
7d824247af
Differential spoilers support, elevon offset
...
Fixed differential spoilers support, added elevon offset
See PR #2935
9 years ago
Tom Pittenger
ee29f38cdf
Plane: moved takeoff flap check to NORMAL checks.
...
TODP: add new flight stage FLIGHT_PRE_TAKEOFF to put this sort of thing into
9 years ago
Samuel Rosenstein
296b279f0d
Plane: fixed issue with preflight flaps. Flaps now go down in preflight mode
9 years ago
Michael du Breuil
41bb237799
Plane: remove throttle surpressed message
9 years ago
Andrew Tridgell
835235127c
Plane: prevent divide by zero in SITL
...
harmless on PX4
9 years ago
Tom Pittenger
af1407a155
Plane: disable parachute code when not enabled via compile option
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
eee06da1b5
Plane: use HAVE_PAYLOAD_SPACE()
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
Ricardo de Almeida Gonzaga
1fad971851
ArduPlane: Fix typos
9 years ago
skyscraper
e9e2f9020d
ArduPlane: RC_Channel refactor, reimplement stick_mix_channels
...
reimplement the new overload of Plane::stick_mix_channel so
that it calls the existing overload
9 years ago