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

test_subscriber waits blindly for ignition gazebo to start #4

Open
FirefoxMetzger opened this issue Mar 24, 2021 · 0 comments
Open
Labels
ignition Issue related to ropy.ignition

Comments

@FirefoxMetzger
Copy link
Owner

Testing the ignition interface opens the simulator to interface with it. Currently, this is done via subprocess.Popen and without any checks that the simulator is ready. Instead, we just time.sleep(3) and hope it will have initialized after this time. This works most of the time, but might randomly break. It also wastes time as the test may wait much longer than it needs to.

What is needed is a mechanism to detect if ignition is running and has finished initializing.

@FirefoxMetzger FirefoxMetzger added the ignition Issue related to ropy.ignition label Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignition Issue related to ropy.ignition
Projects
None yet
Development

No branches or pull requests

1 participant