Commit Graph

3006 Commits

Author SHA1 Message Date
Peter Barker 7257fb6284 Tools: LogAnalyzer: correct join() in GPSGlitch test 2017-12-01 10:30:56 +11:00
Mark Whitehorn fd5039f8cd Tools: link SBusOut library 2017-11-30 10:20:04 +11:00
Peter Barker b7a293ca5f Tools: autotest: move fetching of banner and version
Moved these to before log download.

They fail randomly after log download.
2017-11-28 09:47:46 +11:00
Peter Barker 5ee9361941 Tools: generate_manifest: include firmware type as differentiator 2017-11-24 12:12:35 +11:00
Peter Barker ada7d700c2 Tools: support for units on fields
Tools: add units to minimal log format

Tools: add units to CHEK message
2017-11-23 10:40:30 +11:00
Peter Barker fa68738726 Tools: waf: avoid trigraph warnings by adding -Wno-trigraphs 2017-11-23 10:40:30 +11:00
HeBin c700e69541 Tools: add Robsense PhenixPro Devkit Board support 2017-11-22 10:10:21 -08:00
Dr.-Ing. Amilcar Do Carmo Lucas 5c07a44a6d Tools: Fix a race condition on the regression tests on Windows
Added \r\n to the expect() string as recomended at:
http://pexpect.readthedocs.io/en/stable/overview.html#find-the-end-of-line-cr-lf-conventions
this should work on both windows and linux systems

pexpect says it will always do a minimal (non greedy) matching and docs explicitly say that a .+ expression will always return only one character. These lines in autotest are looking for \S+, which, believing the documentation, would only return one character of the log file path.
Now we know that's not true, neither for Linux or for Windows (given the logs from @karthikdesai), so I can only assume that it does a greedy match but only for the characters it has received at the time expect is called.
Apparently, in the machines we are using autotest, it isn't a problem since MAVProxy is likely fast to give its output to pexpect before the expect method is called. On @karthikdesai's machine that wasn't happening since his machine was more or less loaded.
Concluding, this looks like a correct fix in the sense that it extends the regex pattern to wait for the end of line (and probably other places could benefit from it too).
2017-11-22 17:01:05 +09:00
Andrew Tridgell 766a2a4bc0 Tools: link volz library 2017-11-21 14:10:54 +11:00
Patrick José Pereira df6d2659ac autotest: Add RAT Beach for ArduSub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-11-20 17:27:47 +09:00
murata 0934bdb5dc Tools: remove default values from eLAB 445 params 2017-11-16 22:48:13 +09:00
Jacob Walser 83bb1e7f4a Frame_params: (BlueROV2/Sub-3.5.2) update tilt servo reversal 2017-11-14 18:10:45 -05:00
Peter Barker 2f76f83ab7 Tools: autotest: add and use progress function
Based on work done by khancir
(https://github.com/ArduPilot/ardupilot/pull/6360)

Tools: arduplane.py change print to progress function
Tools: quadplane.py change print to progress function
Tools: ardusub.py change print to progress function
2017-11-14 16:02:05 +11:00
Pierre Kancir 76bb081d60 Tools: autotest: add python headers to scripts
Tools: arduplane.py add python header

Tools: apmrover2.py add python header

Tools: arducopter.py add python header

Tools: ardusub.py add python header

Tools: quadplane.py add python header
2017-11-14 14:47:32 +11:00
Jacob Walser 305f203dd3 Frame_params: (BlueRov2/Sub-3.5.2) Reset to defaults 2017-11-13 21:08:55 -05:00
Jacob Walser 67eefe3d6a Frame_params: (BlueRov2/Sub-3.5.2) Use integers for APInts 2017-11-13 20:57:43 -05:00
Jacob Walser acb65b99ac Frame_params: add file for BlueROV2 on Sub 3.5.2 2017-11-13 15:42:04 -05:00
ravsrivera f7641d7b01 Tools; Added name to Git_Success.txt 2017-11-08 14:24:20 +09:00
uavdlsu 8ba42480f7 Tools: Added Clarisse Crespo to GIT_Success.txt 2017-11-08 14:24:19 +09:00
marcsay 477a0af83c Tools: added name to GIT_Success.txt 2017-11-08 14:24:18 +09:00
Andrew Tridgell bf9779b63a autotest: default plane simulator to 'plane'
this is good enough for most people and avoids an external dependency
2017-11-06 15:44:26 +11:00
guglie e741cb28d2 fix wait_unlimited with an infinite sleep loop
this fixes issue #7180
2017-11-06 13:39:59 +11:00
el-shweikh 160ce436e3 Tools: added name to GIT_Success.txt 2017-11-01 14:12:56 +09:00
TsuyoshiKawamura 3467be6695 Tools: update eLAB-445 parameter file 2017-11-01 14:07:43 +09:00
Andrew Tridgell d55b66efe1 autotest: added HMAS location 2017-10-31 18:02:52 +11:00
Peter Barker 8c03425f37 Tools: enable INS batch logging during Rover autotest 2017-10-27 16:33:45 +11:00
Peter Barker b6404ff26b Tools: build_binaries.py: handle badly formed config.mk 2017-10-26 17:22:06 +11:00
Peter Barker c498f17bc8 Tools: autotest: fix apmrover2 race condition on banner 2017-10-26 17:20:38 +11:00
Peter Barker 93810ab42a Tools: sim_vehicle.py: clarify comment about vagrant and mavlink-out 2017-10-26 15:03:58 +11:00
Peter Barker 89fa44a224 Tools: sim_vehicle.py: flake8 compliance 2017-10-26 15:03:58 +11:00
Peter Barker 163b354448 Tools: autotest: rover: add test for braking 2017-10-26 14:45:19 +11:00
Peter Barker efefdfa037 Tools: build_binaries.py: support config.mk 2017-10-26 09:25:35 +11:00
Peter Barker 47ffad7cdc Tools: autotest: copy generate_manifest aside for build_binaries.py 2017-10-26 07:57:48 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas 63ca1f755e Tools: Replay: fix compiler warning for printf string
format ‘%ld’ expects argument of type ‘long int’, but argument has type ‘uint64_t {aka long long unsigned int}’
2017-10-25 20:27:55 +11:00
Peter Barker e3320ca953 Tools: autotest.py: run build_binaries.py instead of build_binaries.sh
Note we still copy the script sideways.  This is probably not
required for a python script.
2017-10-25 12:02:19 +11:00
Peter Barker 9e7d2e837a Tools: build_binaries.py: translate build_binaries.sh into python 2017-10-25 12:02:19 +11:00
Peter Barker 5d02dc4a30 Tools: generate_manifest.py non-fatal if not all vehicle dirs exist 2017-10-25 12:02:19 +11:00
Peter Barker 0f99196972 Tools: build_binaries.sh references renamed generate-manifest.py 2017-10-25 12:02:19 +11:00
Peter Barker e8f660f4a9 Tools: rename generate-manfest.py to generate_manifest.py 2017-10-25 12:02:19 +11:00
Andrew Tridgell b88f2f1da3 autotest: fixed exception in convertgpx 2017-10-22 16:26:24 +11:00
Andrew Tridgell 71e2c86783 autotest: added more CMAC startup locations
this allows matching to RealFlight positions
2017-10-21 13:01:07 +11:00
Staroselskii Georgii 62cb2b6845 waf: boards: add Edge 2017-10-20 13:03:08 -07:00
Andrew Tridgell 3a78255e54 Frame_Params: added WLToys V383 parameters
for HeliQuad frame
2017-10-03 10:16:41 +11:00
Gabriel Moyano 42add82e1a Tools: Vagrant with suppport for ARM hf
g++-arm-linux-gnueabihf and pkg-config-arm-linux-gnueabihs were added in initvagrant.sh in order to crosscompile for ARM hf architecture
2017-09-30 21:03:46 +10:00
Peter Barker 6bd5ac78f5 Tools: LogAnalyzer: fix string-method-on-int bug for unknown modes 2017-09-30 09:19:17 +10:00
cclauss c6aaa12e94 Tools: LogAnalyzer: Fix undefined name VehicleType
Tools: TestAutotune.py: Fix undefined name VehicleType

__VehicleType__ is used on line 58 but is never defined or imported.

Tools: TestPerformance.py: Fix undefined name VehicleType

__VehicleType__ is used on line 19 but is never defined or imported.

Tools: TestParams.py: Fix undefine name VehicleType

__VehicleType__ is used on line 21 but is never defined or imported.

Tools: TestThrust.py: Fix undefine name VehicleType

__VehicleType__ is used on line 19 but is never defined or imported.

Tools: TestVibration.py: Fix undefined name VehicleType

__VehicleType__ is used on line 21 but is never defined or imported.
2017-09-30 09:19:01 +10:00
cclauss d91a3250a6 Tools: TestParams.py: Fix undefine name VehicleType
__VehicleType__ is used on lines 47, 53, and 56 but is never defined or imported.  This could result in a NameError runtime exception.
2017-09-29 10:31:30 +10:00
Peter Barker a629bb7f2f Tools: LogAnalyzer: TestGPSGlitch: flake8 compliance 2017-09-28 11:44:54 +10:00
Peter Barker 7a077b5fa1 Tools: LogAnalyzer: TestGPSGlitch: tabs to spaces 2017-09-28 11:43:30 +10:00
cclauss 5729838a85 Tools: UnitTest.py: Change usage of next()
__lit.next()__ is not Python 3 compatible but __next(lit)__ is compatible with both Python 2 and 3.

In Python 2.6 and later, it is safe to merely switch from lit.next() to next(lit). See: http://python3porting.com/improving.html#the-next-next Both the automated tools 2to3 and futurize consider this "fixer" to be a "safe" change as we saw in #6954
2017-09-28 09:45:29 +10:00