ardupilot/ArduPlane
Andrew Tridgell ccd38ddee0 Plane: improved fwd throttle during VTOL landing
this sets up the vwd integrator more reasonably when we are in
POSITION1 stage of VTOL landing. We need to have enough throttle to
cope with a headwind, but want it lower when we are at or above our
target closing speed so can minimise the amount of pitch up

This also makes the landing_desired_closing_velocity() consistent with
the landing speed used in approach, using average of airspeed min and
cruise speed if TECS_LAND_ARSPD is not set

The target airspeed for TECS during airbraking is now set to
ARSPD_FBW_MIN, on the basis we are trying to slow down to min speed,
and we have VTOL support which should prevent a stall.

To cope with a high headwind where ARSPD_FBW_MIN is below the headwind
we now check for too low achieved closing speed and switch to
POSITION1 which can use vfwd to get to the landing location
2023-06-27 11:40:55 +10:00
..
AP_Arming.cpp Plane: implement AP_PLANE_BLACKBOX_LOGGING 2023-05-18 12:59:09 +10:00
AP_Arming.h Plane: implement AP_PLANE_BLACKBOX_LOGGING 2023-05-18 12:59:09 +10:00
ArduPlane.cpp Plane: fixup is_landing and is_taking_off members 2023-06-26 06:54:56 -07:00
Attitude.cpp Plane: move mode manual reset into run function removing manual early return 2023-05-24 18:19:53 +10:00
GCS_Mavlink.cpp Plane:add FlightOptions helper 2023-04-26 17:35:25 +10:00
GCS_Mavlink.h ArduPlane: move sysid_my_gcs to be public 2023-06-17 14:49:22 +10:00
GCS_Plane.cpp ArduPlane: move setting of MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW sensors flags up 2022-10-19 21:00:48 +11:00
GCS_Plane.h ArduPlane: code-generate chan-fetching methods 2022-12-15 08:31:54 +11:00
Log.cpp Plane: correct AETR log description ranges 2023-05-10 17:28:49 +10:00
Makefile.waf waf: use single entry point for make wrappers 2015-12-10 10:40:34 +09:00
Parameters.cpp Plane: remove SYS_NUM_RESETS, replaced by STAT_BOOTCNT 2023-06-20 11:10:36 +10:00
Parameters.h Plane: remove SYS_NUM_RESETS, replaced by STAT_BOOTCNT 2023-06-20 11:10:36 +10:00
Plane.cpp Plane: fixup is_landing and is_taking_off members 2023-06-26 06:54:56 -07:00
Plane.h Plane:remove duplication in setting servos in MANUAL 2023-06-27 11:04:53 +10:00
RC_Channel.cpp ArduPlane: make Plane use more of RC_Channel library for mode switching 2023-04-18 09:19:20 +10:00
RC_Channel.h ArduPlane: make Plane use more of RC_Channel library for mode switching 2023-04-18 09:19:20 +10:00
ReleaseNotes.txt Plane: release notes for 4.4.0-beta2 2023-06-08 18:48:10 +10:00
afs_plane.cpp ArduPlane: add and use AP_ADVANCEDFAILSAFE_ENABLED 2023-02-08 19:00:13 +11:00
afs_plane.h ArduPlane: add and use AP_ADVANCEDFAILSAFE_ENABLED 2023-02-08 19:00:13 +11:00
altitude.cpp Plane: relative_ground_altitude allow passing bool for terrain use 2023-01-25 19:34:53 +11:00
avoidance_adsb.cpp ArduPlane: change namespace of MultiCopter and FixedWing params 2022-11-09 19:04:37 +11:00
avoidance_adsb.h all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
commands.cpp Plane: ensure home is up to date on arming 2023-02-19 10:45:42 +11:00
commands_logic.cpp Plane: correct compilation when AP_Rally disabled 2023-04-10 16:37:42 -07:00
config.h ArduPlane: add and use AP_ADVANCEDFAILSAFE_ENABLED 2023-02-08 19:00:13 +11:00
control_modes.cpp ArduPlane: make Plane use more of RC_Channel library for mode switching 2023-04-18 09:19:20 +10:00
createTags ArduPlane: remove mention to .pde files 2016-05-07 22:55:48 -03:00
defines.h Plane: Support a long failsafe that goes straight to auto 2023-04-28 09:37:12 +10:00
ekf_check.cpp ArduPlane: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00
events.cpp Plane: Support a long failsafe that goes straight to auto 2023-04-28 09:37:12 +10:00
failsafe.cpp Plane: use is_armed_and_safety_off() 2023-02-21 07:44:09 +11:00
fence.cpp Plane: correct compilation when AP_Rally disabled 2023-04-10 16:37:42 -07:00
is_flying.cpp Plane: use is_armed_and_safety_off() 2023-02-21 07:44:09 +11:00
mode.cpp Plane: fixup is_landing and is_taking_off members 2023-06-26 06:54:56 -07:00
mode.h Plane: fixup is_landing and is_taking_off members 2023-06-26 06:54:56 -07:00
mode_LoiterAltQLand.cpp Plane: remove persistent guided_WP_loc state 2022-03-22 10:14:40 +11:00
mode_acro.cpp Plane:add FlightOptions helper 2023-04-26 17:35:25 +10:00
mode_auto.cpp Plane: fixup is_landing and is_taking_off members 2023-06-26 06:54:56 -07:00
mode_autotune.cpp Plane:expand yaw autotune to other modes 2023-01-31 10:02:16 +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 Plane: cleanup abort of NAV_SCRIPT 2022-10-29 21:22:29 +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: move guided roll, pitch and throttle overrides upto guided mode 2023-04-18 09:36:06 +10:00
mode_loiter.cpp Plane: Fix bug that can cause early exit from loiter to alt and time wp's 2023-05-18 02:35:47 -07:00
mode_manual.cpp Plane:remove duplication in setting servos in MANUAL 2023-06-27 11:04:53 +10:00
mode_qacro.cpp Plane: Quadplane: move modes fully to run function 2023-05-23 09:52:55 +10:00
mode_qautotune.cpp Plane: Quadplane: move modes fully to run function 2023-05-23 09:52:55 +10:00
mode_qhover.cpp Plane: Quadplane: move modes fully to run function 2023-05-23 09:52:55 +10:00
mode_qland.cpp ArduPlane: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
mode_qloiter.cpp Plane: Quadplane: move modes fully to run function 2023-05-23 09:52:55 +10:00
mode_qrtl.cpp Plane: Quadplane: move modes fully to run function 2023-05-23 09:52:55 +10:00
mode_qstabilize.cpp Plane: Quadplane: move modes fully to run function 2023-05-23 09:52:55 +10:00
mode_rtl.cpp Plane:add FlightOptions helper 2023-04-26 17:35:25 +10:00
mode_stabilize.cpp Plane: move Stabilize functions into mode 2023-05-02 09:29:40 +10:00
mode_takeoff.cpp Plane: Make mode takeoff entry climb to TKOFF_ALT before loitering 2023-05-20 08:52:47 +10:00
mode_thermal.cpp Plane: Remove meaningless semicolons 2022-02-07 08:27:34 +09:00
mode_training.cpp Plane: move training mode function to mode training 2023-02-22 19:26:59 +11:00
motor_test.cpp Plane: Quadplane: check with motors if motor test is allowed 2023-06-27 10:24:15 +10:00
navigation.cpp ArduPlane: Enable ground speed undershoot correction without GPS 2023-06-15 08:59:02 +10:00
parachute.cpp ArduPlane: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
qautotune.cpp Plane: seperate kinimatic shaping from pid limit setting 2021-07-10 20:25:05 +09:00
qautotune.h Plane: enable QUAUTOTUNE build option 2022-11-22 10:58:03 +11:00
quadplane.cpp Plane: improved fwd throttle during VTOL landing 2023-06-27 11:40:55 +10:00
quadplane.h Plane:remove duplication in setting servos in MANUAL 2023-06-27 11:04:53 +10:00
radio.cpp Plane: don't trigger RC failsafe until RC has been received for the first time 2023-05-02 09:11:18 +10:00
reverse_thrust.cpp Plane:add FlightOptions helper 2023-04-26 17:35:25 +10:00
sensors.cpp ArduPlane: change namespace of MultiCopter and FixedWing params 2022-11-09 19:04:37 +11:00
servos.cpp Plane:remove duplication in setting servos in MANUAL 2023-06-27 11:04:53 +10:00
soaring.cpp Plane: soaring: No action if in landing sequence. 2021-08-04 06:52:56 +10:00
system.cpp Plane: remove SYS_NUM_RESETS, replaced by STAT_BOOTCNT 2023-06-20 11:10:36 +10:00
tailsitter.cpp Plane: use dedicated quadplane function for stick mixing enable 2023-04-25 10:06:50 +10:00
tailsitter.h Plane: use dedicated quadplane function for stick mixing enable 2023-04-25 10:06:50 +10:00
takeoff.cpp Plane:add FlightOptions helper 2023-04-26 17:35:25 +10:00
tiltrotor.cpp Plane: constrain tilt range for vectored yaw 2023-02-26 08:52:16 +11:00
tiltrotor.h Plane: titrotor: is_motor_tilting: dont cast to uint8 2023-03-07 10:28:11 +11:00
transition.h Plane: use dedicated quadplane function for stick mixing enable 2023-04-25 10:06:50 +10:00
tuning.cpp Plane: Add P/D only tune sets for quadplanes 2022-05-21 09:10:31 +10:00
tuning.h Plane: Add P/D only tune sets for quadplanes 2022-05-21 09:10:31 +10:00
version.h Plane: version to 4.5.0-dev 2023-04-26 17:45:52 +10:00
wscript Tools: move AP_KDECAN build to AP_Vehicle 2023-04-17 11:52:52 +10:00