Commit Graph

36650 Commits

Author SHA1 Message Date
Andrew Tridgell
52544e5b9f ChibiOS: fixed f412 build 2019-03-12 08:25:00 +11:00
Peter Barker
b450355ff6 Tools: autotest: remove needless wrappers, initialisation etc around guided-submode test
Also disable disarm delay due to autotest mavlink traffic issues
2019-03-11 16:19:30 +11:00
Andrew Tridgell
57ab496a1c Tools: fixed board selection in build_binaries.py 2019-03-11 15:55:57 +11:00
Andrew Tridgell
13e3c2fa92 Tools: fixed exception in generate_manifest.py 2019-03-11 15:44:28 +11:00
Peter Barker
28e27b4120 Tools: autotest: improve test reliability
Also remove redundant reset code

Tools: autotest: drain mav and all pexexpects before running each test

Tools: autotest: increase some timeouts for failures when running under GDB

Tools: autotest: correct ordering of operations in mount test
2019-03-11 13:59:51 +11:00
Andrew Tridgell
aca2115401 Tools: auto-build CubeYellow 2019-03-11 12:40:21 +11:00
Andrew Tridgell
2842063146 HAL_ChibiOS: optimize CubeYellow build
and fixed comment in CubeOrange
2019-03-11 12:40:21 +11:00
Andrew Tridgell
59652ad147 HAL_ChibiOS: added more IMU devices for Hex Cube boards 2019-03-11 12:40:21 +11:00
Andrew Tridgell
81cd103073 AP_InertialSensor: probe for new v2 invensense IMUs
also suppress LSM9DS0 whoami warnings, as these will now be common
with new IMUs

and make 20602 show up as a new devtype so we can distinguish it
2019-03-11 12:40:21 +11:00
Peter Barker
9f80e5b5f5 Tools: autotest: fix horizontal fence test
We do not receive position updates fast enough to reliably detect the
vehicle to be within 10m of home, so increase that radius
2019-03-11 11:25:04 +11:00
Peter Barker
6418226106 Tools: autotest: increase test diagnostics
Tools: autotest: improve wait_distance_home_gt output

Tools: autotest: emit progress for parameter sets

Tools: autotest: add progress for RC health checks

Tools: autotest: remove pointless context
2019-03-11 11:25:04 +11:00
Peter Barker
c5c67362fa Tools: autotest: do not test Copter for loiter-requires-position 2019-03-11 11:03:03 +11:00
Peter Barker
2ef24e700e Tools: autotest: correct gripper tests
set_rc swallows messages - like the statustext messages we are looking
for
2019-03-11 10:46:57 +11:00
Andrew Tridgell
88f34a8456 Tools: added bootloader build for mindpx-v2 2019-03-11 09:58:12 +11:00
Andrew Tridgell
7577ebb33e HAL_ChibiOS: added bootloader hwdef for mindpx-v2 2019-03-11 09:58:12 +11:00
Andrew Tridgell
f7b6f9d70b HAL_ChibiOS: added retries to flash based storage
this prevents a single flash write error from causing parameter reset
2019-03-11 09:52:19 +11:00
Andrew Tridgell
7f0f2661e3 ChibiOS: added fatfs IO retries
this should help reduce the impact of poor connections to microSD cards
2019-03-11 09:14:10 +11:00
Andrew Tridgell
f30f7ca395 travis: added F7 and H7 boards to travis builds
ensure these two build types don't get broken
2019-03-11 08:53:06 +11:00
Peter Barker
d48eab893a Tools: autotest: stop swallowing critical messages with get_sim_time() 2019-03-10 21:55:51 +11:00
Peter Barker
38e26757fd Tools: autotest: add option to quieten some functions
Useful when you know the output is not going to be useful
2019-03-10 21:55:51 +11:00
Andrew Tridgell
63895d8b0c HAL_ChibiOS: setup dummy pointers for H7 SPI 2019-03-10 21:53:06 +11:00
Andrew Tridgell
249676ca32 ChibiOS: submodule update
added dummy pointers for SPIv3
2019-03-10 21:53:06 +11:00
Andrew Tridgell
1414988870 HAL_ChibiOS: use spiSend/spiReceive
this fixes an issue with microSD on F405.
2019-03-10 21:53:06 +11:00
Tom Pittenger
d47663c0ba Tools: allow uploader.py to detect ttyS* on Ubuntu on Windows (WSL) 2019-03-10 21:31:22 +11:00
Peter Barker
e4b3ad377d Tools: autotest: acceptance distance for rally points is WP_RADIUS 2019-03-10 21:10:28 +11:00
Peter Barker
c464da69f1 Tools: autotest: fix Plane guided test
70 degrees is past LIM_ROLL_CD!
2019-03-10 20:33:38 +11:00
Peter Barker
01440f2587 Tools: autotest: increase debug on precland 2019-03-10 20:09:27 +11:00
Andrew Tridgell
dff3ea416c AP_InertialSensor: allow for LSM9DS0 to be used on I2C 2019-03-10 09:03:06 +11:00
Randy Mackay
cf8a7fd423 AP_Logger: add values to backend-type param description 2019-03-09 14:22:28 +09:00
Peter Barker
2a9e0859c7 Tools: autotest: use class map for getting test class for full test name 2019-03-09 15:32:28 +11:00
Peter Barker
a504f9ac8d Tools: autotest: add option to use cached home for distance_to_home 2019-03-09 12:44:06 +11:00
Tom Pittenger
785c91e269 AP_Common: Semaphore is missing an include
Everyone who is already including common/Semaphore has extra includes to make this compile. This reduces that dependancy
2019-03-08 17:24:48 -08:00
Peter Barker
529903622d Tools: autotest: reduce output lines in NavDelay test
Also remove pointless (unclosed) contexts and try blocks
2019-03-09 10:03:10 +11:00
Andrew Tridgell
26d1371d25 HAL_ChibiOS: separate out DMA allocation for sdcard IO
this fixes an issue with DMA to SPI6 on STM32H7. On the H7 SRAM4 can
be used for DMA and BDMA to all devices except for SDMMC which uses
IDMA.

by separating out DMA of sdcard data from other data we can arrange
for DMA to all devices to work
2019-03-09 07:33:47 +11:00
Andrew Tridgell
a7c91d1cb4 HAL_ChibiOS: show all SPI clocks 2019-03-09 07:33:47 +11:00
Peter Barker
243abe8751 Tools: autotest: allow balancebot tests to be run individually 2019-03-08 23:28:00 +11:00
Peter Barker
4d3ca97a0f Tools: autotest: correct pre-arm flags-OK checks 2019-03-08 23:22:22 +11:00
Peter Barker
19f51813f2 Tools: autotest: include mavproxy output in all vehicle test log files 2019-03-08 23:21:27 +11:00
filipsladek
236ab29e51 Tools: vagrant: adjust paths for JSBSim now being built in build directory 2019-03-08 22:26:04 +11:00
filipsladek
09b09ad288 Tools: scripts: Update jsbsim installation script.
According to http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html

"
In the past ArduPilot required a special version of JSBSim. As of December 2018 that is no longer the case, and we can use the standard JSBSim releases.
"

Moreover currently build-jsbsim.sh is failing with error:

../../src/models/propulsion/FGTurbine.h:297:3: error: ‘FGParameter’ does not name a type; did you mean ‘FGThruster’?
   FGParameter *N1SpoolUp;
   ^~~~~~~~~~~
2019-03-08 22:26:04 +11:00
Francisco Ferreira
5a64f8d8ba AP_GPS: use proper macro in array sizes 2019-03-07 19:48:32 -07:00
Francisco Ferreira
ba5ef18ef7 AP_GPS: correct blending check 2019-03-07 19:48:32 -07:00
Francisco Ferreira
cb1ce70ae8 AP_GPS: fix out-of-bounds array access 2019-03-07 19:48:32 -07:00
Peter Barker
a17dbbe856 Rover: remove redundant PreArm: in check_failed calls 2019-03-08 08:57:53 +09:00
Peter Barker
7b6fef16aa Copter: remove redundant PreArm: in check_failed calls 2019-03-08 08:57:53 +09:00
Peter Barker
8991fd8fcf AC_Fence: clear breaches if boundary invalid etc 2019-03-08 08:57:27 +09:00
Peter Barker
434f22cf40 AC_Fence: correct fence upload reload boundary trigger
The check in AC_Fence::check_fence_polygon is for boundary points, not
boundary loaded
2019-03-08 08:57:27 +09:00
Peter Barker
194142b343 Tools: autotest: add simple test for fence prearms 2019-03-08 08:57:27 +09:00
Peter Barker
cc8912255e Copter: move checking of fence up 2019-03-08 08:57:27 +09:00
Peter Barker
a38092e220 Rover: move checking of fence up 2019-03-08 08:57:27 +09:00