Commit Graph

48471 Commits

Author SHA1 Message Date
Andrew Tridgell c7d89b7288 APM_Control: suppress roll/pitch D term in ground_mode
prevent oscillations which are quite common
2021-11-29 19:02:38 +09:00
Andrew Tridgell a17a0c130d 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-11-29 19:02:38 +09:00
Andrew Tridgell f8acd38adc 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-11-29 19:02:38 +09:00
Samuel Tabor 4e86cc8b41 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-11-29 19:02:38 +09:00
Samuel Tabor 541435cb83 AP_Landing_Slope: Log height used for flare timing. 2021-11-29 19:02:38 +09:00
Samuel Tabor b733f6cd95 autotest: fly_mission should respect mission_timeout when waiting for wps. 2021-11-29 19:02:38 +09:00
Samuel Tabor 5eea705234 autotest: Add plane test for landing with barometer drift. 2021-11-29 19:02:38 +09:00
Iampete1 3fde3942b8 Plane: Quadplane: allow scripting matrix frame class 2021-11-29 19:02:38 +09:00
Andrew Tridgell 7916fc7852 Plane: prepare for 4.1.2 release 2021-11-29 19:02:38 +09:00
Andrew Tridgell 2e6362a794 Plane: update release notes for 4.1.2 2021-11-29 19:02:38 +09:00
Andrew Tridgell cb0817ccb5 Plane: prepare for 4.1.2beta2 2021-11-29 19:02:38 +09:00
Andrew Tridgell 5b4321275f Plane: update release notes for 4.1.2beta2 2021-11-29 19:02:38 +09:00
Randy Mackay 01d1aa1e92 Copter: version to 4.1.1 2021-11-09 19:00:09 +09:00
Randy Mackay 04121706a5 Copter: 4.1.1 release notes 2021-11-09 18:59:11 +09:00
Andrew Tridgell 5d360e8327 git: changed to https git protocol 2021-11-02 19:36:29 +11:00
Randy Mackay bc6b31bcfe Copter: version to 4.1.1-rc1 2021-10-17 19:03:42 -04:00
Randy Mackay 0ebb5f6580 Copter: 4.1.1-rc1 release notes 2021-10-17 19:03:42 -04:00
Bill Geyer 67842ea53b Copter: fix tradheli landing detector bug 2021-10-17 19:03:42 -04:00
Pierre Kancir f2b952eda0 Copter: fix takeoff end report on EXTEND_STATE
regression from https://github.com/ArduPilot/ardupilot/pull/18700.
thanks to @arduouspilot on discuss to notice this, see https://discuss.ardupilot.org/t/extended-sys-state-never-changes-once-guided-takeoff-is-started/76996/3
2021-10-17 19:03:42 -04:00
Ben Wolsieffer 5d12b14672 AP_Control: apply pitch rate limit to turn coordination
At high bank angles, for example when rolling to/from inverted, a large turn
coordination pitch rate offset is requested. Before this patch, this offset was
not subject to the configured pitch rate limit, which could result in pitch
controller integrator windup.
2021-10-17 19:03:42 -04:00
Andrew Tridgell d19426b8df 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-17 19:03:42 -04:00
Andrew Tridgell 189d6d6ed6 AP_RCProtocol: check for RC protocol switching enable
by default don't allow protocol switching after initial protocol is
found
2021-10-17 19:03:42 -04:00
Andrew Tridgell f01fce2e24 RC_Channel: added RC_OPTION bit for allowing RC protocol switching
this is meant to prevent accidential switching to a disconnected pin
2021-10-17 19:03:42 -04:00
Andrew Tridgell 4107eee94f Plane: reset target speed on disarm
allows for multiple auto missions with DO_CHANGE_SPEED
2021-10-17 19:03:42 -04:00
Andrew Tridgell 11fbeb9b8f 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-17 19:03:42 -04:00
bugobliterator 56d33cce7a AP_HAL_ChibiOS: account for TXFIFO when doing flow control detection 2021-10-17 19:03:42 -04:00
Andy Piper 71f5c6f4fb AP_Filesystem: fix ftp burst read with credit to deanharken 2021-10-17 19:03:42 -04:00
Andrew Tridgell f3dd4cafcb AP_NavEKF3: added EK3_PRIMARY parameter
allows for selection of which IMU to use on startup
2021-10-17 19:03:42 -04:00
Andrew Tridgell 87ad83e076 Plane: prepare for 4.1.2beta1 2021-10-17 19:03:42 -04:00
Andrew Tridgell 3e94692cba Plane: update release notes for 4.1.2beta1 2021-10-17 19:03:42 -04:00
Andrew Tridgell a1c94bb788 APM_Control: only save autotune gains when P finished
this prevents saving values which are temporarily high due to tuning
process

See this bug report
https://discuss.ardupilot.org/t/plane-4-1-0-stable/76507/45
2021-10-17 19:03:42 -04:00
Andrew Tridgell 8ae0c79752 Plane: prepare for 4.1.1 release 2021-10-17 19:03:42 -04:00
Andrew Tridgell 4185bdf05d Plane: update release notes for 4.1.1
# Conflicts:
#	ArduPlane/mode_qrtl.cpp
#	ArduPlane/quadplane.cpp
P
2021-10-17 19:03:42 -04:00
Andrew Tridgell ad13c8816d HAL_ChibiOS: fixed orientation of ICM42605 on QiotekZealotF427 2021-10-17 19:03:42 -04:00
Andrew Tridgell 68c8fe2b92 AP_Scripting: fixed bug in string logging with logger.write()
this dereferenced a bad pointer, leading to crash and watchdog

thanks to Charlie for finding this!
2021-10-17 19:03:42 -04:00
Andrew Tridgell 644c56361c Tools: added bootloader for MatekF765-SE 2021-10-17 19:03:42 -04:00
Andrew Tridgell e4967fa28c Plane: prepare for 4.1.0 stable release 2021-10-17 19:03:42 -04:00
Andrew Tridgell 7fccaf76f4 Plane: update release notes for 4.1.0 stable 2021-10-17 19:03:42 -04:00
Andrew Tridgell edf7c2aa08 Plane: prepare for 4.1.0beta8 2021-10-17 19:03:42 -04:00
Andrew Tridgell 839d877d89 Plane: update release notes for 4.1.0beta8 2021-10-17 19:03:42 -04:00
Andrew Tridgell d9511f735c Plane: release 4.1.0beta7 2021-10-17 19:03:42 -04:00
Andrew Tridgell b79d63b9e0 Plane: prepare for 4.1.0beta7 2021-10-17 19:03:42 -04:00
Andrew Tridgell 0c4de1b25a HAL_ChibiOS: disable soarding on FlywooF745 for flash space 2021-10-17 19:03:42 -04:00
Andrew Tridgell 1878e7d023 Plane: prepare for 4.1.0beta6 2021-10-17 19:03:42 -04:00
Andrew Tridgell da783d6c98 Plane: updated releases notes for 4.1.0beta6 2021-10-17 19:03:42 -04:00
Dr.-Ing. Amilcar do Carmo Lucas e7c82e86d2 Copter: Send ESC telemetry over mavlink while doing compassmot
compassmot can be used to bypass all PID control loops (this avoids forwarding IMU noise to the motors) while stress-testing the ESCs+motors.
So that temperatures can be monitored in real-time during those long tests, send ESC telemetry as well.
2021-10-13 18:15:51 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 26e867ebf2 GCS_MAVLink: add ESC_TELEMETRY_1_TO_4 to the mavlink_id_to_ap_message_id table 2021-10-13 18:08:43 +11:00
Randy Mackay ea559a56aa Copter: version to 4.1.0 2021-10-08 08:54:44 +09:00
Randy Mackay bed5a71cee Copter: 4.1.0 release notes 2021-10-08 08:52:37 +09:00
Andrew Tridgell 6a4fd8a82e AP_Scripting: avoid a error in lua with gcc 10.2 on STM32 with -Werror 2021-10-01 17:10:28 -04:00