Julian Oes
199b5e7d48
Revert "mavsdk_tests: retry gz model spawn command"
...
This reverts commit c15d3f7cfa
.
3 years ago
Julian Oes
9184038359
mavsdk_tests: try to restart gzserver
...
Sometimes gzserver seems to just not start correctly. With this commit
we try to just restart.
3 years ago
TSC21
9894598b63
mavsdk_tests: update to be able to fetch rtps builds as well
3 years ago
Thomas Debrunner
9312c772f1
mavsdk-tests: Re-try to launch a mission for some time before failing. This mitigates an issue where the flight controller has an uploaded mission, but has not finished the mission feasibility checks yet.
3 years ago
Julian Oes
764af19da4
mavsdk_tests: bump MAVSDK version to v0.48.0
...
This might help with CI tests where we get RC loss because, presumably,
MAVSDK is not sending them in time.
3 years ago
Julian Oes
dcf69144cb
mavsdk_tests: fix type for mypy check
...
This was probably triggered due to a mypy update.
3 years ago
Julian Oes
94884594bb
mavsdk_tests: check gzserver and gz model calls
...
This adds two checks to make sure gzserver has actually started before
continuing, and also whether the gz model call was successful.
3 years ago
Julian Oes
c15d3f7cfa
mavsdk_tests: retry gz model spawn command
...
This should help when gzserver does not respond yet and we end up
without a model and hence can't connect later and time out.
This change also required a fix to prevent the tester to hang on
terminating all runners. By using poll instead of only read we can
prevent that and actually properly join the logger thread.
3 years ago
bresch
d03bf42f60
slice: add min and max functions
3 years ago
benjinne
06a91ec752
Improve offboard failsafe ( #18160 )
...
* state_machine_helper: improve offboard failsafe
* state_machine_helper: add missing parameter to set_link_loss_nav_state
* state_machine_helper: fix no rc and offboard reason
* Fix offboard test by enabling rcl_except
* mavros_test fix offboard_posctl_test with rcl_except
* autopilot_tester make RcLossException bits explicit
Co-authored-by: Julian Oes <julian@oes.ch>
* autopilot_tester change rcl_except to rc_loss_exception
Co-authored-by: Julian Oes <julian@oes.ch>
* autopilot_tester fix rc_loss_exception renaming errors
Co-authored-by: Julian Oes <julian@oes.ch>
3 years ago
Beat Küng
c96f0a48b6
test: update gtest to v1.11.0
3 years ago
Beat Küng
7c1860f286
geninv(): pass result as argument
...
depending on usage, this reduces stack usage a bit.
3 years ago
romain-chiap
3d1c9b988d
quaternion exponential ( #164 )
4 years ago
Silvan Fuhrer
44f12acafe
mavsdk tests: remove hover missions for VTOL
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
4 years ago
Julian Oes
af50e25647
mavsdk_tests: update to MAVSDK v0.41.0
...
This required replacing some of the methods which had been deprecated
and now removed.
4 years ago
bresch
8a0510d52e
update change indicator
4 years ago
bresch
0bebe1a656
Add gyro bias initialization unit test
4 years ago
bresch
057a95a954
EKF_init: check for accel bias amplitude
4 years ago
bresch
611ace0ed6
EV_yaw: reset ev_to_ekf to identity when yaw is reset to EV
...
Otherwise, the old rotation matrix is used and not updated anymore
because the EKF is fusing EV yaw data.
4 years ago
bresch
0ef5d7d4c8
test_replay: remove setting read-only parameter
4 years ago
TSC21
c4d54d983b
mavsdk_tests: bump MAVSDK version to 0.40.0
4 years ago
bresch
85f5a935fe
[AUTO COMMIT] update change indication
4 years ago
bresch
f7c687e433
GNSS yaw unit test: test fallback to non yaw aiding mode
4 years ago
bresch
a685987082
GNSS yaw: unset yaw_align if fusion stops before takeoff
...
We do not want to rely on a potentially badly initialized heading as it
could lead to a flyaway directly after takeoff
Also remove the resetMagHeading() call from the GPS fusion control logic
as this is properly handled in mag_control.
4 years ago
bresch
7ee69706e8
GNSS yaw: add test case when measurement jumps
4 years ago
bresch
7a11871566
GNSS yaw tests: adjust timing
...
the starting condition needs more than 1 sample to determine if the data
comes regularly
the timeout on "no data" is defined by the fusion reset timeout
parameter (7 seconds)
4 years ago
Julian Oes
4f52c0b6da
mavsdk_tests: unused var and index fix
4 years ago
Julian Oes
f16913c175
mavsdk_tests: fix timeout at 1x speed
4 years ago
Julian Oes
e7fcfbf658
mavsdk_tests: use global position instead of local
...
We are currently not testing with flow only anyway, so we might as well
remove this for now.
4 years ago
Julian Oes
43fccece61
mavsdk_tests: check installed version
...
Starting with MAVSDK 0.39.0 we can specify the version required. This
way we can fail at configure time instead of later during compilation or
linking.
4 years ago
Julian Oes
7384bd2675
mavsdk_tests: specify required MAVSDK version
...
This way it can be better picked up by CI scripts.
4 years ago
Julian Oes
bb0fe9ee61
mavsdk_tests: losen time limit for VTOL mission
4 years ago
Julian Oes
2eaf677de3
mavsdk_tests: correctly locate plan
4 years ago
Julian Oes
cd66a79747
mavsdk_tests: move waypoints to vehicle position
...
This way it shouldn't matter where the test is run.
4 years ago
Julian Oes
d714c2faec
mavsdk_tests: add VTOL mission tests
...
This adds VTOL mission tests to the CI integration tests.
This depends on MAVSDK v0.38.0.
4 years ago
Julian Oes
1e88939605
mavsdk_tests: report speed factor every second
...
This helps in debugging slow CI.
4 years ago
Eike
5d34d7a24e
Height source vision: Fallback to rangefinder if available ( #994 )
4 years ago
PX4BuildBot
da06f25216
[AUTO COMMIT] update change indication
4 years ago
PX4 BuildBot
85fcf9393d
Update geo_lookup WMM to latest Sun Mar 28 11:48:06 UTC 2021
4 years ago
bresch
cb8367026c
[AUTO COMMIT] update change indication
4 years ago
bresch
93dd4e5754
fix unit tests
4 years ago
Daniel Agar
82200fab9e
mavsdk_tests: relax MC "Fly straight" speed threshold
4 years ago
mcsauder
164e53bad3
Add unit tests and update ekf_helper setEkfGlobalOrigin() method to allow for condition when current position is unitialized.
4 years ago
Daniel Agar
63f64b57c1
EKF: set global origin method
...
EKF: add convergence after global origin reset test
4 years ago
bresch
81937370ac
[AUTO COMMIT] update change indication
4 years ago
Julian Oes
46e75ebddb
mavsdk_tests: remove leftover debug line
4 years ago
Julian Oes
2703a34900
mavsdk_tests: add link back to github action
4 years ago
Julian Oes
64d0ce43b6
mavsdk_tests: upload to logs.px4.io in test_runner
...
By doing the upload directly inside the mavsdk_test_runner.py we have
more context such as the model, case, etc.
4 years ago
Julian Oes
2315618b85
mavsdk_tests: use autopilot timestamps to sleep
...
This way we should be able to avoid some of the timeouts happening on
the PX4 side if MAVSDK doesn't send setpoints in time.
4 years ago
Julian Oes
6c26387e85
mavsdk_tests: try to prevent auto-disarm
...
We should not spend too much time sending RC init messages because if it
takes too long, we might auto-disarm in the meantime.
4 years ago