Randy Mackay
8c877f02af
AP_NavEKF3: shrink beacon arrays and add assert
2020-08-25 09:38:10 +09:00
Randy Mackay
d292ba028a
AP_NavEKF3: increase beacon buffer to imu + 1
2020-08-25 09:38:10 +09:00
Randy Mackay
ce55af4d95
AP_Beacon: fix sitl position to be NED
2020-08-25 09:38:10 +09:00
Randy Mackay
276e56e618
AP_Beacon: update comments to clarify frame
...
also minor formatting fix
2020-08-25 09:38:10 +09:00
Peter Barker
716e7622be
AP_Logger: log RCIN channels 14 and 15 in RCI2
2020-08-25 10:27:00 +10:00
Andrew Tridgell
e5e092d077
AP_AHRS: check EKF status for having horizontal position estimate
...
this will allow a fixed wing to fall back to DCM if the EKF stops
providing an absolute position while we have 3D GPS lock. The
using_gps flag is not enough, as lagged GPS data can lead to the EKF
stopping fusing when the data is behind the fusion time horizon. In
that case EKF3 gives using_gps=1 but sets horiz_pos_abs=0
2020-08-25 10:22:05 +10:00
Andrew Tridgell
87c7781be2
AP_GPS: show GPS as unhealthy if it is lagged too much
...
this detects GPS data lag, and if 5 samples in a row are lagged by
more than 50ms beyond the expected lag for the GPS then we declare the
GPS as unhealthy.
This is useful to detect users who have asked for more data from the
GPS then it can send at the baudrate that is being used. The case that
led to this path was a F9 GPS with GPS_RAW_DATA=1 at 115200 baud. In
that case the UART data is quickly lagged by over 1s
2020-08-25 10:22:05 +10:00
Andrew Tridgell
3f630d3d43
HAL_SITL: use GPS accuracy params
2020-08-25 10:22:05 +10:00
Andrew Tridgell
91b4830801
SITL: added SIM_GPS_ACC parameters
2020-08-25 10:22:05 +10:00
Andrew Tridgell
36442dc9b0
HAL_ChibiOS: added Matek CAN GPS
...
supports GPS, baro, mag and airspeed
2020-08-25 09:59:15 +10:00
Andrew Tridgell
4c4c3d467b
HAL_ChibiOS: added f103-Airspeed sensor
...
for Matek CAN airspeed sensor
2020-08-25 09:59:15 +10:00
Andrew Tridgell
a1b5953927
Tools: added bootloader for f103-Airspeed
2020-08-25 09:59:15 +10:00
Andrew Tridgell
61f06f089e
Tools: added bootloader for f303-MatekGPS
2020-08-25 09:59:15 +10:00
Andrew Tridgell
a20d3fed94
AP_Airspeed: allow hwdef override of airspeed default type
2020-08-25 09:59:15 +10:00
Andrew Tridgell
fdff355a8a
AP_IOMCU: fixed handling of RC ignore failsafe option
...
this allows for ignoring SBUS failsafe on boards using an IOMCU
2020-08-25 09:53:26 +10:00
Siddharth Purohit
5cd6175d94
AP_Compass: fix reordering compass devid by priority at boot
2020-08-25 08:30:04 +10:00
Peter Barker
69d246d63e
autotest: add test for priority-based compass reordering
2020-08-25 08:30:04 +10:00
Peter Barker
bb697dd4b9
autotest: avoid using mavproxy for testing message intervals
2020-08-24 19:33:37 +10:00
Randy Mackay
886a7d44a7
AP_NavEKF3: allow switch to ExtNav from optflow
2020-08-24 16:52:34 +09:00
Andrew Tridgell
10eeea31e8
Tools: rebuild IO firmware
2020-08-24 16:32:35 +10:00
Andrew Tridgell
2bac4b1d97
AP_RCProtocol: fixed up DSM decoder test suite
...
reverted values from new decoder and added another example
2020-08-24 16:32:35 +10:00
Andrew Tridgell
78c4e27259
AP_RCProtocol: reverted DSM protocol decoder
...
the new decoder done by Andy is much nicer looking code, but fails to
correctly parse several valid DSM setups, and parses both SBUS and
FPort as DSM, breaking setups that were previously working
2020-08-24 16:32:35 +10:00
Andrew Tridgell
6e1aeb905f
AP_RCProtocol: added another DSM satellite protocol
2020-08-24 16:32:35 +10:00
Andrew Tridgell
1560c33418
AP_RCProtocol: fixed support for spektrum satellite receivers
...
this was broken by the recent DSM protocol decoder change
2020-08-24 16:32:35 +10:00
Andrew Tridgell
2779b26e6e
AP_RCProtocol: fixed the "3 good frames" test
...
require 3 consecutive good frames, not 3 frames total, to declare the
weak protocols as detected
2020-08-24 16:32:35 +10:00
Andrew Tridgell
380e9d3075
AP_RCProtocol: greatly increase robustness of DSM decoding
...
this prevents other protocols being decoded as DSM
2020-08-24 16:32:35 +10:00
Andrew Tridgell
017f005737
AP_IOMCU: pass supported RC protocols to IOMCU
2020-08-24 16:32:35 +10:00
Andrew Tridgell
959e3da406
RC_Channel: added RC_PROTOCOLS mask
...
allows selection of supported protocols
2020-08-24 16:32:35 +10:00
Andrew Tridgell
e0ec46f06d
AP_RCProtocol: support a mask of enabled RC protocols
2020-08-24 16:32:35 +10:00
Peter Barker
a190490b64
autotest: do not rely on MAVProxy for sending banner request
2020-08-24 15:26:57 +10:00
Peter Barker
00bfe04539
autotest: remove duplicate recovery code from set-message-interval test
2020-08-24 14:00:38 +10:00
Peter Barker
03d0eda7f1
autotest: use a passthrough progress function for Telem objects
2020-08-24 13:24:41 +10:00
Rishabh
db57e0831b
AC_WPNav: Navigation based on type of BendyRuler
2020-08-24 08:53:20 +09:00
Rishabh
ad3a7e4d49
AP_Logger: Update logs based on new BendyRuler type
2020-08-24 08:53:20 +09:00
Rishabh
b62455fd3f
AC_Avoid: Extend BendyRuler to search for paths up and down
2020-08-24 08:53:20 +09:00
Rishabh
55923d8b7b
AP_Common: Add new method to extrapolate location from bearing and pitch
2020-08-24 08:53:20 +09:00
Rishabh
79a4b8fa32
AC_Avoid: Add feature to reject obstacles near home loc
2020-08-24 08:49:17 +09:00
Andrew Tridgell
245e0230b5
Tools: revert unintented change to f303 GPS bootloader
2020-08-24 07:01:51 +10:00
bugobliterator
5eb0e0a718
AP_HAL_ChibiOS: fix name for RX Queue size define
2020-08-24 06:48:56 +10:00
bugobliterator
4bd0e2f394
AP_CANManager: fix name for RX Queue size define
2020-08-24 06:48:56 +10:00
Peter Barker
afa153fb6f
Copter: remove wrapper for get_avoidance_adjusted_climbrate
...
Only the modes are interested in this - there's no point having it on
the Copter object.
2020-08-22 08:31:25 +09:00
Samuel Tabor
67c152cef2
Plane: Move cruise state into cruise flight mode.
2020-08-22 09:30:15 +10:00
Peter Barker
be2d03b02a
AP_HAL_SITL: periodically warn about failure to open real UART device
2020-08-21 21:25:59 +10:00
Peter Barker
67b71e2b94
autotest: add test for Plane dead-reckoning support
2020-08-21 18:16:40 +10:00
Randy Mackay
6bf2057712
AP_NavEKF3: minor formatting fixes
2020-08-21 13:18:58 +09:00
Randy Mackay
4c40d2ac3f
AP_NavEKF3: readyToUseBodyOdm uses delayed imu and wheel encoder timestamps
2020-08-21 13:18:58 +09:00
Randy Mackay
056a2de260
AP_NavEKF3: wheelOdmDataNew member made local
...
this variable is never used outside the writeWheelOdom method
2020-08-21 13:18:58 +09:00
Randy Mackay
3d5161f364
AP_NavEKF3: remove unused usingWheelSensors variable
...
This variable was set but never consumed
2020-08-21 13:18:58 +09:00
Randy Mackay
c4b7a1c41a
AP_NavEKF3: flowDataToFuse moved to local variable
...
This variable is never used outside the SelectFlowFusion() method
This variable is always updated at the top of the function meaning subsequent calls to the function will always overwrite its previous value
2020-08-21 13:12:10 +09:00
Randy Mackay
41acf555bf
AP_NavEKF3: fix skipping of optflow fusion if mag fusion performed
2020-08-21 13:12:10 +09:00