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

[Bug] Support custom CARLA traffic manager ports #202

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

pschafhalter
Copy link
Member

Fixes a bug where using a custom port for the CARLA traffic manager would result in the following error:
RuntimeError: trying to create rpc server for traffic manager; but the system failed to create because of bind error.

This error occurs because command.SetAutopilot and ego_vehicle.set_autopilot expect a traffic_manager_port argument which defaults to 8000.

This fix passes the correct traffic manager port as specified in Pylot's flags to these functions.

@pschafhalter pschafhalter changed the title [Bug] Support arbitrary CARLA traffic manager ports [Bug] Support custom CARLA traffic manager ports Jul 7, 2021
@ICGog ICGog merged commit c8fa7b2 into erdos-project:master Jul 7, 2021
@pschafhalter pschafhalter deleted the fix-tm-port branch July 7, 2021 19:56
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