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

Remove useless checkNetwork calls in plugins that do not require the YARP network #177

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

traversaro
Copy link
Member

yarp::os::Network::checkNetwork() check that the yarpserver (the name server related to YARP ports) is available. However, since in gazebo-yarp-plugins we decouple the regular plugin and the YARP network wrapper server, there is no strict requirement anymore for the yarpserver is up, a user could simply run some devices without any yarpserver.

I noticed this as in my machine the ConfigurationParsingTest were segfaulting, until I fixed this. Hopefully this was also the reason why the tests were failing in the macOS CI.

Copy link
Member

@xela-95 xela-95 left a comment

Choose a reason for hiding this comment

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

Thanks a lot @traversaro ! LGTM

@xela-95
Copy link
Member

xela-95 commented Aug 12, 2024

Rebased on main. Merging 🚀

@xela-95 xela-95 merged commit 85ef638 into main Aug 12, 2024
5 checks passed
@xela-95 xela-95 deleted the fixnoyarpserver branch August 12, 2024 11:41
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