Commit Graph

33422 Commits

Author SHA1 Message Date
Leonard Hall 93c0568d07 Copter: Missing Loiter Init on accel 2018-09-19 13:21:51 +10:00
Leonard Hall 870db7d714 Copter: Initialise desired acceleration before loiter init 2018-09-19 13:21:48 +10:00
Andrew Tridgell 724d498dba Plane: prepare for 3.9.2beta2 release 2018-09-15 16:09:53 +10:00
Andrew Tridgell 8874351bc5 Plane: updated release notes for 3.9.2beta2 2018-09-15 16:09:18 +10:00
Andrew Tridgell e2467a19a5 HAL_ChibiOS: fixed RSSI voltage from IOMCU 2018-09-15 15:45:46 +10:00
Leonard Hall de45a3d3e5 AC_Loiter: reduce twitch on init 2018-09-15 10:26:23 +10:00
Leonard Hall 8830b2a764 AC_PosControl: reduce glitch on init 2018-09-15 10:25:59 +10:00
Leonard Hall c30e328057 Copter: loiter glitch fix 2018-09-15 10:25:29 +10:00
Leonard Hall 241972a300 QuadPlane: remove true from init of loiter 2018-09-15 10:25:12 +10:00
Leonard Hall 616ab50938 AC_PID_2D: add reset for filter and D term 2018-09-15 10:24:53 +10:00
Andrew Tridgell 9a9dca045d Plane: do attitude relax after 100ms 2018-09-15 10:09:29 +10:00
Leonard Hall 44c348f3fa Plane: Log VTOL targets in ATT message in VTOL mode 2018-09-15 10:09:23 +10:00
Leonard Hall 9a3ed31040 QuadPlane: Remove repeat I term reset 2018-09-15 10:09:15 +10:00
Andrew Tridgell bf21a0153c AC_AttitudeControl: Add missing variable initalisations
# Conflicts:
#	libraries/AC_AttitudeControl/AC_AttitudeControl.cpp
2018-09-15 10:09:05 +10:00
Leonard Hall 88ded7ee67 AC_PID: Fix D term initialisation 2018-09-15 10:08:41 +10:00
Andrew Tridgell d1ba6ba725 ChibiOS: fixed uart speed rounding 2018-09-14 15:27:39 +10:00
Andrew Tridgell 6c17dcd71a AP_Compass: default COMPASS_AUTO_ROT to 2 for all boards
we're confident of this code now
2018-09-14 15:16:13 +10:00
Andrew Tridgell 4e148959c9 Plane: fixed relaxing of attitude controller on transition
this fixes an issue found by Leonard where the attitude controller
could have residual control left over from a previous transition when
engaging the VTOL attitude controller
2018-09-14 10:51:40 +10:00
Andrew Tridgell 042265b4c4 AP_AHRS: fixed synthetic airspeed to be along +ve X axis
this prevents us from thinking we have +ve airspeed when flying
backwards with no pitot tube
2018-09-14 10:51:18 +10:00
Andrew Tridgell 102ee99802 Plane: added speed scaling reduction for Q modes
when in a Q mode reduce surface movements at low airspeed, in case we
have the wind from behind us. This prevents the control surfaces from
causing instability
2018-09-14 10:51:15 +10:00
Andrew Tridgell 820b2386c0 APM_Control: halve the default pitch D term for planes
this is based on feedback from the 3.9.1 release
2018-09-14 07:32:46 +10:00
Andrew Tridgell 58a363c643 Plane: fixed a bug in Q_ASSIST_ modes for tiltrotors
when a tilt-rotor drops below Q_ASSIST_SPEED we need to keep it in the
airspeed wait state until it has regained airspeed, otherwise we will
end up with too low throttle
2018-09-13 21:00:34 +10:00
Andrew Tridgell 6213852fa6 Plane: handle reverse thrust in AFS failsafe
and zero differential thrust
2018-09-13 08:16:17 +10:00
Andrew Tridgell aa590fa1c5 Plane: handle twin motor planes for AFS failsafe 2018-09-13 08:16:14 +10:00
Andrew Tridgell cdfef0bbeb HAL_ChibiOS: implement set_failsafe_pwm() 2018-09-13 08:16:10 +10:00
Andrew Tridgell 9db5d45d07 SRV_Channel: handle reversed channels in limit PWMs 2018-09-13 08:16:07 +10:00
Andrew Tridgell 098cf8dcb0 AP_IOMCU: implement failsafe PWM 2018-09-13 08:16:04 +10:00
Andrew Tridgell 3ecc74a59c Plane: prepare for 3.9.2beta1 2018-09-12 16:29:43 +10:00
Andrew Tridgell 7e7a8b2bb1 Plane: update release notes for 3.9.2beta1 2018-09-12 16:29:12 +10:00
Andrew Tridgell 239c18792a AP_AHRS: fixed dead-reckoning groundspeed vector
this is essential for RTL in planes on GPS loss
2018-09-12 16:26:36 +10:00
Leonard Hall 69138fea36 AC_PosControl: Fix divide by zero check in limit_vector_length 2018-09-12 14:15:13 +10:00
Leonard Hall 3fd270ff2a AC_AttitudeControl: Add minimum angle limit for get_althold_lean_angle_max 2018-09-12 14:15:09 +10:00
Andrew Tridgell 249057a9d9 Plane: fixed throttle when terminated
thanks to Michael Thomas for reporting this
2018-09-12 14:14:36 +10:00
Andrew Tridgell 54c5b6e404 HAL_ChibiOS: fixed ADC bug
this caused bad analog readings when the number of channels being read
was more than the number of hw channels

thanks to @vierfuffzig for reporting!
2018-09-11 20:29:48 +10:00
Andrew Tridgell 08d46429d7 Tools: added speedybee bootloader 2018-09-07 08:34:42 +10:00
s0up b53dfbc3d2 HAL_ChibiOS: Add speedybee hardware definition 2018-09-07 08:34:40 +10:00
Andrew Tridgell 536923585c AP_IOMCU: cope with IOMCU reset in flight
this copes with IOMCU reset when we have safety forced off
2018-09-04 15:24:33 +10:00
Andrew Tridgell e1bab160f7 AP_Notify: fixed oled probe on first bus
Thanks to Erwin Quilloy for helping to track this down
2018-09-03 18:06:47 +10:00
Andrew Tridgell 86e1c8f1e7 Plane: prepare for 3.9.1 release 2018-08-31 12:34:58 +10:00
Andrew Tridgell 4e19a15447 Plane: updated 3.9.1 release notes 2018-08-31 12:34:21 +10:00
Andrew Tridgell 7897fbc3c1 HAL_ChibiOS: use a larger TX buffer on USB
this is needed for fast log download on vehicles with 50Hz main loop
2018-08-28 08:49:37 +10:00
Andrew Tridgell 3ae4cfbf22 HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix 2018-08-24 19:44:08 +10:00
Andrew Tridgell 68addcb55a Plane: prepare for 3.9.1beta3 2018-08-23 13:28:04 +10:00
Andrew Tridgell ca198434b5 Plane: updated release notes for 3.9.1beta3 2018-08-23 13:27:43 +10:00
Michael du Breuil 3292f049e7 SRV_Channel: Remove the trim_all interface, constrain failsafes to non motor outputs 2018-08-23 12:56:47 +10:00
Michael du Breuil c221ceb5c1 Tracker: Don't force all outputs to trim 2018-08-23 12:56:44 +10:00
Michael du Breuil 33a0425286 Plane: Don't initilize motors with a trim value 2018-08-23 12:56:35 +10:00
Andrew Tridgell 0d56c56610 Plane: reset rudder input during RC failsafe 2018-08-23 12:55:46 +10:00
Andrew Tridgell 860310ba7c AP_OSD: raise thread stack size to 1024
based on testing in SITL
2018-08-20 13:49:38 +10:00
Andrew Tridgell d1d4d21af1 Plane: prepare for 3.9.1beta2 2018-08-17 18:16:19 +10:00