Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running integration tests with AUTOSTART_SITL=1 fails #227

Closed
shakthi-prashanth-m opened this issue Jan 16, 2018 · 0 comments
Closed

Running integration tests with AUTOSTART_SITL=1 fails #227

shakthi-prashanth-m opened this issue Jan 16, 2018 · 0 comments
Assignees
Labels

Comments

@shakthi-prashanth-m
Copy link
Contributor

It works well if I run integration tests with Gazebo SITL launched already.
But if I use AUTOSTART_SITL=1 while running integration tests, it yields below error:

user@ubuntu:~/karma/fork/DroneCore [develop] $ AUTOSTART_SITL=1 ./build/default/dronecore-integrationtests --gtest_filter=SitlTest.TelemetrySimple
Note: Google Test filter = SitlTest.TelemetrySimple
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from SitlTest
[ RUN      ] SitlTest.TelemetrySimple
gzviewer: no process found
gzserver: no process found
px4: no process found
~/karma/fork/DroneCore ~/karma/fork/DroneCore
~/karma/fork/DroneCore
done
[01:58:52|Error] Error: no device found. (dronecore_impl.cpp:156)
[01:58:52|Error] Remote IP unknown (udp_connection.cpp:140)
[01:58:52|Error] send fail (dronecore_impl.cpp:104)
[01:58:52|Info ] FollowMe: Applying default FollowMe configuration FollowMe to the device... (follow_me_impl.cpp:180)
waiting for device to be ready
[01:58:53|Error] Remote IP unknown (udp_connection.cpp:140)
[01:58:53|Error] send fail (dronecore_impl.cpp:104)
[01:58:53|Error] Error: Send message failed (mavlink_parameters.cpp:133)
[01:58:53|Error] FollowMe: Failed to set NAV_MIN_FT_HT: 8m (follow_me_impl.cpp:230)
[01:58:53|Error] Remote IP unknown (udp_connection.cpp:140)
[01:58:53|Error] send fail (dronecore_impl.cpp:104)
[01:58:53|Error] Error: Send message failed (mavlink_parameters.cpp:133)
[01:58:53|Error] FollowMe: Failed to set NAV_MIN_FT_HT: 8m (follow_me_impl.cpp:230)
[01:58:53|Error] Remote IP unknown (udp_connection.cpp:140)
[01:58:53|Error] send fail (dronecore_impl.cpp:104)
[01:58:53|Error] Error: Send message failed (mavlink_parameters.cpp:133)

@shakthi-prashanth-m shakthi-prashanth-m self-assigned this Jan 16, 2018
shakthi-prashanth-m pushed a commit that referenced this issue Jan 16, 2018
Fixes Autostart SITL error during launch of integration tests by
correcting second argument to PX4 `Tools/sitl_run.sh`.
julianoes pushed a commit that referenced this issue Jan 17, 2018
Fixes Autostart SITL error during launch of integration tests by
correcting second argument to PX4 `Tools/sitl_run.sh`.
rt-2pm2 pushed a commit to rt-2pm2/DronecodeSDK that referenced this issue Nov 27, 2018
Fixes Autostart SITL error during launch of integration tests by
correcting second argument to PX4 `Tools/sitl_run.sh`.
dlech pushed a commit to dlech/MAVSDK that referenced this issue Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants