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
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
Randy Mackay
886a7d44a7
AP_NavEKF3: allow switch to ExtNav from optflow
2020-08-24 16:52:34 +09: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
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
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
be2d03b02a
AP_HAL_SITL: periodically warn about failure to open real UART device
2020-08-21 21:25:59 +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
Andrew Tridgell
83e5639225
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-21 07:40:13 +10:00
Andrew Tridgell
44d5a923cc
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-21 07:40:13 +10:00
Siddharth Purohit
8dcb973dad
HAL_ChibiOS: fix SWD config in f3 boards
2020-08-20 19:08:14 +10:00
Randy Mackay
eddbf7a755
AP_Scripting: fix get_control_output binding
...
co-author: @wicked.shell.scripts@gmail.com
2020-08-20 14:09:29 +09:00
Randy Mackay
3638602d38
AP_Scripting: add rover-motor-driver example script
2020-08-20 14:09:29 +09:00
Randy Mackay
39d2079c06
AP_Scripting: add set_angle and set_range bindings
2020-08-20 14:09:29 +09:00
Randy Mackay
94b2381399
AP_Scripting: add set_output_norm binding
2020-08-20 14:09:29 +09:00
ashvath100
a3b435e912
AP_Scripting: add get_control_output binding
2020-08-20 14:09:29 +09:00
Randy Mackay
4a21dbf785
SRV_Channel: default scripting1 to 16 to angle of 4500
2020-08-20 14:09:29 +09:00
Randy Mackay
9f197db93c
SRV_Channel: add set_output_norm
2020-08-20 14:09:29 +09:00
Randy Mackay
00757fb77f
SRV_Channel: fix get_output_norm comment
...
also minor formatting fix
2020-08-20 14:09:29 +09:00
ashvath100
df42618e0e
AP_Vehicle: add get_control_outputs() for lua motor drivers
2020-08-20 14:09:29 +09:00
Siddharth Purohit
c8c913e203
AP_UAVCAN: fix UAVCAN sniffer example
2020-08-20 07:44:53 +10:00
Siddharth Purohit
9b11ae0d2a
AP_KDECAN: remove KDECAN example KDECAN test is moved to CANTester
2020-08-20 07:44:53 +10:00
Siddharth Purohit
8a0d98967f
AP_CANManager: panic if can manager is used before allocation
2020-08-20 07:44:53 +10:00
Siddharth Purohit
23d9be3499
AP_UAVCAN: disable build for UAVCAN test
2020-08-19 19:00:42 +10:00
Siddharth Purohit
dc708dc3bd
AP_KDECAN: remove build for KDECAN test
2020-08-19 19:00:42 +10:00
Siddharth Purohit
8b74f94a7a
SRV_Channels: use AP_CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
42f5f986d8
GCS_MAVLink: use AP_CANManager library
...
also add support for handling enumeration cmd by KDETest
2020-08-19 17:31:09 +10:00
Siddharth Purohit
e473eed368
AP_UAVCAN: ignore first alloc messages while waiting for followup
2020-08-19 17:31:09 +10:00
Siddharth Purohit
bb460647a5
AP_Vehicle: use new CANIface drivers and CANManager
2020-08-19 17:31:09 +10:00
Siddharth Purohit
07b4708a36
AP_UAVCAN: move all uavcan related methods to AP_UAVCAN
2020-08-19 17:31:09 +10:00
Siddharth Purohit
65ea8e1f13
AP_ToshibaCAN: use new CANIface drivers and CANManager
...
also had to add a work-around for issue with constexpr in gnu++11 build under sitl
2020-08-19 17:31:09 +10:00
Siddharth Purohit
6ef85dd7eb
AP_RangeFinder: use AP_CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
0fcf0b4564
AP_PiccoloCAN: modify to use uavcan agnostic CAN drivers and manager
2020-08-19 17:31:09 +10:00
Siddharth Purohit
8a31448709
AP_OpticalFlow: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
81c7099848
AP_Notify: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
e1203a1d52
AP_KDECAN: move to using uavcan agnostic drivers
2020-08-19 17:31:09 +10:00
Siddharth Purohit
f0e6a8c535
HAL_SITL: add methods to fetch native system clock info
2020-08-19 17:31:09 +10:00
Siddharth Purohit
c17aec07a2
HAL_SITL: add SocketCAN Iface driver over virtual CAN
2020-08-19 17:31:09 +10:00
Siddharth Purohit
0e923fe061
HAL_Linux: add methods for native clock info methods
2020-08-19 17:31:09 +10:00
Siddharth Purohit
7de444ec53
HAL_Linux: add uavcan agnostic CANSocket Iface Driver
2020-08-19 17:31:09 +10:00
Siddharth Purohit
7929efec0d
HAL_ChibiOS: add EventSource HAL
2020-08-19 17:31:09 +10:00
Siddharth Purohit
265e9b8cc6
HAL_ChibiOS: add native time info methods
2020-08-19 17:31:09 +10:00
Siddharth Purohit
a7d641c705
AP_HAL_ChibiOS: add available method for locked state
2020-08-19 17:31:09 +10:00
Siddharth Purohit
cdf8e369f1
AP_HAL_ChibiOS: create UAVCAN agnostic CANIface driver
...
HAL_ChibiOS
2020-08-19 17:31:09 +10:00
Siddharth Purohit
15abca8ba4
AP_HAL: add native clock info methods used inside other than main thread
2020-08-19 17:31:09 +10:00
Siddharth Purohit
aa893b3983
AP_HAL: add available method for locked state
2020-08-19 17:31:09 +10:00
Siddharth Purohit
fa0f1e4c71
AP_HAL: add CANIface HAL, replace uavcan dependent one
2020-08-19 17:31:09 +10:00
Siddharth Purohit
697e4141cb
AP_HAL: add common Event interface
2020-08-19 17:31:09 +10:00
Siddharth Purohit
0690b7bd68
AP_GPS: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
20edecc340
AP_Filesystem: publish can info over FS Sys iface
2020-08-19 17:31:09 +10:00
Siddharth Purohit
e9430d7f80
AP_ESC_Telem: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
bf1a7799f8
AP_Compass: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
ad2a63e173
AP_BoardConfig: remove CAN management from BoardConfig
2020-08-19 17:31:09 +10:00
Siddharth Purohit
9820ea9023
AP_BattMonitor: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
dc02322017
AP_Baro: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
0fa6e2bbcc
AP_Arming: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
d65b43795a
AP_Airspeed: move to using CANManager library
2020-08-19 17:31:09 +10:00
Siddharth Purohit
979b0b82d0
AP_CANManager: add CANManager library
2020-08-19 17:31:09 +10:00
Samuel Tabor
18b33a439d
AP_Soaring: Allow continued thermalling in manual mode changes RC switch position.
2020-08-19 13:38:56 +10:00
Peter Barker
36e6ce6e5e
AP_Avoidance: use an enumeration for the AP_Avoidance recovery action
2020-08-19 11:38:19 +10:00
Peter Barker
945d19a9c5
AP_Proximity: resolve ambiguity about which distance is in which sector
2020-08-17 11:20:12 +10:00
Peter Barker
574f3a30f9
AP_Proximity: correct output of DISTANCE_SENSOR message
2020-08-17 11:20:12 +10:00
Andrew Tridgell
822d3b2a3a
AP_Scripting: added get_accel AHRS method
...
complements get_gyro() method
2020-08-16 08:55:27 -07:00
Andrew Tridgell
3f69f97d60
AP_AHRS: added get_accel() for lua access
2020-08-16 08:55:27 -07:00
Peter Barker
e55057ad5d
AP_AHRS_DCM: limit measured airspeed according to WIND_MAX
2020-08-15 18:14:05 +10:00
Michael du Breuil
08d4e1c062
AP_GPS: Support configuring the SBF com port
2020-08-13 15:04:38 +10:00
Mark Whitehorn
7d67151c87
RC_Channel: update Plane RC_Option metadata
2020-08-13 08:47:27 +10:00
chobits
c722367c6c
AP_NavEKF3: move extNavVelNew to local variable
2020-08-12 15:40:38 +09:00
Josh Welsh
eb4b5fb720
AP_Airspeed: Add additional DLVR support 20inH2O 30inH2O 60inH2O
2020-08-12 08:02:49 +10:00
Peter Barker
0e284b95b0
GCS_MAVLink: move battery type enumeration out of parameters object
2020-08-11 13:21:52 +10:00
Peter Barker
26666b4b3d
AP_HAL: move battery type enumeration out of parameters object
2020-08-11 13:21:52 +10:00
Peter Barker
2e3ba2a4d2
AP_BattMonitor: move battery type enumeration out of parameters object
2020-08-11 13:21:52 +10:00
Peter Barker
65834234af
AP_HAL_SITL: correct use of uninitialised value in tcp UARTDriver
...
In the case we already have a _listen_fd, sockaddr wasn't being
initialised before being printed to stdout.
2020-08-11 10:07:52 +10:00
Michael du Breuil
6dc77c97ce
GCS_MAVLink: Remove redundant check for private channels
...
We can't learn the route for sending to a private channel, so we
shouldn't need to actually check it when iterating the routes.
2020-08-11 09:49:42 +10:00
Peter Barker
b3d755d018
AP_HAL_SITL: correct loop counter type
2020-08-11 09:19:14 +10:00
Randy Mackay
4009f1583f
AP_Param: show_all compiler error fix
2020-08-10 19:26:20 +10:00
Randy Mackay
a66893a295
AP_Param: minor spelling fix
2020-08-10 19:26:20 +10:00