Julian Oes
3135b94980
mavsdk_tests: use PX4 time for timeouts
...
This way we are less dependent on CPU load of the host.
4 years ago
Julian Oes
ca0f26a003
mavsdk_tests: added posctl/altctl test
4 years ago
Julian Oes
0a7dcf26d5
mavsdk_tests: clean up includes
4 years ago
Julian Oes
630a6f3810
mavsdk_tests: clear params between test cases
4 years ago
Julian Oes
a5a577a6c4
mavsdk_tests: use speed factor, increase timeouts
...
We had not actually properly adjusted the timeout to the lockstep speed
factor. Once we did that, we had to increase the timeouts quite a bit to
have the tests pass.
4 years ago
Julian Oes
4eb1ea10f0
mavsdk_tests: don't block inside of callback
...
This is required with MAVSDK v0.29.0 and later!
4 years ago
Julian Oes
8d3f1e63f0
mavsdk_tests: use all os env vars by default
4 years ago
Julian Oes
55d2bdc438
mavsdk_tests: adapt to changed inject API
...
We now need to say which instance, for now it's all instances.
4 years ago
Julian Oes
ed357cf356
mavsdk_tests: move math things to separate header
4 years ago
Julian Oes
1eaceb17dc
mavsdk_tests: adjust timeouts by lockstep speed up
4 years ago
Julian Oes
20621e6744
mavsdk_tests: add tests for GPS as height source
4 years ago
Julian Oes
c31246e13a
mavsdk_tests: add test for stuck mag
4 years ago
Julian Oes
afcfa2fbe0
mavsdk_tests: check for stuck baro
4 years ago
Julian Oes
a05ad9c64c
mavsdk_tests: add wildcards for case filtering
4 years ago
Julian Oes
c4efcbf895
mavsdk_tests: check for baro failure in mission
4 years ago
Julian Oes
8d6ebf15b6
mavsdk_tests: test for losing mag during mission
4 years ago
Julian Oes
ef7e4531f9
mavsdk_tests: enable GPS lost test for VTOL
...
This is in multicopter mode only for now though.
4 years ago
Julian Oes
3c499fc3a2
mavsdk_tests: add first GPS lost failsafe test
4 years ago
Beat Küng
055fa768d8
posix: enable ROMFSROOT
...
This will copy the ROMFS into the build directory under etc/, and thus
needs a change of the PX4 startup parameters and mixer paths.
4 years ago
Julian Kent
435c2fe438
Fix rarely flakey test on Github Actions
5 years ago
Julian Oes
5f2abb66a4
mavsdk_tests: add workaround to prevent failsafe
...
This workaround should fix the test failure where we disarm before
taking off because we accidentally switched to failsafe mode right
before taking off because we were still in Manual mode and not Hold yet.
5 years ago
Julian Oes
4ad7ea6c1a
mavsdk_tests: increase the poll time resolution
...
With only 10 steps for e.g. 60 seconds we are likely to miss updates.
5 years ago
Julian Kent
78ff7c608f
Expand tracking error for straight line test
5 years ago
Julian Kent
14e2603bc4
Pull out matrix math primitives into anon functions
5 years ago
Julian Kent
6ce2769342
Pull out point-to-line distance calc, getting local mission coords
5 years ago
Julian Kent
ff4be5d815
Set rate when subscribing to velocity, specify units
5 years ago
Julian Kent
e6c5771c59
Add 'corridor check' which makes sure 3D tracking is along mission
5 years ago
Julian Kent
db361d7a59
Add straight-line MAVSDK test
5 years ago
Matthias Grob
480cd5ed4e
mavsdk_tests: load all os environment variables for gazebo client
...
such that OpenGL options are also used for mavsdk_tests when the GUI
is enabled.
5 years ago
Julian Oes
620916e4c1
mavsdk_tests: add test back in
...
This failed with other frames but seems to pass with iris and
standard_vtol.
5 years ago
Julian Oes
5e21eb3b78
mavsdk_test: remove flaky tests
...
Tests for both of these models did not pass for me locally. Therefore,
I'm removing them for now. It's up to the stakeholders of these models
to add them again.
5 years ago
Daniel Agar
43fdc770c7
mavsdk_tests: temporarily disable offboard position control test
5 years ago
TSC21
bc2b118e48
mavsdk_tests: add iris_dual_gps tests
5 years ago
JaeyoungLim
59c70a5811
Add plane_catapult test for testing hand/catapult launch for fw
...
This adds the plane_catapult model to the test for testing fw hand /catapult takeoff
5 years ago
Daniel Agar
3092d9e1f9
github actions run SITL tests in parallel
...
- temporarily disable iris dual gps
5 years ago
TSC21
24ae8f601d
mavsdk_tests: add iris_dual_gps to the test pipeline
5 years ago
Julian Oes
be4e253e63
mavsdk_tests: bump library from v0.24.0 to v0.27.0
5 years ago
Julian Oes
9b2527549b
mavsdk_tests: relax timeout for offboard goto
...
This probably makes sense because we ask for more accuracy, so it will
take longer to reach a position.
5 years ago
Julian Oes
bc1960ef2b
mavsdk_tests: make offboard tests more accurate
...
By making the acceptance radius smaller we should potentially also be
more accurate while landing and fail less.
5 years ago
Julian Oes
dd95498379
mavsdk_tests: at normal speed RTL can take a while
5 years ago
Julian Oes
76b7d462ae
mavsdk_tests: relax requirement to land at home
...
Hopefully, this will fix CI.
5 years ago
Julian Oes
d43e4d88c3
mavsdk_tests: wait until home is set properly
...
Otherwise we might have NaN stored as home.
5 years ago
Julian Oes
73dda496ef
mavsdk_tests: more verbose output on fail
5 years ago
Julian Oes
160aca9207
mavsdk_tests: more debug info
5 years ago
Julian Oes
1a25cdf7b2
mavsdk_tests: remove intermittently failing tests
...
We can bring them back when they work consistently.
5 years ago
Julian Oes
a1bf1bdd9d
mavsdk_tests: prevent exception if log_fd is None
5 years ago
Julian Oes
262341455b
mavsdk_tests: map stderr to stdout
...
That way we don't need to collect it separately.
5 years ago
Julian Oes
eba1cf08f8
mavsdk_tests: also use sleep workaround locally
...
However, don't sleep as long as in CI.
5 years ago
Julian Oes
76750fc8a6
mavsdk_tests: collect buffered up stdout output
...
Somehow only subprocess.stdout.readline() works at a time. In order not
to miss out on some of the stdout output, we need to collect it all at
the end. Also, we can stop using readline() for processes that have quit
already.
5 years ago
kamilritz
5bd0df422d
Speed up mavsdk sitl tests
5 years ago