Commit Graph

48497 Commits

Author SHA1 Message Date
Andrew Tridgell
1a33ca3ebe Plane: fixed a bug in POSITION1 speed thresholds (for plane 4.1)
we were comparing two different speeds in the threshold for going to
Q_WP_SPEED limit. The reason the two speeds were different was the
wp_nav init happened before the defaults were setup for quadplanes

this fixes both bugs
2021-11-29 19:02:57 +09:00
Andrew Tridgell
a7973b3e7a AP_UAVCAN: added CAN_Dn_UC_OPTION parameter
this allows for 2 ways of controlling conflicts in the UAVCAN DNA
database. The first is to set CAN_Dn_UC_OPTION to 1, which resets the
DNA database, thus clearing any node conflicts.

The second is to set CAN_Dn_UC_OPTION to 2, which ignores node
conflicts in the DNA database

These options are useful for vehicles with UAVCAN smart batteries
where the node ID is fixed but the hwid changes and you want to do
battery swapping (possibly without rebooting)
2021-11-29 19:02:57 +09:00
Mohammad Hefny
345607ec73 AP_Notify: link to notify module 2021-11-29 19:02:57 +09:00
Mohammad Hefny
72294648bf AP_Batt: link to battery monitor 2021-11-29 19:02:57 +09:00
Mohammad Hefny
71393942e0 AP_HAL_Linux: define board features on Linux module 2021-11-29 19:02:57 +09:00
Mohammad Hefny
c05e9507d0 AP_HAL: define board features 2021-11-29 19:02:57 +09:00
Andrew Tridgell
5f7f47d2b1 Tools: define obal board 2021-11-29 19:02:57 +09:00
Andrew Tridgell
34df214cae Plane: suppress rate D terms in ground mode
this prevents a common oscillation issue on the ground
2021-11-29 19:02:57 +09:00
Andrew Tridgell
b330a6b24e APM_Control: suppress roll/pitch D term in ground_mode
prevent oscillations which are quite common
2021-11-29 19:02:57 +09:00
Andrew Tridgell
17e646add9 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:57 +09:00
Andrew Tridgell
9cb67adedb 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:57 +09:00
Samuel Tabor
cadd0b0232 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:57 +09:00
Samuel Tabor
8f5264b3e7 AP_Landing_Slope: Log height used for flare timing. 2021-11-29 19:02:57 +09:00
Samuel Tabor
e6f9b1fd68 autotest: fly_mission should respect mission_timeout when waiting for wps. 2021-11-29 19:02:57 +09:00
Samuel Tabor
6b96160279 autotest: Add plane test for landing with barometer drift. 2021-11-29 19:02:57 +09:00
Iampete1
a073d6b447 Plane: Quadplane: allow scripting matrix frame class 2021-11-29 19:02:57 +09:00
Andrew Tridgell
3d415dc5cd Plane: prepare for 4.1.2 release 2021-11-29 19:02:57 +09:00
Andrew Tridgell
f13b0d335d Plane: update release notes for 4.1.2 2021-11-29 19:02:57 +09:00
Andrew Tridgell
00dbc23cc0 Plane: prepare for 4.1.2beta2 2021-11-29 19:02:57 +09:00
Andrew Tridgell
3d61b5084f Plane: update release notes for 4.1.2beta2 2021-11-29 19:02:57 +09:00
Randy Mackay
7b9f15d887 Rover: version to 4.1.1 2021-11-09 19:05:44 +09:00
Randy Mackay
fbad8c2e95 Rover: 4.1.1 release notes 2021-11-09 19:04:47 +09:00
Randy Mackay
69f0191c12 Copter: version to 4.1.1 2021-11-09 19:02:24 +09:00
Randy Mackay
063121f0fd Copter: 4.1.1 release notes 2021-11-09 19:02:22 +09:00
Andrew Tridgell
6250b57bf8 git: changed to https git protocol 2021-11-09 19:02:19 +09:00
Randy Mackay
cb07d219e4 Rover: version to 4.1.1-rc1 2021-10-18 18:06:45 -04:00
Randy Mackay
1e954ec405 Rover: 4.1.1-rc1 release notes 2021-10-18 18:06:45 -04:00
Randy Mackay
23734c9e0b Copter: version to 4.1.1-rc1 2021-10-18 18:06:45 -04:00
Randy Mackay
ff51491568 Copter: 4.1.1-rc1 release notes 2021-10-18 18:06:45 -04:00
Bill Geyer
2197152fb5 Copter: fix tradheli landing detector bug 2021-10-18 18:06:45 -04:00
Pierre Kancir
4bc70ce998 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-18 18:06:45 -04:00
Ben Wolsieffer
cb75e2a7e6 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-18 18:06:45 -04:00
Andrew Tridgell
ca753d4814 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-18 18:06:45 -04:00
Andrew Tridgell
8ea702ed81 AP_RCProtocol: check for RC protocol switching enable
by default don't allow protocol switching after initial protocol is
found
2021-10-18 18:06:45 -04:00
Andrew Tridgell
8c123cc6e5 RC_Channel: added RC_OPTION bit for allowing RC protocol switching
this is meant to prevent accidential switching to a disconnected pin
2021-10-18 18:06:45 -04:00
Andrew Tridgell
109986bcee Plane: reset target speed on disarm
allows for multiple auto missions with DO_CHANGE_SPEED
2021-10-18 18:06:45 -04:00
Andrew Tridgell
4cdd244d9a 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-18 18:06:45 -04:00
bugobliterator
e38c7403d5 AP_HAL_ChibiOS: account for TXFIFO when doing flow control detection 2021-10-18 18:06:45 -04:00
Andy Piper
a0474d7228 AP_Filesystem: fix ftp burst read with credit to deanharken 2021-10-18 18:06:45 -04:00
Andrew Tridgell
3c8aa259e6 AP_NavEKF3: added EK3_PRIMARY parameter
allows for selection of which IMU to use on startup
2021-10-18 18:06:45 -04:00
Andrew Tridgell
361d8bded6 Plane: prepare for 4.1.2beta1 2021-10-18 18:06:45 -04:00
Andrew Tridgell
c519858a59 Plane: update release notes for 4.1.2beta1 2021-10-18 18:06:45 -04:00
Andrew Tridgell
ae8ac42a60 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-18 18:06:45 -04:00
Andrew Tridgell
4a28587647 Plane: prepare for 4.1.1 release 2021-10-18 18:06:45 -04:00
Andrew Tridgell
e3b7b7a11d Plane: update release notes for 4.1.1
# Conflicts:
#	ArduPlane/mode_qrtl.cpp
#	ArduPlane/quadplane.cpp
P
2021-10-18 18:06:45 -04:00
Andrew Tridgell
ab9008a242 HAL_ChibiOS: fixed orientation of ICM42605 on QiotekZealotF427 2021-10-18 18:06:45 -04:00
Andrew Tridgell
c1c245f21b 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-18 18:06:45 -04:00
Andrew Tridgell
8b7f0081d2 Tools: added bootloader for MatekF765-SE 2021-10-18 18:06:45 -04:00
Andrew Tridgell
a51cb61590 Plane: prepare for 4.1.0 stable release 2021-10-18 18:06:45 -04:00
Andrew Tridgell
bea216bdf5 Plane: update release notes for 4.1.0 stable 2021-10-18 18:06:45 -04:00