Commit Graph

3927 Commits

Author SHA1 Message Date
Andrew Tridgell 88f34a8456 Tools: added bootloader build for mindpx-v2 2019-03-11 09:58:12 +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
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
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
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
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
Peter Barker 194142b343 Tools: autotest: add simple test for fence prearms 2019-03-08 08:57:27 +09:00
Peter Barker e78eec3292 Tools: autotest: account for Rover blowing past home in DriveRTL 2019-03-07 14:22:09 +11:00
Peter Barker f2e3d377ad Tools: autotest: drain mav during RTL test to improve reliability 2019-03-07 14:22:09 +11:00
Peter Barker 91436c5314 Tools: autotest: add test for high-throttle-at-mode-change 2019-03-07 11:33:20 +11:00
Peter Barker 0cdb1c9d1e Tools: autotest: remove redundant wait-ready-to arm output 2019-03-07 08:36:35 +11:00
Andrew Tridgell 9e50c1b64e waf: fixed case insensitive board name 2019-03-07 08:36:01 +11:00
Peter Barker b1bbe09602 Tools: autotest: increase timeout on pid tuning 2019-03-07 00:15:05 +11:00
Peter Barker f23c6e1624 Tools: autotest: better streamrate reset 2019-03-06 21:25:16 +11:00
Peter Barker e800ae21ed Tools: autotest: add simple test that althold works 2019-03-06 18:15:13 +11:00
Peter Barker d3b8504757 Tools: autotest: improve debug output 2019-03-06 15:59:32 +11:00
Peter Barker b40f03dfbe Tools: autotest: add test for Copter PID parameter checks 2019-03-06 10:36:32 +09:00
Peter Barker a2ebdf6f2e Tools: autotest: Indicate we have handled an alarm 2019-03-06 10:36:32 +09:00
Peter Barker 0efb404ff6 Tools: autotest: add simple test for AIRSPEED_AUTOCAL 2019-03-06 11:32:52 +11:00
Peter Barker b4af1dae0f Tools: autotest: skip rudder disarm for balancebot 2019-03-06 10:45:56 +11:00
Peter Barker 5f315aab59 Tools: autotest: fix infinite hang in wait_statustext 2019-03-06 10:45:56 +11:00
Peter Barker 8c35ddc0eb Tools: autotest: add PID_TUNING test 2019-03-05 10:41:56 +11:00
Peter Barker e68ceda59e Tools: scripts: uploader.py takes target-system / target component 2019-03-05 09:52:03 +11:00
Andrew Tridgell 102141756a waf: make board name case insensitive in waf configure 2019-03-05 08:43:14 +11:00
Peter Barker 792fbc6240 Tools: autotest: allow imprecise home in set-home test
float<->integer conversion issues means this comes back imprecisely
2019-03-04 23:46:40 +11:00
Buzz 31697a3b0c Tools: add support for GCOV code coverage tool and HTML reporting with LCOV.
first, "apt install gcovr lcov" as new prerequisites
then run:
./waf configure --enable-gcov
./waf build --lcov-report
and after much waiting review the report in HTML format with your preferred browser eg:
firefox reports/lcov-report/index.html
2019-03-04 23:46:40 +11:00
Andrew Tridgell 764bd97e89 Tools: update Pixawk4Pro bootloader
uses 400MHz clock
2019-03-04 19:49:19 +11:00
Boreas Wind bef6a01682 Tools: Separate words with spaces in a help message 2019-03-04 11:34:43 +09:00
Andrew Tridgell e00d242688 Tools: added EKF maths to CPUInfo 2019-03-04 11:00:40 +11:00
Mark Whitehorn 48e4d779ac Tools: scripts: uploader.py: add dict of compatible board IDs 2019-03-03 14:27:38 +11:00
Peter Barker 6103d5ebac Tools: autotest: add a simple dataflash-over-mavlink test 2019-03-02 09:28:19 +11:00
Peter Barker facfa53f57 Tools: waf: add -Werror=overloaded-virtual 2019-03-01 22:31:21 +11:00
Pierre Kancir 4ac5fb42cd Tools: don't upload failed log on ardupilot server by default 2019-03-01 20:48:39 +11:00
Pierre Kancir b45e2ed6ab Tools: correct log download for copter 2019-03-01 20:48:39 +11:00
Peter Barker d43bcf4649 Tools: autotest: add simple mode-requires-position test for Copter 2019-03-01 13:43:20 +09:00
Peter Barker 9dad451ef5 Tools: autotest: use start_subtest in arming test 2019-03-01 14:56:05 +11:00
Peter Barker 39e7733872 Tools: waf: add -Werror=enum-compare 2019-03-01 12:50:52 +11:00
Andrew Tridgell 397ddbd2d0 Tools: updated CubeOrange bootloader 2019-03-01 11:39:12 +11:00
Andrew Tridgell ec0e6137e3 Tools: updated CPUInfo 2019-03-01 11:39:12 +11:00
Pierre Kancir 038dd68e3a Tools: update RNGFND syntax in parameters files 2019-02-28 20:10:43 +09:00
Peter Barker ed5fc06a5d Tools: autotest: skip arm features on Tracker until rudder problems sorted 2019-02-28 14:14:28 +11:00
Peter Barker d6674a3bb1 Tools: autotest: correct progress message 2019-02-28 12:53:49 +11:00
Peter Barker 50687c9add Tools: autotest: ArmFeatures is common to all vehicles; use inheritted tests 2019-02-28 12:53:07 +11:00
Dr.-Ing. Amilcar do Carmo Lucas edac5e1a80 Tools: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker 94c5a39b4f Tools: uploader.py: factor out a find_bootloader method
This also changes to try to close the port if sending on it fails.
2019-02-28 09:51:16 +11:00
Peter Barker e8b18a46a4 Tools: uploader.py: break out a modemmanager_check 2019-02-28 09:51:16 +11:00
Peter Barker f9908efb65 Tools: uploader.py: move baud_flightstack initialisation outside loop 2019-02-28 09:51:16 +11:00
Peter Barker 36109cae65 Tools: uploader.py tidy port list code 2019-02-28 09:51:16 +11:00
Andrew Tridgell a5a8575c83 Tools: removed old vrbrain build scripts 2019-02-27 20:32:37 +11:00
Andrew Tridgell b619e1e560 Tools: remove more px4 remnants 2019-02-27 20:32:37 +11:00
Francisco Ferreira 3da3f75c41 Tools: ci: remove old code 2019-02-27 07:03:22 +11:00
Andrew Tridgell 4caf1c9080 Tools: autobuild Pixhawk4Pro and CubeOrange 2019-02-26 18:23:13 +11:00
Andrew Tridgell 30e0e6a15a Tools: added CubeOrange bootloader 2019-02-26 18:21:13 +11:00
Andrew Tridgell 518476dba9 Tools: update Pixhawk4Pro bootloader 2019-02-26 16:18:26 +11:00
Andrew Tridgell ec2c742523 Tools: added Holybro to supported USB IDs for upload 2019-02-26 16:18:26 +11:00
Andrew Tridgell c474872bae Tools: updated H7 bootloaders 2019-02-26 16:18:26 +11:00
Andrew Tridgell e5efbffe5b waf: pad bootloader to multiple of 32 bytes
this ensures that we can write a whole flash line when updating
bootloader from ROMFS
2019-02-26 16:18:26 +11:00
Andrew Tridgell 3c9646dfef waf: allow hwdef.dat to override build optimization 2019-02-26 16:18:26 +11:00
Andrew Tridgell e71514c136 waf: allow for no param default support
this allows apj files to be built for example fw
2019-02-26 16:18:26 +11:00
Andrew Tridgell ee83f228e1 Tools: added H743 and pixracer CPUInfo output 2019-02-26 16:18:26 +11:00
Andrew Tridgell c67ec11cc5 Tools: improved CPUInfo test 2019-02-26 16:18:26 +11:00
Andrew Tridgell af78ac1abf AP_Bootloader: disable debug printf 2019-02-26 16:18:26 +11:00
Andrew Tridgell 3c24bec5f5 Tools: added initial bootloaders for H743 boards 2019-02-26 16:18:26 +11:00
Andrew Tridgell ac070c92f5 AP_Bootloader: fully working on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 9013c15f4d AP_Bootloader: fixed sys lock for timer 2019-02-26 16:18:26 +11:00
Andrew Tridgell 660a790401 AP_Bootloader: improved flash test code 2019-02-26 16:18:26 +11:00
Andrew Tridgell 2fee1ffba4 AP_Bootloader: first working bootloader for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 4d3cbd95ac AP_Bootloader: support building on STM32H7 2019-02-26 16:18:26 +11:00
Peter Barker 4d0ae8c371 Tools: autotest: add test for MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED 2019-02-26 14:09:21 +11:00
Peter Barker 6fc4086726 Tools: autotest: accept home position before or after ack
autopilot may be out of space or time to send home position packet after
we have requested it
2019-02-26 14:01:41 +11:00
Peter Barker 31a9ac7dbd Tools: autotest: add test suite for Tracker 2019-02-26 08:03:56 +11:00
Peter Barker e9fc158c8a Tools: autotest: eliminate use of recv_match with condition
We have functions for achieving this

Also, a lot of these places were missing timeouts, so any failure would
cause the entire suite to stop running
2019-02-22 16:30:05 +11:00
Andrew Tridgell 6a4da68c4f Tools: auto-build TBS-Colibri-F7 board 2019-02-22 10:28:53 +11:00
Andrew Tridgell f23ff1c8e9 Tools: updated TBS-F7 bootloader 2019-02-22 10:27:17 +11:00
Andrew Tridgell fc5ebbf52e Tools: bootloader for TBS-Colibri-F7 2019-02-22 10:27:17 +11:00
Francisco Ferreira 03ed67a996 waf: add option to override toolchain 2019-02-22 08:27:08 +11:00
Francisco Ferreira b2523021fb Tools: autotest: increase Plane log download timeout 2019-02-22 08:27:08 +11:00
Francisco Ferreira 08fdd5c36c Tools: autotest: strip newline chars for comparing mission files
Windows is different from other OSes so remove the newline characters before comparing lines when making sure mission files are the same
2019-02-22 08:27:08 +11:00
Francisco Ferreira ba2f954a20 waf: add AC_AttitudeControl library for PE target format 2019-02-22 08:27:08 +11:00
Pierre Kancir 7e12f16be6 Tools: fix lambda test 2019-02-22 08:04:03 +11:00
Pierre Kancir 910de89b4e Tools: add DEVTYPE_RM3100 to decode_devid.py 2019-02-20 22:06:31 +11:00
Peter Barker 6137704032 Tools: ardupilotwaf: add -Werror=inconsistent-missing-override for clang 2019-02-20 19:23:54 +11:00
Peter Barker a117e4571d Tools: autotest: add simple Rally test 2019-02-20 18:03:38 +11:00
Peter Barker 90ea847cad Tools: sim_vehicle.py: use gps functions from pymavlink rather than MAVProxy
This should solve a problem on Windows where MAVProxy's libraries may
not be generally available (packed into a .exe)
2019-02-20 14:54:10 +11:00
Peter Barker 9b73c5f1d9 Tools: autotest: correct log download name for Sub 2019-02-20 12:01:43 +11:00
Peter Barker 624f196fb3 Tools: autotest: increase timeout to 3600 seconds
Right on the edge on my laptop at 3000
2019-02-19 14:09:59 +11:00
MohamedAliRashad ddab9455e8 Tools: install-prereqs: do not use sudo to install Python packages 2019-02-19 13:29:03 +11:00
Peter Barker 27d6bebed3 Tools: autotest: add test that ArduPilot indicates it can do PARAM_FLOAT 2019-02-19 13:14:52 +11:00
Peter Barker c0394e9577 Tools: autotest: tidy handling of SITL start position 2019-02-16 19:14:48 +11:00
Andrew Tridgell 79481028b4 Tools: updated bootloader docs 2019-02-16 14:23:16 +11:00