Peter Barker
eb2b1b3231
Tools: param_meteadata: correct @Values{Plane} etc handling
4 years ago
Peter Barker
3eb164fb6a
autotest: move script helper functions from rover to common
4 years ago
Peter Barker
3d562046da
autotest: add accuracy option to guided_achieve_heading
4 years ago
Peter Barker
c18c4ad6ec
Tools: param_metadata: remove use of dirname when creating Vehicle
...
So a Vehicle object takes a truename - i.e. Copter, not ArduCopter, but
can also take a "reference", which is used for e.g. constructing RST
tags.
4 years ago
Peter Barker
3ea9307419
Tools: param_metadata: flake8 cleanliness
4 years ago
Peter Barker
1123de112c
Tools: param_metadata: tidy finding of Vehicle parameter file
4 years ago
Peter Barker
97e57932c4
Tools: param_metadata: remove more multi-vehicle support
...
This script hasn't supported emitting multiple vehicles for a very long
time, but this was enforced using a check and we kept a list of vehicles
around for no very good reason.
4 years ago
Andy Piper
2df7b5453e
autotest: add test for ESC telemetry driven notches.
4 years ago
Peter Barker
d2f78c69be
autotest: add a simple test for SMART_RTL
4 years ago
Peter Barker
9965f1a31d
autotest: add some helpers for local-position movement
4 years ago
Peter Barker
7ab094f3a1
autotest: tidy fly_guided_move_local
4 years ago
Peter Barker
1d6efbd56f
autotest: fix loiter_to_ne
...
Co-Authored-By: leonardthall@gmail.com
4 years ago
Peter Barker
04aed49572
autotest: adjust GyroFFT threshold to make it pass
...
From Andy:
Can you make this 0. The test should then pass. I'm not terribly happy about it but its better than disabling the test and I can't tell whether there is actually a problem or not.
4 years ago
Peter Barker
0a235ce094
autotest: remove retry loop from within GyroFFT
...
This effectively removes an infinite loop from the GyroFFT test.
4 years ago
Peter Barker
765889b827
autotest: don't send statustext during exception
...
During an exception we don't want to be trying to print these
4 years ago
Peter Barker
f78cf73726
autotest: don't fail completely if ArduPilot process dies
4 years ago
Peter Barker
b04dfda9fb
autotest: enable deca and dodeca frames in FlyEachFrame test
4 years ago
Peter Barker
cf4acaa2aa
autotest: re-enable quadplane QAutoTune test
4 years ago
James O'Shannessy
bc38d8a78c
AutoTest: Fix autotest from failing due to state from earlier test
...
Autotest was failing because there was an expectation that the plane would fly relatively north from the takeoff point.
This assumption may not be true. We work around it by using a tin can instead of an exclusion polygon so that we breach no matter the direction we fly.
4 years ago
James O'Shannessy
0e656c1504
AutoTest: Ensure Plane uses home as Fence Return Point if one is not present and no exclusion fence is present
4 years ago
Peter Barker
9a13b5c9b6
autotest: add test for auxfunc triggering via script
4 years ago
Iampete1
aa72b7da46
Tools: autotest: Plane: add loiter terrain following test
4 years ago
Peter Barker
57abaf0dec
autotest: remove retry loop from within GyroFFTHarmonic
4 years ago
Peter Barker
4928ec18af
autotest: remove retry loop from within fly_dynamic_notches
...
We retried externally to the test - may as well do so within
4 years ago
Peter Barker
8fdfdebe55
autotest: pass sitl_commandline_customised up the context stack
...
We're running tests on the Callisto frame when we shouldn't in Copter as
the information was lost in nested Contexts.
We can only reset the SITL commandline at an actual Test level - if a
defaults file has been used then it is unclear as to what the state of
any parameter is in storage as we move between contexts
4 years ago
Peter Barker
117a44b589
autotest: remove corefiles at start of run
...
These lead to false-positive failures in the test suite
4 years ago
Peter Barker
2cd0099bbc
autotest: exclude decarotor from fly-each-frame-test
4 years ago
Peter Barker
76678ffaf3
autotest: fix octa-cwx in SITL
4 years ago
Peter Barker
5172e767df
autotest: fix octa-dji in SITL
4 years ago
Peter Barker
c7c4c17c68
autotest: improve change_mode debug
4 years ago
Peter Barker
63ba484087
autotest: add test which flies each frame we can
4 years ago
jbarrozo
3b1f5f0b15
autotest: added Boquig
4 years ago
Peter Barker
e4c405b77b
autotest: add a test for Spline missions showing terrain requirement
4 years ago
Iampete1
3bea2fd89b
Tools: autotest: defualts: setup direct acutated wing servo
4 years ago
Iampete1
0628aa9e29
Tools: autotest: add sailboat autotest
4 years ago
Peter Barker
fc426e01c2
autotest: stop using start_test for things that aren't actually tests
...
start_test should only be used for top-level tests, not parts of
top-level tests
4 years ago
Peter Barker
6af0f460af
autotest: add duplicate-logmessage-field sanity check
4 years ago
Peter Barker
30e8160aa1
autotest: sort logs before moving
...
Makes it easier to find last log in output.
Also removing pointless lamdaing of some functions
4 years ago
Pierre Kancir
927a875133
Tools: param_parse: fix vehicle specific parameter with multiple fields
4 years ago
Peter Barker
0ee0228883
autotest: fix flapping fly-home-land-and-disarm
...
One of the tests just happened to be within acceptance radius of
waypoint 8 - so when we set that as a waypoint we never saw it actually
be our waypoint so the set_waypoint failed
4 years ago
Peter Barker
8643322f06
autotest: correct string we expect from MAVProxy
...
Was APM: now AP:
4 years ago
Peter Barker
c12d1938c2
autotest: add a test for button change for changing modes
4 years ago
Andrew Tridgell
be161744db
autotest: adjust default plane tune
4 years ago
Andrew Tridgell
0be24c4946
Tools: convert old param files to new plane PID params
4 years ago
Andrew Tridgell
0d9d952aea
autotest: added SpringValley2
4 years ago
Peter Barker
31c889f583
autotest: accept Copter/Plane/Sub for sim_vehicle.py
4 years ago
Andrew Tridgell
affff0fc84
Tools: test mission from Leonards S-curve talk
4 years ago
Peter Barker
27b6637c2d
Tools: param_parse.py: add support for generation for AP_Periph
4 years ago
Peter Barker
b107740542
Tools: param_parse: add --sitl to emit only SIM_ parameters
4 years ago
Randy Mackay
0b9753b12f
Tools: autotest add vehicle info for rover-vectored
4 years ago