diff --git a/Docs/CHANGELOG.md b/Docs/CHANGELOG.md index 26675d234..f1c755e08 100644 --- a/Docs/CHANGELOG.md +++ b/Docs/CHANGELOG.md @@ -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 diff --git a/metrics_manager.py b/metrics_manager.py index cf1c8ce78..3cdea4c4b 100644 --- a/metrics_manager.py +++ b/metrics_manager.py @@ -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