Skip to content

Commit

Permalink
Fixed use of MetricsManager with CARLA Port
Browse files Browse the repository at this point in the history
* fixed the issue by casting port argument to integer
  • Loading branch information
kael53 authored Nov 26, 2020
1 parent f1f7237 commit 137759d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Added a static obstacle evasion OpenSCENARIO scenario
* Added support for OSC Routing options
### :bug: Bug Fixes
* Fixed metrics-manager.py failing to run with port argument
* Fixed exception when using OSC scenarios without EnvironmentAction inside Storyboard-Init
* Fixed bug causing the TrafficManager to not be correctly updated at asynchronous simualtions
* Fixed shutdown issue in ScenarioRunner causing to not switch to asynchronous mode
Expand Down
2 changes: 1 addition & 1 deletion metrics_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _get_recorder(self, log):
"""

# Get the log information.
self._client = carla.Client(self._args.host, self._args.port)
self._client = carla.Client(self._args.host, int(self._args.port))
recorder_file = "{}/{}".format(os.getenv('SCENARIO_RUNNER_ROOT', "./"), log)

# Check that the file is correct
Expand Down

0 comments on commit 137759d

Please sign in to comment.