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
Siddharth Purohit
e86e8f03e3
AP_HAL: add methods to extract devid details
2020-07-27 19:53:02 +10:00
Siddharth Purohit
b7346f50f1
AP_Compass: reset compass ids not present after compass cal
...
also implement replacement mechanism for UAVCAN compasses
2020-07-27 19:50:30 +10:00
Andrew Tridgell
a6e5e92ab7
AP_RangeFinder: fixed legacy parsing of 65436 for lightware i2c
...
some lidars will probe as legacy protocol and return 65436 as range
2020-07-27 19:49:39 +10:00
Andrew Tridgell
aba60c030e
Plane: fixed use of VTOL control for missions
...
horizontal speed was not being setup when doing waypoint missions in
VTOL mode
2020-07-13 13:32:56 +10:00
Andrew Tridgell
81fe9e15bd
Plane: updated release notes for beta3
2020-07-07 11:36:41 +10:00
Andrew Tridgell
9bece88212
HAL_ChibiOS: enable HAL storage erase
2020-07-07 11:34:18 +10:00
Andrew Tridgell
035697458a
StorageManager: use hal.storage->erase()
2020-07-07 11:33:34 +10:00
Andrew Tridgell
299d05fcd7
AP_HAL: added erase() method to Storage class
2020-07-07 11:33:30 +10:00
Andy Piper
39ee49501f
AP_Compass: enable LIS3MDL and friends
2020-07-07 11:33:23 +10:00
Gone4Dirt
f7ac15800b
Plane: force mission resume on RTL when DO_LAND_START in mission
2020-07-07 11:30:08 +10:00
Andrew Tridgell
db364257d8
AP_Mission: Added force resume for when MIS_RESTART=1
2020-07-07 11:28:51 +10:00
Andrew Tridgell
eabe320cee
Plane: fixed build without terrain
2020-06-23 08:37:11 +10:00
Andrew Tridgell
847452f01b
Plane: prepare for release of 4.0.6beta2
2020-06-23 07:49:07 +10:00
Andrew Tridgell
13bf584815
Plane: updated release notes for 4.0.6beta2
2020-06-23 07:47:58 +10:00