ardupilot/ArduPlane
Andrew Tridgell 86c2404654 Plane: increased safety of guided -> auto quadplane takeoff
when we arm in guided mode then enter a special guided_wait_takeoff
state. We keep motors suppressed until one of the following happens

  1) disarm
  2) guided takeoff command
  3) change to AUTO with a takeoff waypoint as first nav waypoint
  4) change to another mode

while in this state we don't go to throttle unlimited, and will refuse
a change to AUTO mode if the first waypoint is not a takeoff. If we
try to switch to RTL then we will instead use QLAND

This state is needed to cope with the takeoff sequence used by QGC on
common controllers such as the MX16, which do this on a "takeoff"
swipe:

  - changes mode to GUIDED
  - arms
  - changes mode to AUTO
2022-05-18 06:43:16 +10:00
..
afs_plane.cpp Plane: set new slew limit and inherit slew limt for flaps 2022-01-25 10:12:13 +11:00
afs_plane.h ArduPlane: use mission singleton inside AP_AdvancedFailsafe 2021-08-03 10:35:24 +10:00
altitude.cpp Plane: removed terrain home correction 2022-03-10 07:34:20 +11:00
AP_Arming.cpp Plane: increased safety of guided -> auto quadplane takeoff 2022-05-18 06:43:16 +10:00
AP_Arming.h Plane: check that RTL_AUTOLAND is set if using DO_LAND_START 2022-03-14 09:52:41 +11:00
ArduPlane.cpp Plane: remove persistent guided_WP_loc state 2022-03-22 10:14:40 +11:00
Attitude.cpp Plane: Updated highest airspeed limit when armed 2022-04-18 14:54:57 +10:00
avoidance_adsb.cpp Plane: do not use guided waypoint for loiter location 2022-04-21 06:59:39 +10:00
avoidance_adsb.h Plane: remove persistent guided_WP_loc state 2022-03-22 10:14:40 +11:00
commands_logic.cpp ArduPlane: support *10 multipler when storing/retrieving radius in NAV_LOITER_TURNS 2022-05-11 17:40:35 +10:00
commands.cpp Plane: remove persistent guided_WP_loc state 2022-03-22 10:14:40 +11:00
config.h ArduPlane: create and use AP_OPTICALFLOW_ENABLED 2021-12-29 18:12:03 +11:00
control_modes.cpp Plane: use has_valid_input in place of checking throttle counter 2022-03-01 10:29:37 +11:00
createTags ArduPlane: remove mention to .pde files 2016-05-07 22:55:48 -03:00
defines.h Plane: added a value for RTL_AUTOLAND to disable arming check 2022-03-23 20:22:58 +11:00
ekf_check.cpp ArduPlane: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00
events.cpp Plane: add Q_OPTION for RTL always on RC failsafe for ship landing 2022-04-19 19:58:46 +10:00
failsafe.cpp Plane: set new slew limit and inherit slew limt for flaps 2022-01-25 10:12:13 +11:00
fence.cpp Plane: fixed yaw on the ground when rudder disarming in AUTO 2022-03-24 07:44:40 +11:00
GCS_Mavlink.cpp ArduPlane: remove handling of MAVLINK_MSG_ID_SET_HOME_POSITION 2022-05-10 09:46:22 +10:00
GCS_Mavlink.h ArduPlane: stop libraries including AP_Logger.h in .h files 2022-04-08 19:18:38 +10:00
GCS_Plane.cpp Plane: GCS move airspeed sensor status flags up 2022-01-19 18:21:32 +11:00
GCS_Plane.h ArduPlane: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
is_flying.cpp Plane: correct compilation when airspeed disabled 2022-03-20 21:47:05 +11:00
Log.cpp Plane: review fixes 2022-03-10 07:34:20 +11:00
Makefile.waf waf: use single entry point for make wrappers 2015-12-10 10:40:34 +09:00
mode_acro.cpp ArduPlane: extend nav_scripting to all modes 2022-02-07 21:19:28 +11:00
mode_auto.cpp Plane: increased safety of guided -> auto quadplane takeoff 2022-05-18 06:43:16 +10:00
mode_autotune.cpp Plane: move auto_throttle_mode to being a method on each mode 2021-01-10 16:04:30 +11:00
mode_avoidADSB.cpp Plane: compile out ADSB mode if required 2020-09-24 08:22:16 -07:00
mode_circle.cpp Plane: move auto_throttle_mode to being a method on each mode 2021-01-10 16:04:30 +11:00
mode_cruise.cpp ArduPlane: Add missing const in member functions 2021-02-03 18:45:14 +11:00
mode_fbwa.cpp Plane: move FBWA_TDRAG_CHAN to RC Options 2021-03-17 19:18:46 +11:00
mode_fbwb.cpp Plane: move auto_throttle_mode to being a method on each mode 2021-01-10 16:04:30 +11:00
mode_guided.cpp Plane: remove persistent guided_WP_loc state 2022-03-22 10:14:40 +11:00
mode_loiter.cpp Plane: fix loiter terrain following 2021-05-02 18:51:27 +10:00
mode_LoiterAltQLand.cpp Plane: remove persistent guided_WP_loc state 2022-03-22 10:14:40 +11:00
mode_manual.cpp Plane: manual stabilize: keep nav pitch and roll up to date 2021-11-09 13:44:30 +00:00
mode_qacro.cpp Plane: Qacro: use new transition class 2021-11-02 10:14:36 +11:00
mode_qautotune.cpp ArduPlane: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00
mode_qhover.cpp ArduPlane: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00
mode_qland.cpp ArduPlane: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00
mode_qloiter.cpp Plane: quadplane: remvoe unused loiter initial pitch varable 2021-12-31 08:46:31 +11:00
mode_qrtl.cpp Plane: increased safety of guided -> auto quadplane takeoff 2022-05-18 06:43:16 +10:00
mode_qstabilize.cpp Plane: quadplane: limit post VTOL transtion pitch rate on tailsitters in maunal modes 2022-01-04 10:42:12 +11:00
mode_rtl.cpp Plane: increased safety of guided -> auto quadplane takeoff 2022-05-18 06:43:16 +10:00
mode_stabilize.cpp Plane: fix stabilize mode 2022-01-03 08:09:53 +11:00
mode_takeoff.cpp Plane: use float for set/get output scaled 2021-10-20 18:29:58 +11:00
mode_thermal.cpp Plane: Remove meaningless semicolons 2022-02-07 08:27:34 +09:00
mode_training.cpp Plane: move auto_throttle_mode to being a method on each mode 2021-01-10 16:04:30 +11:00
mode.cpp Plane: review fixes 2022-03-10 07:34:20 +11:00
mode.h Plane: disable TECS use during NAV_SCRIPT_TIME 2022-02-07 12:34:15 +11:00
motor_test.cpp Plane: motor_test: use PWM min and max from RC_Channel 2022-03-01 10:47:25 +11:00
navigation.cpp ArduPlane: convert floating point divides into multiplys 2022-03-18 15:26:44 +11:00
parachute.cpp Plane: integrate parachute check_sink_rate 2020-10-06 16:14:59 +11:00
Parameters.cpp Plane: moved harmonic notch update code to AP_Vehicle 2022-04-19 09:39:03 +10:00
Parameters.h Plane: added a value for RTL_AUTOLAND to disable arming check 2022-03-23 20:22:58 +11:00
Plane.cpp Plane: create generic vehicle management and move runcam to it 2019-12-30 13:02:04 +11:00
Plane.h Plane: moved harmonic notch update code to AP_Vehicle 2022-04-19 09:39:03 +10:00
qautotune.cpp Plane: seperate kinimatic shaping from pid limit setting 2021-07-10 20:25:05 +09:00
qautotune.h ArduPlane: tidy includes 2022-05-03 09:14:58 +10:00
quadplane.cpp Plane: increased safety of guided -> auto quadplane takeoff 2022-05-18 06:43:16 +10:00
quadplane.h Plane: increased safety of guided -> auto quadplane takeoff 2022-05-18 06:43:16 +10:00
radio.cpp ArduPlane: rename within_min_dz to in_min_dz for consistency 2022-03-08 11:17:45 +11:00
RC_Channel.cpp ArduPlane: fix auxiliary typo 2022-05-02 10:55:08 +10:00
RC_Channel.h ArduPlane: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00
ReleaseNotes.txt Plane: release notes for 4.2.0 2022-05-04 10:33:50 +10:00
reverse_thrust.cpp ArduPlane : case label indentation 2022-03-08 14:24:46 -08:00
sensors.cpp Plane: move Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
servos.cpp Plane: correct compilation when airspeed disabled 2022-03-20 21:47:05 +11:00
soaring.cpp Plane: soaring: No action if in landing sequence. 2021-08-04 06:52:56 +10:00
system.cpp Plane: moved harmonic notch update code to AP_Vehicle 2022-04-19 09:39:03 +10:00
tailsitter.cpp ArduPlane: tailsitter: keep attitude controll throttle level upto date for smoother controller handover 2022-03-09 18:21:51 +11:00
tailsitter.h Plane: quadplane: add allow_weathervane transtion class method 2022-02-08 10:38:16 +11:00
takeoff.cpp Plane: remove SpdHgt and use TECS direct 2021-11-13 08:05:39 +11:00
tiltrotor.cpp ArduPlane: convert floating point divides into multiplys 2022-03-18 15:26:44 +11:00
tiltrotor.h Plane: wait till motors are fully up before takeoff in guided mode 2022-03-10 07:34:20 +11:00
transition.h Plane: fixed pitch envelope after AIRBRAKE 2022-03-18 13:36:16 +11:00
tuning.cpp Plane: removed controller error in transmitter tuning 2022-02-22 12:23:48 +11:00
tuning.h Plane: removed controller error in transmitter tuning 2022-02-22 12:23:48 +11:00
version.h Plane: change master version to 4.3.0dev 2022-03-02 07:44:36 +11:00
wscript Plane: link in AP_Follow 2022-03-10 07:34:20 +11:00