Commit Graph

33441 Commits

Author SHA1 Message Date
Andrew Tridgell 9f8ec3849c AP_IOMCU: fixed a race in event trigger on startup
this fixes the issue with initial safety option state, and with
initial safety mask
2018-11-03 17:30:22 +11:00
Andrew Tridgell 2a743df9f1 HAL_ChibiOS: ensure RC in channels are bounded 2018-11-02 22:51:08 +11:00
Andrew Tridgell 1ed8e4fd2b Plane: ensure speed scaling covers full aircraft speed range
this is important for very fast or very slow aircraft
2018-11-02 15:31:21 +11:00
Andrew Tridgell bcd2d3805d Plane: small update to failsafe documentation 2018-10-18 09:13:33 +11:00
Andrew Tridgell c143f4ad82 waf: omit bootloader for px4-v2 build
This saves 8k of flash, and allows the plane stable release for older
Pixhawk1 boards to build
2018-10-12 12:11:37 +11:00
Andrew Tridgell 6ca8acd8a3 Plane: prepare for 3.9.2 release 2018-10-10 13:12:22 +11:00
Andrew Tridgell c005a594c1 Plane: update release notes for 3.9.2 2018-10-10 13:11:25 +11:00
Andrew Tridgell 0bb1821e8d AP_Notify: fixed PixracerLED on NuttX
led_dim must be a positive number, and is not related to the led off
value
2018-10-10 12:55:45 +11:00
Andrew Tridgell 5e3c0964eb AP_HAL: fixed PX4 LED polarity 2018-10-10 12:55:41 +11:00
Andrew Tridgell 39e1b3b89f AP_Notify: init gpio state for LEDs 2018-10-10 12:55:39 +11:00
Andrew Tridgell 0f949ba8b2 AP_Notify: fixed px4-v4 to use pixracer LED driver 2018-10-10 12:55:35 +11:00
Andrew Tridgell ea52df3da4 HAL_ChibiOS: fixed LED mapping for fmuv4 2018-10-10 12:55:29 +11:00
Randy Mackay e8f0fe770f AP_HAL_ChibiOS: fix safety switch option handling 2018-10-04 16:14:08 +10:00
Andrew Tridgell bbce83b8b2 HAL_ChibiOS: fixed a race in DShot code
this fixes a problem found by Daniel Met with the copter 3.6 beta
release
2018-10-02 18:49:34 +10:00
Andrew Tridgell 020b2f1805 Plane: prepare for 3.9.2beta3 2018-09-20 07:16:23 +10:00
Andrew Tridgell dad433e871 Plane: release notes for 3.9.2beta3 2018-09-20 07:15:59 +10:00
Andrew Tridgell 32c5e6bced AP_Compass: fixed handling of duplication rotations
we have some rotations that are duplicated, such as ROLL_180_YAW_90
and PITCH_180_YAW_270. This copes with those in the auto-orientation
code
2018-09-19 13:53:37 +10:00
Leonard Hall dc0c9dee0c Sub: Missing Loiter Init on accel 2018-09-19 13:22:46 +10:00
Andrew Tridgell 9b0d2eca07 Plane: Missing Loiter Init on accel
# Conflicts:
#	ArduPlane/quadplane.cpp
2018-09-19 13:22:42 +10:00
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