Anthony Lamping
85ba160757
CI: improve mavros SITL tests logging ( #8714 )
...
* add more logging to help with #8556
* log subscribed topics on mission start and test exit (pass or fail)
* use mavlink enums everywhere to avoid maintaining dictionary mappings and to have readable values
* log when the FCU advances to next mission item without satisfying the position reached offset/radius
* some renaming for readability
* log more state value changes (connected and MAV_STATUS)
2018-01-17 17:54:32 -05:00
Anthony Lamping
d375880c4b
improve mavros SITL tests ( #8652 )
...
-created a test base class to centralize redundant methods among the different tests
-added mission waypoint list topic listener (this also helps make sure the simulation is ready)
-check number of mission waypoints in FCU against mission
-increase time for mavros topics to be ready from 30 to 60 seconds
-reduce position check loop rates
-clean up logging
-support QGC plan for mission file format, see #8619
-vehicle is an arg for mission test launch file, working toward other airframes
-Jenkins: fix vtol vehicle arg value
-get MAV_TYPE param and use FW radius for pure fixed-wing mission position check
-remove unused vehicle arg from test in multiple tests launch, clearing runtime warning
2018-01-14 21:13:45 -05:00
Daniel Agar
3f67ddbdba
ROS mission_test.py send mission before starting
...
- update to latest sitl_gazebo
2018-01-02 01:35:57 +01:00
Daniel Agar
63deb40a76
ROS tests move to test/ and new Jenkins
2018-01-02 01:35:57 +01:00
Anthony Lamping
f46db40b10
make sure FCU is connected to mavros before state topic is marked ready
2018-01-02 01:35:57 +01:00
Anthony Lamping
ab5a268ca5
simplify vtol transition check, more log msgs
2018-01-02 01:35:57 +01:00
Anthony Lamping
f9e7c66718
thread for offboard publishers, add asserts for topics to come up (simulation ready) and set mode and arming, use home_position topic as better indicator of when the simulation is ready, add more feedback to rosinfo, make timeouts meaningful (in seconds), add land and extended state values
2018-01-02 01:35:57 +01:00
Anthony Lamping
5ce381dfc7
update sitl tests
2018-01-02 01:35:57 +01:00
Julien Lecoeur
2ca00f1a65
Docker: update images to tag 2017-10-23
2017-11-15 09:56:10 +01:00
korigod
c3fe7e989e
integrationtests: upgrade numpy before px4tools install ( #8274 )
...
During px4tools installation, the latest version of pandas is
installed, which requires numpy>=1.9.0. Pandas installs the required
version, however, due to the presence of the old numpy in the docker
image, the present version 1.8.2 is used, which leads to an error
when importing pandas.
This commit fixes the problem by explicitly upgrading numpy before
px4tools installation.
Signed-off-by: Andrey Korigodsky <akorigod@gmail.com>
2017-11-12 23:33:36 -05:00
Paul Riseborough
40160c4488
integrationtests: add wait time before arming to allow checks to pass
2017-05-03 08:37:14 +02:00
Daniel Agar
6f89e9d551
integrationtests mavros fix type
2017-04-20 11:18:32 -04:00
James Goppert
8e297022e6
Update px4tools api for mission test.
2017-01-14 18:55:39 -05:00
Sander Smeets
2c78e9de5d
DroneKit IT: use new QGC json format
2016-12-28 11:47:52 +01:00
Sander Smeets
53be474191
Simplify dronekit mode change
2016-12-28 11:47:52 +01:00
Sander Smeets
05fda0c0fe
Fix test mission index
2016-12-28 01:19:28 +01:00
James Goppert
964dabe179
Add better option handling to integration testing script.
2016-12-27 00:34:13 +01:00
James Goppert
8fdd392700
Added ground truth tests to sitl gazebo CI.
2016-12-26 16:33:37 +01:00
Lorenz Meier
cbd237a58a
Integration test: Robustify against 0 home altitude
2016-12-25 21:30:31 +01:00
Lorenz Meier
79fbcf8a1c
Tuning to integration testing for better reporting
2016-12-25 18:15:51 +01:00
Julian Oes
18dd6923e6
integrationtests: use Python2 for dependencies
...
This changes the shebang of the integration test files to python2
because the scripts fail on systems with Python 3 as the default.
Even though ROS has been ported to Python 3, there are still some
dependencies not playing along.
The error that comes up when starting with Python 3 is:
> No module named 'mavexpression'
2016-12-15 00:10:57 +01:00
Andreas Antener
1f72068de3
Integrationtests: updated script to properly handle log uploads
2016-12-13 10:20:14 +01:00
Andreas Antener
14f75bc8a3
SITL CI: Remove log upload from test script and move into separate one
2016-12-13 10:20:14 +01:00
Andreas Antener
be2451cfc7
SITL: use logger for standard_vtol and upload *.ulg files after integrationtests
2016-12-13 10:20:14 +01:00
Andreas Antener
3ff0609f26
Integrationtests: upload test logs to flight review
2016-12-13 10:20:14 +01:00
Andreas Antener
17f49ec8cb
Integration tests: use separate commands to set mode and arm
2016-12-11 17:00:09 +01:00
Andreas Antener
64657900de
SITL CI: use tagged docker image instead of latest
2016-12-03 09:42:54 +01:00
Andreas Daniel Antener
02029882db
SITL CI: gracefully fail tests early ( #5405 )
2016-08-28 21:56:31 +02:00
James Goppert
dbc5e90993
Change to sitl to allow no board rotation for gazebo. ( #5400 )
...
* Change to sitl to allow no board rotation for gazebo.
* Fix typo in typhoon launch file and create config for lpe.
* Exit early on test failures
2016-08-27 20:03:54 -04:00
Lorenz Meier
f511d49cc2
Improvements to SITL to make paths more flexible. ( #5181 ) ( #5255 )
...
* Path cleanup for SITL.
* Restructured sitl scripts dir.
* Set integration tests to use ekf2 for vtol.
* Fix sitl paths for mac.
2016-08-25 21:47:45 +02:00
Lorenz Meier
102f5b54d7
Revert "Improvements to SITL to make paths more flexible. ( #5181 )"
...
This reverts commit 699b6a2cb340f4b6ec3979ae7748ff9c56cfdb89.
2016-08-05 21:29:49 +02:00
James Goppert
699b6a2cb3
Improvements to SITL to make paths more flexible. ( #5181 )
2016-08-05 06:23:59 -04:00
James Goppert
eeb73888fd
update sitl_gazebo ( #5224 )
2016-08-03 18:46:25 -04:00
James Goppert
feccb9bfc1
Make integraiton test script work with kinetic.
2016-08-03 17:17:07 -04:00
sander
2a395c3fec
Moved to integrationtests
2016-07-01 11:44:37 +02:00
Andreas Antener
5ed4e4e3a5
use proper matching for VTOL fixed-wing state regarding position acceptance
2016-06-28 22:44:49 +02:00
Andreas Antener
53b5758eb4
added mission name to assertion outputs
2016-06-28 22:44:49 +02:00
Andreas Antener
85b5b399b9
updated FW horizontal acceptance radius to work with deltaquad
2016-06-28 22:44:49 +02:00
Andreas Antener
26de353d4f
added mission file to test name
2016-06-28 22:44:49 +02:00
Andreas Antener
2f581a296e
enable VTOL tests on CI again
2016-06-28 22:44:49 +02:00
Andreas Antener
0e5a83f3c1
temporarily disabled running mission test on CI
2016-06-28 22:44:49 +02:00
Andreas Antener
37884dc5dd
fixed landing and transition detection test
2016-06-28 22:44:49 +02:00
Andreas Antener
d995f758c2
added mission test to CI run
2016-06-28 22:44:49 +02:00
Andreas Antener
f252ac3eff
added mission checks for landing and VTOL transition
2016-06-28 22:44:49 +02:00
Andreas Antener
57fa9d2070
use separate altitude offset check in FW
2016-06-28 22:44:49 +02:00
Andreas Antener
05dc643f17
increased fixed wing radius for mission tests and added more informative output for position matching
2016-06-28 22:44:49 +02:00
Andreas Antener
361abd7f04
added VTOL test missions
2016-06-28 22:44:49 +02:00
Andreas Antener
00d56b9ef8
added VTOL mission test, updated mission test to check mission depending on vehicle state
2016-06-28 22:44:49 +02:00
Andreas Antener
150eb779ae
added draft script to run missions against SITL
2016-06-28 22:44:49 +02:00
Andreas Antener
a2d78eaa50
use new build path for gazebo - sim connection
2016-05-27 18:53:33 +02:00