Randy Mackay
833b6d05d1
AC_PosControl: fix typo in posxy_p param desc
2021-01-06 09:33:47 +11:00
Tatsuya Yamaguchi
fbccce3a4d
GCS_MAVLink: use micro64 instead of micros for time_usec
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
Phillip Kocmoud
3973de379d
hwdef:PixracerPro - Fix analog volt pin assignments
2020-11-03 08:18:11 +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
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
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
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
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
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
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
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
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
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
Andrew Tridgell
db364257d8
AP_Mission: Added force resume for when MIS_RESTART=1
2020-07-07 11:28:51 +10:00
Randy Mackay
73a20f6f08
AP_AHRS: attitudes_consistent obeys always_use_EKF
2020-06-23 07:31:18 +10:00
Andrew Tridgell
756d657afd
HAL_ChibiOS: increase monitor thread stack to 768 bytes
...
attempt to fix issue #14582
2020-06-23 07:31:13 +10:00
Henry Wurzburg
ff55954a3b
AP_RangeFinder: rename Benewake types for easier identification
2020-06-23 07:31:10 +10:00
Andrew Tridgell
f1cf4afde7
HAL_ChibiOS: fixed default CubeOrange pin for 2nd current sensor
2020-06-23 07:31:08 +10:00
bugobliterator
a93b93b741
AP_Compass: return id of max empty compass state when prio id is 0
2020-06-23 07:31:00 +10:00
Andras Schaffer
a58415391f
AP_Proximity: fix proximity ignored zone calulation
...
It seems there was a typo in the checking of proximity ignored zones.
2020-06-23 07:30:44 +10:00
Andrew Tridgell
212ab83347
AP_Mission: added contains_terrain_relative()
...
used in plane arming check
2020-06-23 07:26:58 +10:00
Andrew Tridgell
dc6257fafc
HAL_ChibiOS: added Holybro Pix32v5
2020-06-12 21:23:46 +10:00
MATEKSYS
b741980a08
HAL_ChibiOS: MatekH743: move baro to I2C2 bus
2020-06-12 13:17:10 +10:00
Andrew Tridgell
a15108fee4
HAL_ChibiOS: fixed build with our old compiler
...
gcc 4.9 doesn't like static_assert() in C code
2020-06-12 13:17:07 +10:00
duccan
7415a714bc
AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1
...
Rework after review:
- Kept old IMU and barometer definition of crazyflie 2.0 in hwdef
- Added comment regarding soft-reset command
- Added defaults.parm for crazyflie
2020-06-12 13:17:02 +10:00
duccan
5c979f7989
AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1
2020-06-12 13:17:00 +10:00
James Jacobsson
104ac049c6
AP_HAL_Chibios: Adjust MatekF765-Wing voltage and current scales
...
The new values matches the ones from here:
http://www.mateksys.com/?portfolio=f765-wing#tab-id-5
Also verified to be a lot more accurate in real life.
2020-06-12 13:16:56 +10:00
CUAVcaijie
eb6d2fe8c0
HAL_ChibiOS:Adapt to CUAV Nora V1.2 hardware
2020-06-12 13:16:54 +10:00