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

Add waiting for RPC server to become available #331

Merged
merged 3 commits into from
Sep 15, 2022
Merged

Add waiting for RPC server to become available #331

merged 3 commits into from
Sep 15, 2022

Conversation

mateusz-lichota
Copy link
Contributor

I've encountered an issue where if the ros bridge and the simulator are launched simultaneously, but the simulator takes longer to load, then ros bridge exits with an error saying that it could not connect. I thought that it would be better to wait a configurable amount of time for the simulator to load, so I've added this to the ROS2 bridge. @wouter-heerwegh, could you copy and test the changes for ROS1? Should be quick, the change is really small.

The ROS parameter timeout will control how much time to wait for the RPC server (simulator) to become available

@mateusz-lichota mateusz-lichota added the enhancement New feature or request label Sep 10, 2022
@wouter-heerwegh
Copy link
Member

We should make a new release, #324 broke compatibility between the current master branch and v2.1.0

Copy link
Member

@wouter-heerwegh wouter-heerwegh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in for noetic, seems to work fine

@wouter-heerwegh wouter-heerwegh merged commit 7f52b83 into FS-Driverless:master Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants