Peter Barker
8c516fb29c
Tools: autotest: add max-alt fence
7 years ago
Randy Mackay
19af2f7d1d
Tools: add decibel as valid param Unit
7 years ago
Andrew Tridgell
20d44136b0
autotest: fixed handling of core files
7 years ago
Peter Barker
75e8424e3f
Tools: autotest: add a test for driving a simple RTL mission
...
In particular, we weren't setting NAV_CONTROLLER_OUTPUT.wp_dist
correctly before a recent commit from Randy
7 years ago
khancyr
fac89ed437
Tools: autotest: move common functionality to common.py
...
Tools: don't need to pass option on first mavproxy
Tools: reformat common.py and add commun function
Tools: use new common functions
Tools: move functions from rover to commun and reorder
Tools: add and use set_rc function with timeout
Tools: fix style for pep8
7 years ago
Guglie
42e5b180cb
Tools: fix sim_vehicle.py terminal tab when using --no-mavproxy
7 years ago
Peter Barker
b7a293ca5f
Tools: autotest: move fetching of banner and version
...
Moved these to before log download.
They fail randomly after log download.
7 years ago
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).
7 years ago
Patrick José Pereira
df6d2659ac
autotest: Add RAT Beach for ArduSub
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
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
7 years ago
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
7 years ago
Andrew Tridgell
bf9779b63a
autotest: default plane simulator to 'plane'
...
this is good enough for most people and avoids an external dependency
7 years ago
guglie
e741cb28d2
fix wait_unlimited with an infinite sleep loop
...
this fixes issue #7180
7 years ago
Andrew Tridgell
d55b66efe1
autotest: added HMAS location
7 years ago
Peter Barker
8c03425f37
Tools: enable INS batch logging during Rover autotest
7 years ago
Peter Barker
c498f17bc8
Tools: autotest: fix apmrover2 race condition on banner
7 years ago
Peter Barker
93810ab42a
Tools: sim_vehicle.py: clarify comment about vagrant and mavlink-out
7 years ago
Peter Barker
89fa44a224
Tools: sim_vehicle.py: flake8 compliance
7 years ago
Peter Barker
163b354448
Tools: autotest: rover: add test for braking
7 years ago
Peter Barker
47ffad7cdc
Tools: autotest: copy generate_manifest aside for build_binaries.py
7 years ago
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.
7 years ago
Andrew Tridgell
b88f2f1da3
autotest: fixed exception in convertgpx
7 years ago
Andrew Tridgell
71e2c86783
autotest: added more CMAC startup locations
...
this allows matching to RealFlight positions
7 years ago
Andrew Tridgell
776355ef2b
autotest: fixed heli test
...
need to wait for motor runup
7 years ago
Peter Barker
5a19301606
Tools: autotest: add a test for setting of modes using CMD_DO_SET_MODE
7 years ago
mirkix
6bc4ab638a
Tools: Add SITL tilthvec frame and default parameters
8 years ago
Peter Barker
27650c08aa
Tools: autotest: use -z in place of -v for checking variable settedness
...
Some bash versions out there don't like -v
8 years ago
Peter Barker
78a0298af0
Tools: autotest.py: look at EKF flags to determine armability
8 years ago
Marco Robustini
b4f46b14f0
Tools: add Marco's flying field to locations file
8 years ago
Peter Barker
20bfb82a7b
Tools: autotest.py: add --no-clean and --no-configure options
8 years ago
Peter Barker
e505635ddd
Tools: sim_vehicle: make gdb-stopped work again
8 years ago
Peter Barker
2738fc34f0
Tools: autotest.py: exit if step not matched
...
Also, stop shadowing a variable
8 years ago
Peter Barker
6928618de8
Tools: autotest.py: allow specification of a buildlogs directory
8 years ago
Luis Vale Gonçalves
c046824ce7
Added our testing location
...
Added testing location at Tagus Park, Oeiras, Portugal
8 years ago
Peter Barker
f0096d3c7a
Tools: apmrover2.py: add a test for MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES
8 years ago
Peter Barker
324d9f3c7d
Tools: apmrover2.py: add a test for MAV_CMD_DO_GET_BANNER
8 years ago
Peter Barker
1b7122d733
Tools: add a --speedup parameter to autotest to control speed of all sims
8 years ago
Francisco Ferreira
2645760d19
Tools: sim_vehicle.py: fix small bug introduced in e298e87
...
Thanks to @cclauss for finding this
8 years ago
Peter Barker
e298e87791
sim_vehicle: add --callgrind option
8 years ago
Peter Barker
24e616af7d
Tools: autotest.py: factor write_fullresults
8 years ago
Peter Barker
0334cc1c88
Tools: correct copter's fly_throttle_failsafe failure case
8 years ago
Francisco Ferreira
415cb41c7f
Tools: add gdbserver option to Rover autotest
...
commit 38297c4
missed changing Rover file
8 years ago
Peter Barker
a7b919f025
Tools: do not attach gdb to gdbserver unless --gdb is given
8 years ago
Miguel Arroyo
38297c4d19
Tools: Adds GDBServer with screen option for debugging
8 years ago
khancyr
db3c387916
Tools: update relay pins for brushed motors in SITL
8 years ago
Andrew Tridgell
f5d91f63d2
autotest: fixed firefly parameters
8 years ago
khancyr
e116ec4eb0
Rover: update SITL parameters
8 years ago
Randy Mackay
7df73c50e8
SITL: remove unnecessary THR_MAX parameter default
8 years ago
Jacob Walser
8121091fb6
Sub: Don't configure RC params in SITL
8 years ago
Randy Mackay
9b63c8751f
SITL: rover default params in alphabetical order
8 years ago