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
bcdd16025b
Plane: replace AP_MotorsMatrixTS with AP_MotorsMatrix
4 years ago
Hwurzburg
96f5e2a20a
Plane: Update THR_FAILSAFE param metadata
4 years ago
Samuel Tabor
93bcfc4c3e
Plane: Assign flap channel in set_control_channels() to avoid expensive call in set_servos_flaps().
4 years ago
Samuel Tabor
590ebb180c
Plane: Update airbrake channel assignment in set_control_channels() to avoid expensive call in airbrake_update()
4 years ago
Samuel Tabor
f1290a2e17
Plane: Add use of airbrakes, used when throttle is negative OR via RC channel option.
4 years ago
Iampete1
abee62abc4
Plane: use throttle in for transition max comparison
5 years ago
Peter Barker
75aa8b7e6e
Plane: log speed scaler into AETR
5 years ago
Andrew Tridgell
bf0f359445
Plane: fixed LOITER_TO_ALT with terrain target
...
many thanks to Pompecukor for finding this!
Fixes #14951
5 years ago
Samuel Tabor
67c152cef2
Plane: Move cruise state into cruise flight mode.
5 years ago
Samuel Tabor
334fd4afbc
Plane: Remove update_navigation() method.
5 years ago
Samuel Tabor
836be4b4b4
Plane: Remove _navigate indirection in Mode.
5 years ago
Samuel Tabor
6a27866df4
Plane: Call plane.update_loiter() rather than plane.mode_loiter.navigate().
5 years ago
Samuel Tabor
06eea6ed9f
Plane: Move navigation functions into flight mode classes.
5 years ago
Siddharth Purohit
fb180fa431
Plane: move to using CANManager library
5 years ago
Peter Barker
306eaf4d03
ArduPlane: use an enumeration for the AP_Avoidance recovery action
5 years ago
Mark Whitehorn
ee65940dfa
Plane: enable yaw in qstabilize:air_mode at zero throttle
5 years ago
Mark Whitehorn
4630e9af30
Plane: add Mode::is_vtol_man_mode
...
and make use of is_vtol_mode in in_vtol_mode
5 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
Michael du Breuil
99ad126986
Plane: Fix redundant call to SpdHgt_Controller->get_land_airspeed()
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
Samuel Tabor
aa776b06a4
Plane: Use sq() rather than powf() in soaring.cpp.
5 years ago
Samuel Tabor
b2d63c5049
Plane: Refactor soaring.cpp.
5 years ago
Peter Barker
ac85ec9924
Plane: log AHRS synthetic airspeed
5 years ago
Andrew Tridgell
6466912ac0
Plane: don't crosstrack after AUTO VTOL takeoff
5 years ago
Andy Piper
b649afe9e5
Plane: make mount/gimbal inclusion configurable per-board
5 years ago
Tom Pittenger
c7c9461fc0
Plane: update ModeReasons to not use UNKNOWN reason
5 years ago
Andrew Tridgell
cce2532901
Plane: fixed use of VTOL control for missions
...
horizontal speed was not being setup when doing waypoint missions in
VTOL mode
5 years ago
Peter Hall
cd46c5006a
ArduPlane: remove duplicate fail-safe time check
5 years ago
Iampete1
62354527d4
Plane: zero throttle nudge in RC failsafe
5 years ago
Henry Wurzburg
3617e0c729
ArduPlane: fix airspeed messages for consistency
5 years ago
Samuel Tabor
419f7c9998
Plane: Convert SOAR_ENABLE_CH to RCX_OPTION.
5 years ago
Samuel Tabor
611217f63e
AP_Soaring: Use RC aux function rather than read RC directly.
5 years ago
Samuel Tabor
455ebaadf2
RC_Channel: Add soaring aux function.
5 years ago
Michael du Breuil
6c6e4eff67
Plane: adhoc MAVLink DO_LAND_START changing mode to auto is known to be a GCS reason
5 years ago
Henry Wurzburg
16a15f5450
ArduPlane: add CROW flaps mode select switch
5 years ago
Mirko Denecke
10a85892cf
ArduPlane: update_trigger() is now called in AP_Camera update()
5 years ago
Paul Riseborough
585a6a6967
Plane: Log D gain limit cycle gain scaler
...
Used by roll and pitch loops in APM_Control
5 years ago
TunaLobster
aca70ffd34
ArduPlane: Update Log_Write_Fast comment for accuracy
5 years ago
Iampete1
08a710235d
Plane: add tailsitter assist with motors only option
5 years ago
Iampete1
6710bab006
Plane: add Q_OPTIONS to defaut to Qassist force enabled
5 years ago
Henry Wurzburg
4115603f13
ArduPlane: add terrain follow disable switch for CRUISE/FBWB
5 years ago
Paul Riseborough
e5bd99a66f
ArduPlane: Signal EKF to expect takeoff start to improve GSF yaw estimate
5 years ago
Michael du Breuil
955a05c4d5
Plane: Refactor mav_cmd_do_reposition to be consistent with copter
5 years ago
Mark Whitehorn
2af6e255d1
RC_Channel: add RC option for VTOL manual forward throttle
...
fix RC_OPTION metadata for 209: Forward Throttle
5 years ago
Mark Whitehorn
d5b1b20274
Plane: implement manual forward throttle for QACRO, QSTABILIZE and QHOVER
...
add parameter Q_FWD_THR_MAX for scaling manual throttle
allow forward motor tilt when disarmed
add FWD_THR_CH as an RC option
change Q_FWD_THR_MAX to percent
change RC_OPTION FWD_THR to 209
move assignment of rc_fwd_thr_ch to one_second_loop
move arming check from forward_throttle_pct to set_servos
change Q_FWD_THR_MAX TO Q_FWD_MANTHR_MAX
expand description of Q_FWD_MANTHR_MAX
add pre-arm check for VTOL manual forward throttle
change VTOL fwd throttle input to percent
5 years ago
Peter Barker
ee2118f93a
Plane: add support for AP_Generator
5 years ago
Peter Barker
d47569ccef
Plane: correct ASSIST_ANGLE description
5 years ago
Andrew Tridgell
3a0538449c
Plane: added Q_ASSIST_DELAY parameter
...
this allows tuning of the time between assistance thresholds being met
and assistance kicking in. It also changes the default delay from 1s
down to 0.5s based on analysis of a flight where assistance was too
slow
5 years ago