Commit Graph

43788 Commits

Author SHA1 Message Date
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
Pierre Kancir
8b92af732a Autotest: common: add wait_heartbeat to change_mode to clean up msg and give time to status to update 2020-08-21 13:35:51 +10:00
Pierre Kancir
f73e4c0071 Autotest: copter: add test for mandatory alt estimation for Alt_hold 2020-08-21 13:35:51 +10:00
Peter Barker
cddb5fb1cc autotest: use message hook when waiting for statustext
Eliminates a race condition when waiting for statustexts.  Getting the
current sim time slurps messages.
2020-08-21 12:26:12 +10:00
Pierre Kancir
b7f46462f8 Autotest: common: reduce timeout on ArmFeature test
This is unnessary to wait for 60s for failure, 15s is enough
2020-08-21 09:13:32 +10: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
Pierre Kancir
c6ea39eb66 Docker: use /tmp/buildlogs directory for autotests 2020-08-20 22:22:23 +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
c93313107b Rover: implement get_control_outputs 2020-08-20 14:09:29 +09:00
Randy Mackay
0694660094 Rover: add get_lateral accessor 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
Randy Mackay
315d9da138 Copter: add ekf alt pre-arm and mode init checks 2020-08-20 12:41:40 +09:00
Samuel Tabor
334fd4afbc Plane: Remove update_navigation() method. 2020-08-20 13:02:06 +10:00
Samuel Tabor
836be4b4b4 Plane: Remove _navigate indirection in Mode. 2020-08-20 13:02:06 +10:00
Samuel Tabor
6a27866df4 Plane: Call plane.update_loiter() rather than plane.mode_loiter.navigate(). 2020-08-20 13:02:06 +10:00
Samuel Tabor
06eea6ed9f Plane: Move navigation functions into flight mode classes. 2020-08-20 13:02:06 +10:00
Peter Barker
f14c9db568 autotest: improve debug around heli poshold takeoff test 2020-08-20 10:10:34 +10: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
bugobliterator
c02c500ac5 param_metadata: add microseconds under known param type 2020-08-19 17:31:09 +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