Commit Graph

4000 Commits

Author SHA1 Message Date
Andrew Tridgell 833f4945ed Plane: avoid qpos approach when very close to destination
this prevents a fwd transition when doing something like LOITER_TIME
close to a VTOL_LAND wp. We use 1.5 times the stopping distance at
cruise airspeed for the threshold
2021-10-29 11:14:10 +11:00
Andrew Tridgell e1accc9a30 Plane: fixed VTOL state error when using Q_ENABLE=2
this ensures the poscontrol state is reset if it has not been
initialised before a VTOL loiter operation

thanks to Pete Hall for finding this
2021-10-29 11:14:10 +11:00
Samuel Tabor 0de9ebe77d ArduPlane: altitude: rangefinder correction should be relative to the altitude source being used for navigation. This avoid applying it twice when there is an existing correction saved. 2021-10-26 10:49:00 +11:00
Iampete1 9c9bc6b20f Plane: Quadplane: allow scripting matrix frame class 2021-10-20 18:41:42 +11:00
Andrew Tridgell 20416b38b2 Plane: prepare for 4.1.2 release 2021-10-17 15:49:55 +11:00
Andrew Tridgell 1180850cfe Plane: update release notes for 4.1.2 2021-10-17 15:49:46 +11:00
Andrew Tridgell ed53f62457 Plane: prepare for 4.1.2beta2 2021-10-16 20:44:47 +11:00
Andrew Tridgell e83c9bb071 Plane: update release notes for 4.1.2beta2 2021-10-16 20:43:55 +11:00
Andrew Tridgell 9c8648d99c Plane: don't apply fw pitch limit in VTOL control for tailsitters
tailsitters may have narrow fixed wing limits but need high limits for
landing in high wind

found this on a HWing which was essentially impossible to auto land
2021-10-16 19:52:45 +11:00
Andrew Tridgell 8b7545b4a5 Plane: reset target speed on disarm
allows for multiple auto missions with DO_CHANGE_SPEED
2021-10-16 19:52:45 +11:00
Andrew Tridgell 300a00226b Plane: apply the takeoff throttle slew limit to quadplanes
this applies the limit when we are in a fwd transition, both in AUTO
modes and stabilized modes
2021-10-16 19:52:45 +11:00
Andrew Tridgell 9bf95912b9 Plane: prepare for 4.1.2beta1 2021-10-10 18:07:43 +11:00
Andrew Tridgell 66667b9d7f Plane: update release notes for 4.1.2beta1 2021-10-10 18:07:25 +11:00
Andrew Tridgell c8b3227aa7 Plane: prepare for 4.1.1 release 2021-10-08 13:27:39 +11:00
Andrew Tridgell 0980401d2f Plane: update release notes for 4.1.1
# Conflicts:
#	ArduPlane/mode_qrtl.cpp
#	ArduPlane/quadplane.cpp
P
2021-10-08 13:27:30 +11:00
Andrew Tridgell d72adc78b0 Plane: prepare for 4.1.0 stable release 2021-09-28 15:52:05 +10:00
Andrew Tridgell 65eadc6228 Plane: update release notes for 4.1.0 stable 2021-09-28 15:50:13 +10:00
Andrew Tridgell ea15834401 Plane: prepare for 4.1.0beta8 2021-09-15 14:20:23 +10:00
Andrew Tridgell 8540cfee3c Plane: update release notes for 4.1.0beta8 2021-09-15 14:20:14 +10:00
Andrew Tridgell 4bf32a5fb7 Plane: release 4.1.0beta7 2021-09-11 09:12:02 +10:00
Andrew Tridgell 5ed9bda19a Plane: prepare for 4.1.0beta7 2021-09-11 09:11:38 +10:00
Peter Hall b331921bc9 Plane: quadplane: set `last_pidz_init_ms` 2021-08-31 09:58:17 +10:00
Andrew Tridgell 87a1e2004b Plane: prepare for 4.1.0beta6 2021-08-29 11:30:40 +10:00
Andrew Tridgell e98bbcee91 Plane: updated releases notes for 4.1.0beta6 2021-08-29 11:29:01 +10:00
Iampete1 a04e2575b6 Plane: #ifdef scripting specific functions 2021-08-28 12:50:32 +10:00
Andrew Tridgell b32e0ab8a3 Plane: prepare for 4.1.0beta5 2021-08-16 15:15:53 +10:00
Andrew Tridgell 1821759cf1 Plane: update release notes for 4.1.0beta5 2021-08-16 15:15:24 +10:00
Andrew Tridgell fd1f7e40ed Plane: added option to log PIDs at full rate
useful for tuning quadplanes
2021-08-16 15:09:11 +10:00
Peter Barker d01f1b2fd9 Plane: don't allow motortest if motors not allocated 2021-08-14 16:41:52 +10:00
Leonard Hall 368eb6480f Plane: fix PID filter names FILT -> FLTE, D_FILT -> FLTD 2021-08-14 16:41:52 +10:00
Andrew Tridgell 3de5ca6e12 Plane: prepare for 4.1.0beta4 2021-07-25 18:30:35 +10:00
Andrew Tridgell 5cfe288ff4 Plane: updated release notes for 4.1.0beta4 2021-07-25 18:30:08 +10:00
Andrew Tridgell 2255bfc257 Plane: update ATRP logging 2021-07-25 09:30:25 +10:00
Andrew Tridgell 09bb6a6942 Plane: added ONESHOT_MASK parameter
after discussion with Paul on servo latency
2021-07-25 09:30:25 +10:00
Andrew Tridgell 9e16660b69 Plane: added manual input expo for MANUAL, ACRO and TRAINING
this is easier than setting up mode specific expo in radios for flying
in manual modes
2021-07-25 09:30:25 +10:00
Andrew Tridgell e042f2693b Plane: disable EKF3 default airspeed fusion by default
this fusion can cause problems with wind estimation, disable by
default for now
2021-07-25 09:30:25 +10:00
WillyZehnder 8f0d04ad68 Plane: GCS_Plane.cpp Fix chronological sequence
to avoid inappropriate critical warning CRT:NoRCReceiver by ensuring the
call of plane.failsafe.last_valid_rc_ms before calling millis()
2021-07-22 16:01:01 +10:00
Peter Barker 5f3f5e9d75 Plane: do not run any prearm checks if we are armed or arming is not required
Co-authored-by: TunaLobster <unknown>
2021-07-22 16:01:01 +10:00
Leonard Hall a4003474b8 Plane: seperate kinimatic shaping from pid limit setting 2021-07-22 16:01:01 +10:00
Andrew Tridgell db37898e36 Plane: prepare for 4.1.0beta3 2021-07-05 16:23:07 +10:00
Andrew Tridgell 136c6a509c Plane: updated release notes for 4.1.0beta3 2021-07-05 16:22:27 +10:00
Andrew Tridgell 002bc51fd5 Plane: fixed motor test with DShot VTOL motors
need to arm when running the motor test
2021-07-04 18:20:29 +10:00
Hwurzburg 41b54fecf9 ArduPlane: remove values metadata from log bitmask 2021-07-04 08:19:11 +10:00
Hwurzburg 809569661e Plane: fix bug in tilt position for QLOITER and QRTL if THR_MIN !=0 2021-07-04 08:19:11 +10:00
Andrew Tridgell 51a3bc170b Plane: fixed longitude wrap in verify_nav_wp
thanks to @Khancyr
2021-07-04 08:19:11 +10:00
Andrew Tridgell 5a1097f6a7 Plane: update for new double precision position APIs 2021-07-04 08:19:11 +10:00
Andrew Tridgell da3955ee02 Plane: use cleaned up APIs 2021-07-04 08:19:11 +10:00
Peter Barker 298ac962fa ArduPlane: remove HIL support 2021-07-04 08:19:10 +10:00
Hwurzburg 02e03f4b2e Plane: Add options to USE_REVERSE_THRUST to cover all flight modes 2021-07-04 08:19:10 +10:00
Hwurzburg 82c6d37a59 ArduPlane: add QRTL always as Q_RTL_MODE option 2021-07-04 08:19:10 +10:00