Peter Barker
74dbcac40e
ArduPlane: log disarm method
5 years ago
Peter Barker
c93d17b4b2
ArduPlane: use enum-class for SRV_CHANNEL_LIMIT_TRIM and friends
5 years ago
Randy Mackay
edb5f05339
Plane: minor comment changes
5 years ago
Andrew Tridgell
296ce5a409
Plane: fixed throttle failsafe for FS_SHORT_ACTN=3
...
this is a replacement for #12043
many thanks to @Jaaaky for finding this issue
6 years ago
Michael du Breuil
ea64077f77
Plane: Remove redundant protection
6 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
Peter Barker
f09822a400
Plane: adjust for desired spool state and spool state renames
6 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago
Peter Barker
ca7566fff9
Plane: use enum class for ArmingMethod and ArmingRequired
6 years ago
Andrew Tridgell
a278a152fc
Plane: fixed throttle nudge
...
broken by recent radio input changes
Thanks to Michael for noticing!
6 years ago
Andrew Tridgell
d7abf27ec2
Plane: fixed servo jitter due to airspeed estimate from throttle
...
when we have no other airspeed source and we are armed we get airspeed
from throttle. the default setting of k_throttle in the radio code
caused an oscillation of the value used in the airspeed estimate, each
time a RC frame came in.
6 years ago
Michael du Breuil
5134af2298
Plane: Manage quadplane throttle during RC failsafe
6 years ago
Andrew Tridgell
03f1deca9f
Plane: support REVERSE_THROTTLE rc option
...
this provides a more convenient way to setup for reverse throttle
6 years ago
Andrew Tridgell
da69bf3391
Plane: added an abstraction for reverse thrust
...
use have_reverse_thrust() and get_throttle_input()
6 years ago
Randy Mackay
d6a102234e
Plane: rename rudder_arming to get_rudder_arming_type
7 years ago
Randy Mackay
96d494c2e8
Plane: use parent AP_Arming rudder value
7 years ago
Michael du Breuil
3098744777
Plane: Fix a stale rudder input that was left from rebase
7 years ago
Michael du Breuil
8417bcc7d5
Plane: Add flight options bitmask
7 years ago
Michael du Breuil
e4bbcd5ee3
Plane: Don't initilize motors with a trim value
7 years ago
Andrew Tridgell
d9b72f6821
Plane: reset rudder input during RC failsafe
7 years ago
Peter Barker
9ce02bc504
Plane: minimal support for inheritting from RC_Channel
7 years ago
Michael du Breuil
12da35220c
Plane: Simplify radio trimming, improve MAVLink report
7 years ago
Andrew Tridgell
8d996112ec
Plane: don't do throttle ESC scaling for quadplanes
7 years ago
Michael du Breuil
2deac7238c
Plane: Support new RC_Channels::read_input()
7 years ago
Michael du Breuil
7b7f5e242b
Plane: Simplify channel reading
7 years ago
Michael du Breuil
3e4288d604
Plane: Use RC_Channels instead of hal.rcin
7 years ago
Guy Tzoler
a6c7890c74
Plane: use cork/push wrapper
7 years ago
Michael du Breuil
e63e39c411
Plane: Don't broadcast PWM value that tripped throttle failsafe
7 years ago
Michael du Breuil
d52f5155f0
Plane: Rename rc failsafe state members
7 years ago
Andrew Tridgell
1a207c919b
Plane: fixed bug in TRIM_AUTO
...
fixed trim for differential spoilers
8 years ago
Andrew Tridgell
0266168e69
Plane: removed old elevon and vtail mixers
...
now only use the function based mixing, and auto-convert on startup
8 years ago
Peter Barker
5a8f01c19c
Plane: use send_text method on the GCS singleton
8 years ago
Andrew Tridgell
51b39ea3a1
Plane: removed ancient "mix_mode" type elevon mixing
...
this has been deprecated for a long time
8 years ago
Andrew Tridgell
725244ff8a
Plane: implement new TRIM_AUTO functionality
...
this fixes TRIM_AUTO for new scaled output approach to servo functions
8 years ago
Andrew Tridgell
3bb25eb194
Plane: added Q_TAILSIT_INPUT
...
this allows the user to control tailsitters either in body frame (like
a plane) or in earth frame (like a multicopter). This is useful for
people wanting to learn to fly prop-hang on 3D planes
8 years ago
Andrew Tridgell
b3380ecfa7
Plane: support twin-engine planes
...
with differential thrust for yaw
8 years ago
Randy Mackay
e906310b71
Plane: rudder_arming moved to AP_Arming_Plane
8 years ago
Andrew Tridgell
b83f50be0f
Plane: use new SRV_Channels API
8 years ago
Tom Pittenger
f556f705e6
Plane: move various g params to aparms
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
57ddc8f58f
Plane: use SRV_Channels set_esc_scaling()
...
this fixes throttle range on Disco with SERVO_RNG_ENABLE=1
8 years ago
Andrew Tridgell
fcd98e2c44
Plane: implement AUTO_TRIM for SERVO_RNG_ENABLE=1
...
automatically adjust servo trims
8 years ago
Andrew Tridgell
a23c373f16
Plane: fixed servo mixing for AFS and failsafe case
8 years ago
Andrew Tridgell
2b144d5c3d
Plane: allow rudder arming in CRUISE and FBWB modes
8 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
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
Andrew Tridgell
ec367d4a09
Plane: re-order channel initialisation
...
this fixes a problem with spurious throttle output during board
startup. Many thanks to Marco for finding this!
9 years ago
Michael du Breuil
7142bacfaa
Plane: improve user friendliness of throttle fs msg
9 years ago
skyscraper
4d769497c9
ArduPlane: RC_Channel refactor
...
Fix white space after function name
9 years ago