Andrew Tridgell
b1da3467c4
AP_BattMonitor: fixed a segv with BATT_MONITOR=14
...
this causes a hang on boot on some boards
2022-01-31 19:41:01 +09:00
Andrew Tridgell
695a59b278
Plane: add a low pass filter to speed scaler
...
this is needed due to the filtering done on the target rate in
AC_PID. With a low filter rate in AC_PID a step in the speed scaler
results in a step in the FF output due to the mismatch in the
instantaneous SS and the filtered target rate
2022-01-31 19:41:01 +09:00
Randy Mackay
718a80619a
Rover: version to 4.1.3
2021-12-31 14:07:56 +09:00
Randy Mackay
1d63487560
Rover: 4.1.3 release notes
2021-12-31 14:07:16 +09:00
Randy Mackay
4c3352ce15
Copter: version to 4.1.3
2021-12-31 14:05:50 +09:00
Randy Mackay
d7c5c2a67c
Copter: 4.1.3 release notes
2021-12-31 14:05:48 +09:00
Randy Mackay
8cab0c917f
Rover: version to 4.1.3-rc2
2021-12-22 10:03:29 +09:00
Randy Mackay
d7fa806a67
Rover: 4.1.3-rc2 release notes
2021-12-22 10:03:29 +09:00
Randy Mackay
b2f33c1b2d
Copter: version to 4.1.3-rc1
2021-12-22 10:03:29 +09:00
Randy Mackay
6e55a14b79
Copter: 4.1.3-rc2 release notes
2021-12-22 10:03:29 +09:00
Andrew Tridgell
74f0c95005
Plane: prepare for 4.1.6beta1
2021-12-22 10:03:29 +09:00
Andrew Tridgell
e51e617f59
Plane: update release notes for 4.1.6beta1
2021-12-22 10:03:29 +09:00
Mingchen Zhang
a17bbe2dfd
AP_SmartAudio: fix a bug that would starve the lower priority thread, such as scripting.
2021-12-22 10:03:29 +09:00
Andrew Tridgell
96793c43c7
AC_AutoTune: limit autotune target rates to parameter limits
...
this makes it safer to autotune a large vehicle which may become
unstable at very high target rates
2021-12-22 10:03:29 +09:00
Andrew Tridgell
ad7caa39c3
AC_AttitudeControl: added get_ang_vel_yaw_max_rads()
2021-12-22 10:03:29 +09:00
Andrew Tridgell
4555b4dd81
AP_NavEKF3: Add missing covariance row reset
2021-12-22 10:03:29 +09:00
Andrew Tridgell
4a180f1f32
AP_InertialSensor: added support for IIM-42652 and ICM-40605 sensors
...
handle new Invensense v3 sensor types
2021-12-22 10:03:29 +09:00
Andrew Tridgell
7e543d7643
AP_InertialSensor: added support for ICM-20608-D sensor
2021-12-22 10:03:29 +09:00
Andrew Tridgell
02f671f33a
AP_RCTelemetry: use have_serial when detecting
...
avoid find_serial() as it changes port options
2021-12-22 10:03:29 +09:00
Andrew Tridgell
f32bdbf6d6
AP_RangeFinder: use have_serial when detecting
...
avoid find_serial() as it changes port options
2021-12-22 10:03:29 +09:00
Andrew Tridgell
0e24b4ad44
AP_Proximity: use have_serial when detecting
...
avoid find_serial() as it changes port options
2021-12-22 10:03:29 +09:00
Andrew Tridgell
6728a7f681
AP_ADSB: use have_serial when detecting
...
avoid find_serial() as it changes port options
2021-12-22 10:03:29 +09:00
Andrew Tridgell
63ff047c16
AP_RCProtocol: fixed multi-protocol search with added uart
2021-12-22 10:03:29 +09:00
Andrew Tridgell
9984e56e53
AP_SerialManager: added have_serial() method
...
this checks if we have the protocol without setting the options on the
uart
2021-12-22 10:03:29 +09:00
Andrew Tridgell
4ee292ec5e
AP_BoardConfig: disable STLink debug pins by default
...
this avoids leaving the debug pins in a state where they may be
vulnerable to ESD issues
2021-12-22 10:03:29 +09:00
Randy Mackay
fe760a51a3
Rover: version to 4.1.3-rc1
2021-12-18 12:17:38 +09:00
Randy Mackay
abbd2fecb2
Rover: 4.1.3-rc1 release notes
2021-12-18 12:17:38 +09:00
Randy Mackay
714cb94457
Copter: version to 4.1.3-rc1
2021-12-18 12:17:38 +09:00
Randy Mackay
8f458fcb9f
Copter: 4.1.3-rc1 release notes
2021-12-18 12:17:38 +09:00
Bill Geyer
814c52fbb7
AP_Motors: add spool down complete flag
2021-12-18 12:17:38 +09:00
Andrew Tridgell
f8cde71389
Plane: prepare for 4.1.5 release
2021-12-18 12:17:38 +09:00
Andrew Tridgell
36e4df2496
Plane: updated release notes for 4.1.5
2021-12-18 12:17:38 +09:00
Andrew Tridgell
3b25bc3edb
AP_UAVCAN: use soft armed state for DroneCAN ARMING_STATUS
...
this fixes motortest on quadplanes, so that ESCs see an armed state
during the test
2021-12-18 12:17:38 +09:00
Andrew Tridgell
e9eac12faa
Plane: prepare for 4.1.5beta1
2021-12-18 12:17:38 +09:00
Andrew Tridgell
c955a09524
Plane: release notes for 4.1.5beta1
2021-12-18 12:17:38 +09:00
Andrew Tridgell
07cff1ce1b
HAL_ChibiOS: use a 16 bit sysinterval_t on 16 bit timers
...
prevent mixed size subtraction errors
2021-12-18 12:17:38 +09:00
Andrew Tridgell
a5c6ecb7ea
Plane: reset VTOL takeoff if not armed
...
we need to reset the takeoff target position while disarmed so we
don't use spurious position information from before we get good GPS
lock.
also remove the "Resetting previous waypoint" message as it doesn't
provide useful information and is just a distraction (it would be
printed continuously while waiting for arming with this PR)
2021-12-18 12:17:38 +09:00
Andrew Tridgell
b0bc29272a
Plane: fixed reset of steering locked course
...
reset when we have not been steering for 1s, to ensure that an old
locked course is not used
2021-12-18 12:17:38 +09:00
Peter Barker
b4d1689825
autotest: comment out probably-defunct test
2021-12-18 12:17:38 +09:00
Peter Barker
0a1191ea1f
AC_Fence: void index when overwriting fence count on fencepoint-close
2021-12-18 12:17:38 +09:00
Andrew Tridgell
50c14e62cf
AC_Fence: fixed fence count for old upload
...
when uploading a fence that is smaller than an old fence we were not
correctly setting the inclusion fence size.
2021-12-18 12:17:38 +09:00
Andrew Tridgell
0a8bd53f5e
APM_Control: make 2nd reduction of P smaller
...
this prevents severe P reductions when we get a small oscillation
glitch after we've already got the primary P gain
2021-12-18 12:17:38 +09:00
李孟晓
9814580149
CUAV-X7: Add servo voltage detection pin
2021-12-18 12:17:38 +09:00
Andrew Tridgell
7f84e296a6
AP_AHRS: fixed switching airspeed sensor based on EKF3 affinity (for 4.1)
...
we need to use the EKF selected airspeed sensor when the EKF is setup
to run a different sensor on each lane
2021-12-18 12:17:38 +09:00
Andrew Tridgell
a724f6910e
Plane: prepare for 4.1.4 release
2021-12-18 12:17:38 +09:00
Andrew Tridgell
1a682dfdfb
Plane: updated release notes for 4.1.4
2021-12-18 12:17:38 +09:00
Andrew Tridgell
2924ae76da
AC_AttitudeControl: fixed limiting of throttle mix values
...
use constrain instead of reset to keep as much of user requested value
as possible
also raise limit for MIX_MIN to 0.5 after discussion with Leonard
2021-12-18 12:17:38 +09:00
Andrew Tridgell
e918c72705
Plane: limiting POS1 landing target speed
...
prevent very high target speeds when the target velocity profile is
above the initial speed in POSITION1. Always allow up to 2*Q_WP_SPEED,
but don't go above the initial speed
2021-12-18 12:17:38 +09:00
Andrew Tridgell
54122ffe84
Plane: limited VFWD integrator to cruise throttle
...
in some situations (such as when landing approach is disabled) the
vfwd integrator can wind up to extreme values. This can put a huge
load on an electric quadplane as it is running both forward and vtol
motors, and the downforce from being nose down can be extreme.
It should never need to go above the cruise throttle in any reasonable
situation, so limit it to cruise to ensure we don't apply too much
forward throttle
2021-12-18 12:17:38 +09:00
Andrew Tridgell
38a5feefb6
Plane: display VTOL pos1 state change when approach disabled
2021-12-18 12:17:38 +09:00