Peter Barker
5b7ec1fab4
Plane: do not run any prearm checks if we are armed or arming is not required
...
Co-authored-by: TunaLobster <unknown>
4 years ago
Andrew Tridgell
8482f9af27
Plane: fixed motor test with DShot VTOL motors
...
need to arm when running the motor test
4 years ago
Hwurzburg
d15e01d390
Plane: fix DO_CHANGE_SPEED airspeed to impact only AUTO and GUIDED modes
4 years ago
James O'Shannessy
aae092b88f
ArduPlane: Remove all unused geofence capability
...
ArduPlane: Remove missed geofence logic
4 years ago
Peter Barker
b6d0208287
Plane: allow arming in all auto-throttle modes
...
... except QRTL and QLAND which are now universally denied for arming.
4 years ago
Randy Mackay
d487d6152e
Plane: ahrs pre-arm always runs position checks
4 years ago
Peter Barker
b698546b70
ArduPlane: add do_disarm_checks boolean to disarm call
...
this creates symmetry between arming and disarming, at least as far as
the top-level arm() and disarm() calls are concerned.
4 years ago
Peter Barker
6baaf03c8c
Plane: move auto_throttle_mode to being a method on each mode
4 years ago
Peter Barker
9b2ef4f6f1
Plane: move rudder-arming arm checks into Plane's AP_Arming
4 years ago
Andrew Tridgell
cd6ddf7d4f
Plane: fixed disable of geofence on quadplane landing
...
fixes #15917
4 years ago
Andrew Tridgell
52f61c7ac1
Plane: make FENCE_AUTOENABLE an AP_Enum
4 years ago
Randy Mackay
60b4953751
Plane: integrate ahrs.pre_arm_check
4 years ago
Randy Mackay
eeaf135cca
AP_Arming: integrate ahrs.pre_arm_check
4 years ago
Iampete1
fc67c2c13b
Plane: check AP_Motors has init correcly for Quadplanes
4 years ago
Mark Whitehorn
629f2153e0
Plane: move arming delay logic into AP_Arming_Plane
4 years ago
Mark Whitehorn
2b4772269d
Plane: tiltrotors: allow vectored yaw motor tilt when disarmed
...
add disarm tilt delay
add arming delay
add Q_OPTIONS for disarmed motor tilt and delayed arming
add comment explaining arming delay option
eliminate millis() wrap in arming delay
4 years ago
Mark Whitehorn
e22d9398d3
Plane: add AirMode RC option for quadplanes
...
add Q_OPTION for AirMode (auto-enabled if RCx_OPTION ARMDISARM assigned)
bugfix: manual throttle mix for qacro
qualify auto airmode on/off
add Air Mode to Plane RC_OPTION metadata
restrict airmode to manual throttle modes
add qhover to manual throttle mix
move air_mode from Plane to QuadPlane
add Mode::is_vtol_man_throttle()
5 years ago
Andrew Tridgell
3c705d1c60
Plane: added THR_FAILSAFE=2 option
...
this allows for RC inputs to be ignored at low throttle, but won't
trigger failsafe. It is meant for users flying BVLOS missions, where
they want GCS failsafe enabled, but don't want RC failsafe, and want
to be sure that RC inputs will be ignored at low RC throttle values
Thanks to suggestion from Pompecukor
5 years ago
Peter Barker
74dbcac40e
ArduPlane: log disarm method
5 years ago
Peter Barker
a74d754720
Plane: AP_Arming now logs arm/disarm events
5 years ago
Peter Barker
fa0d0c6176
Plane: remove bogus ARMING_CHECK_NONE 'bitmask value'
5 years ago
Michael du Breuil
562b155f63
Plane: Remove unused geofence enable reason
5 years ago
Peter Barker
1b36d64794
Plane: correct compilation with GEOFENCE_ENABLED==DISABLED
6 years ago
Peter Barker
b7b67f523d
Plane: pass format string through to check_failed
6 years ago
Andrew Tridgell
5076058459
Plane: added FENCE_AUTOENABLE=3 option
...
this enables the fence when arming. If the vehicle is outside the
fence or it can't be enabled then arming fails
6 years ago
Peter Barker
13f7022cec
Plane: move Arming functions into AP_Arming file
6 years ago
Peter Barker
92ce75517c
Plane: move check for ARMING_CHECK_NONE back into Plane
...
Plane allows all prearm and arm checks to be bypassed with
ARMING_CHECK_NONE. Not all vehicles allow this, so move this bypass
back into Plane.
6 years ago
Andrew Tridgell
ebbe01bd83
Plane: bypass arming checks for armed watchdog reboot
6 years ago
Michael du Breuil
f5511d6119
Plane: Check all EKF cores for health
6 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago
Peter Barker
cf45b54070
Plane: quadplane use prearm checks from Attitude and Position controllers
6 years ago
IamPete1
f24c6785f2
Plane: add E-stop
6 years ago
Peter Barker
40856fef56
Plane: remove vestiges of old PX4_MIXER code
6 years ago
Michael du Breuil
69c87c6c4a
Plane: Disallow arming if quadplane has been requested but isn't available
6 years ago
Randy Mackay
96d494c2e8
Plane: use parent AP_Arming rudder value
7 years ago
Peter Barker
3bfa4c8678
Plane: use singletons in AP_Arming
7 years ago
Peter Barker
23919daf11
Plane: use arming check_failed function
7 years ago
Peter Barker
7fd859da65
Plane: move home state into AP_AHRS
7 years ago
Tom Pittenger
512b327cd4
Plane: failsafe events to use enums instead of magical numbers : Non-functional change
7 years ago
Michael du Breuil
1a3ca43e86
Plane: Don't check FS_SHORT_TIMEOUT if it's disabled
...
Also renames the check_minimum_altitude() to reflect that it's only used
for FBWB.
7 years ago
Peter Barker
1a724ded2a
Plane: AP_Arming: sanity-check fs timeout parameters
7 years ago
Peter Barker
fa39f315c6
Plane: move starting of new logs into DataFlash
8 years ago
Peter Barker
592729733e
Copter: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Randy Mackay
7cc8b7232c
Plane: rename arming_checks to AP_Arming
8 years ago
Peter Barker
fc28beacea
Plane: AP_Arming: use callback in place of variable reference for home state
8 years ago
Peter Barker
f712dd5d7e
Plane: add arming check for logging actually started
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
9b83781b4f
Plane: fixed mixer arming error with FMUv4
...
thanks to Tim Gold for reporting this
9 years ago
Tom Pittenger
e13d5fa0bf
ArduPlane: updated Mixer error message
9 years ago
Michael du Breuil
f0247a7be1
Plane: always check that the mixer has been configured as arming check
9 years ago