Commit Graph

3909 Commits

Author SHA1 Message Date
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
Andrew Tridgell
ff90ee3eab Tools: added info on bm paths 2019-02-16 13:43:23 +11:00
Andrew Tridgell
23280f3de2 Tools: more info on debugging 2019-02-16 13:41:47 +11:00
Peter Barker
07c07928ee Tools: autotest: adjust Rover mission-toggling mission for magic-home 2019-02-16 11:23:00 +09:00
Andrew Tridgell
e393828702 Tools: added files useful for hardware debugging 2019-02-16 13:19:19 +11:00
Peter Barker
025f007f96 Tools: autotest: simplify mission loading 2019-02-16 10:27:41 +11:00
Peter Barker
bf9b8f41bf Tools: Replay: cope with WARN_IF_UNUSED on AP_AHRS::set_home 2019-02-15 08:28:45 +11:00
Peter Barker
effeebfeb8 Tools: autotest: skip failing RC test until code is fixed 2019-02-14 11:49:59 +11:00
Peter Barker
e3368e193d Tools: autotest: add test for throttle failsafe 2019-02-14 11:49:59 +11:00
Mark Whitehorn
fd385c0f91 Tools: autotest: add quadplane output_motor_mask check
add comparator arg to wait_servo_channel_value and cleanup
2019-02-13 15:28:47 +11:00
Peter Barker
e23809fd59 Tools: ardupilotwaf: include AP_Parachute in all builds 2019-02-13 09:25:27 +09:00
Peter Barker
a1aefaff27 Tools: autotest: add parachute tests
Tools: autotest: add test for triggering parachute via mavlink

Tools: autotest: add Copter mission test for parachute release

Tools: autotest: add Plane test for parachute deployment in auto
2019-02-13 09:25:27 +09:00
Peter Barker
5828915a02 Tools: scripts: remove build_all_vrbrain.sh 2019-02-13 10:11:29 +11:00
Peter Barker
6d914f8af3 Tools: autotest: add test for moving sub in guided mode 2019-02-13 10:06:49 +11:00
Peter Barker
957f637043 Tools: autotest: add autotest for setting home position with command-int 2019-02-13 09:42:26 +11:00
Willian Galvani
963905f812 Autotest: Add badge to index.html 2019-02-13 09:28:19 +11:00
Peter Barker
cf2c0ec334 Tools: autotest: print time taken for each test 2019-02-12 13:30:28 +11:00
Peter Barker
be3428de65 Tools: autotest: use absolute path to defaults file for QuadPlane 2019-02-10 17:41:00 +11:00
Mark Whitehorn
74c114e455 Tools: autotest: use frame and VehicleInfo in AutoTestQuadPlane 2019-02-10 17:37:50 +11:00