-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix tmp path for extern controllers #6113
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
I can reproduce the test suite failure locally, but it doesn't seem to be related to this PR, as I can also reproduce it on the |
Test suite was broken since #6103 for two reasons:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you.
This update addresses a previously missed case in issue #6103. Specifically, when connecting an external controller and the
WEBOTS_CONTROLLER_URL
is either undefined or only the robot name is provided, the Webots instance information (in particular the port number) needs to be determined. To achieve this, we search for open instances of Webots and select the first available instance. This process relies on the tmp directory, which has undergone changes on Linux and macOS since the implementation of #6103.