Commit Graph

40572 Commits

Author SHA1 Message Date
Tatsuya Yamaguchi fbccce3a4d GCS_MAVLink: use micro64 instead of micros for time_usec 2021-01-06 09:33:47 +11:00
Peter Barker 3016640cc3 Copter: correct compilation when AFS enabled 2021-01-06 09:33:47 +11:00
yaapu 551e6d9f8b AP_RCProtocol: fix fport rssi 2021-01-06 09:33:47 +11:00
Andy Piper c098a089b7 AP_Logger: correct units on raw accel data 2021-01-06 09:33:47 +11:00
Peter Barker b6cf82bf47 AC_PrecLand: correct @User field in ACC_P_NSE documentation 2021-01-06 09:33:47 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 8291cbe604 AP_NavEKF3: fix vertical flyaways when rangefinder stops providing data 2021-01-06 09:33:47 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 2f554a26dd AP_NavEKF2: fix vertical flyaways when rangefinder stops providing data 2021-01-06 09:33:47 +11:00
giacomo892 a7c0495e07 ArduPlane: Fix throttle nudge reset due to wrong radio timing 2020-11-10 12:25:05 +11:00
Andrew Tridgell f0d8ca5e37 Plane: prepare for 4.0.7 release 2020-11-03 14:36:10 +11:00
Andrew Tridgell 59066544ca Plane: update release notes for 4.0.7 2020-11-03 14:35:01 +11:00
Phillip Kocmoud 3973de379d hwdef:PixracerPro - Fix analog volt pin assignments 2020-11-03 08:18:11 +11:00
Andrew Tridgell e12310155e Plane: fixed usage of rangefinder in landing with RNGFND_LANDING=0
this fixes two places where rangefinder can affect landing when
RNGFND_LANDING=0
2020-11-03 07:59:29 +11:00
Andrew Tridgell 1d64307f5a Plane: prepare for 4.0.7beta2 release 2020-10-08 16:01:04 +11:00
Andrew Tridgell ddb3bd6774 Plane: update release notes for 4.0.7beta2 2020-10-08 16:00:51 +11:00
Andrew Tridgell c03551e496 HAL_ChibiOS: fixed a race condition in UART DMA transmit
this fixes an issue seen on one board which caused a watchdog on high
uart DMA load. We have reproduced the issue on another board by
forcing a very high DMA transfer rate on the same DMA channel while
also requesting very high transfer rates on the UART. The likely race
is in the DMA transmit timeout code, and the simplest fix is to lock
out interrupts during the DMA setup to ensure the tx timeout cannot
trigger during the setup
2020-10-08 15:54:11 +11:00
Siddharth Purohit 4241b57702 AP_HAL_ChibiOS: keep a backup of storage for last 100 boots 2020-10-07 15:31:21 +11:00
Andrew Tridgell bae891b3e2 Tools: updated IO firmware 2020-10-07 14:59:52 +11:00
Andrew Tridgell b03e9c056e AP_IOMCU: fixed bug in SBUS output when scanning for FPort input
when we are looking for FPort input, we normally switch UART3 on the
IOMCU to 115200 to look for inverted inputs at 115200 baudrate. We
need to disable this switching when we have SBUS output enabled to
prevent a change in the SBUS output baudrate

Many thanks to afishman for finding this bug

Fixes #15522
2020-10-07 14:59:42 +11:00
Andrew Tridgell 8ae1157bdd HAL_ChibiOS: enable telem3 on Durandal
the RCIN issue is not there in the final production boards
2020-10-02 20:39:22 +10:00
Andrew Tridgell 9ecaf3fc47 Plane: prepare for 4.0.7beta1 2020-10-02 15:14:49 +10:00
Andrew Tridgell e84aca144d Plane: update release notes for 4.0.7beta1 2020-10-02 15:14:40 +10:00
Randy Mackay 428378ca8a Copter: version to 4.0.5-rc1 2020-10-02 15:02:12 +10:00
Randy Mackay 1ef9bdb920 Copter: 4.0.5-rc1 release notes 2020-10-02 15:02:08 +10:00
chobits bd48eb4403 AP_HAL_ChibiOS: fix kakutef7/mini motor glitch when using dshot 2020-10-02 10:08:54 +10:00
Peter Barker 21ae7d8153 GCS_MAVLink: do not process commands after we have decided to reboot 2020-10-02 09:55:51 +10:00
Josh Welsh d24a3d7a66 AP_Motors: Tradheli servo_test fix 2020-10-02 09:55:20 +10:00
Andrew Tridgell 7169b645b9 Copter: resync with copter for 4.0.7 2020-10-02 09:52:23 +10:00
Andrew Tridgell 5287fb2e1b HAL_ChibiOS: add a max quota of GPIO interrupts
This implements a max quota of GPIO interrupts per 100ms period to
prevent high interrupt counts from consuming all CPU and causing a
lockup. The limit is set as 10k interrupts per 0.1s period. That limit
should be high enough for all reasonable uses of GPIO interrupt
handlers while being below the level that causes significant CPU loads
and flight issues

This addresses issue #15384
2020-10-02 09:50:09 +10:00
Andrew Tridgell 9626689db5 AP_InternalError: added an internal error for GPIO ISR overload 2020-10-02 09:50:07 +10:00
Andrew Tridgell d856bc7f5e AP_HAL: added timer_tick() on GPIO 2020-10-02 09:50:04 +10:00
Andrew Tridgell 2f0e9addcb Plane: fixed bug in RC_Channel::has_valid_input
needs to go false when no RCIN and THR_FAILSAFE=2. This prevents ICE
library from using RC input
2020-09-26 10:25:11 +10:00
Andrew Tridgell a7a27d62a0 AP_Compass: support probing RM3100 on all 4 addresses 2020-09-24 11:14:26 +10:00
Lucas De Marchi 8a01a8cddb AP_HAL_Linux: RCInput_UDP: accept up to 16 channels
This allows more channels to be passed to RCInput_UDP protocol while
also allowing less than 8 channels - this is similar to the approach
used by SITL in which the packet size is used to figure out the number
of channels.

(cherry picked from commit 29d8586ea4)
2020-09-16 23:00:29 -07:00
Andrew Tridgell 036ad45012 Plane: prepare for 4.0.6 release 2020-09-07 16:26:11 +10:00
Andrew Tridgell 29a931a03d Plane: update release notes for 4.0.6 2020-09-07 16:25:51 +10:00
MATEKSYS 7e8d108e5c HAL_ChibiOS: Add DPS310 for MatekF405-WING,F765-WING and H743 2020-09-02 19:36:03 +10:00
Andrew Tridgell da71b66926 HAL_ChibiOS: fixed fast sampling on F32Lightning
this SPI bus on this board can't handle 8MHz
2020-09-02 06:43:47 +10:00
Andrew Tridgell 68d41fa6ca Plane: prepare for 4.0.6beta5 release 2020-08-25 13:03:46 +10:00
Andrew Tridgell 9b80629632 Plane: updated release notes for 4.0.6beta5 2020-08-25 13:03:20 +10:00
Andrew Tridgell b2fe3e71e6 Plane: fixed LOITER_TO_ALT with terrain target
many thanks to Pompecukor for finding this!

Fixes #14951
2020-08-25 12:43:00 +10:00
Andrew Tridgell d4d1287261 AP_IOMCU: fixed handling of RC ignore failsafe option
this allows for ignoring SBUS failsafe on boards using an IOMCU
2020-08-25 12:41:41 +10:00
Andrew Tridgell b633e62b89 AP_NavEKF2: apply min GPS accuracy at measurement point
this fixes an issue a RTK GPS gives 1cm horizontal and vertical
accuracy and that causes the variances to get too small
2020-08-25 12:39:14 +10:00
Andrew Tridgell f8ef56be1b AP_NavEKF3: apply min GPS accuracy at measurement point
this fixes an issue a RTK GPS gives 1cm horizontal and vertical
accuracy and that causes the variances to get too small
2020-08-25 12:39:11 +10:00
Siddharth Purohit 9553bc14d0 AP_Compass: fix reordering compass devid by priority at boot 2020-08-25 08:30:35 +10:00
Andrew Tridgell 747fc5bbda Plane: added THR_FAILSAFE=2 option
this allows for RC inputs to be ignored at low throttle, but won't
trigger failsafe. It is meant for users flying BVLOS missions, where
they want GCS failsafe enabled, but don't want RC failsafe, and want
to be sure that RC inputs will be ignored at low RC throttle values

Thanks to suggestion from Pompecukor
2020-08-12 09:51:43 +10:00
Andrew Tridgell 92e35f6a9e RC_Channel: fixed use of radio_in out of range for angle inputs
this prevents mis-calculation of the angle when RC input goes outside
of the configured range. This impacted on throttle nudge in plane when
reverse thrust was enabled

thanks to Pompecukor for reporting!
2020-08-12 09:51:41 +10:00
Josh Welsh 5ed5631c3c AP_Airspeed: Add additional DLVR support 20inH2O 30inH2O 60inH2O 2020-08-12 08:03:40 +10:00
Iampete1 8494169aa9 Plane: zero throttle nudge in RC failsafe 2020-07-28 08:03:55 +10:00
Andrew Tridgell be52098c82 Plane: prepare for beta4 release 2020-07-27 19:59:34 +10:00
Andrew Tridgell f35a5e33f3 Plane: updated release notes for 4.0.6beta4 2020-07-27 19:59:17 +10:00