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

Load model plugins even after sensor timeout #3154

Merged
merged 2 commits into from
Jan 6, 2022

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Jan 5, 2022

Currently model plugins are not loaded in certain cases if it takes too long to initialize sensors. In #3126, we made the timeout configurable and added a test. This pull request changes the behavior to print an error message if the sensors fail to initialize before the timeout but to load the model plugins anyway.

The test is changed to use a very short timeout, so that we can confirm see the error message and confirm that the model plugins are still loaded.

Currently model plugins are not loaded if the sensor
timeout is exceeded. Instead, an error message is
printed and the plugins are loaded anyway.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@adityapande-1995
Copy link
Contributor

Building and testing locally...

Copy link
Contributor

@adityapande-1995 adityapande-1995 left a comment

Choose a reason for hiding this comment

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

Looks good ! Homebrew failures seem to be unrelated

@scpeters scpeters merged commit 8cddf1d into gazebosim:gazebo11 Jan 6, 2022
@scpeters scpeters deleted the load_plugins_after_timeout branch January 6, 2022 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants