From cdfd8db61eaabae267adf01661849c8e5458e2b1 Mon Sep 17 00:00:00 2001 From: Benedikt Haas Date: Fri, 2 Feb 2024 15:29:28 +0100 Subject: [PATCH] rename carla autopilot class --- CARLOS_CHANGELOG.md | 2 ++ srunner/scenariomanager/actorcontrols/carla_autopilot.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CARLOS_CHANGELOG.md b/CARLOS_CHANGELOG.md index 8361d0f25..361487ae5 100644 --- a/CARLOS_CHANGELOG.md +++ b/CARLOS_CHANGELOG.md @@ -9,3 +9,5 @@ * Update to Ubuntu 22.04 and Python 3.10 including corresponding pip versions ### Minor changes + +* Small fix related to CARLA autopilot diff --git a/srunner/scenariomanager/actorcontrols/carla_autopilot.py b/srunner/scenariomanager/actorcontrols/carla_autopilot.py index 5b030119f..37dfdcdf2 100644 --- a/srunner/scenariomanager/actorcontrols/carla_autopilot.py +++ b/srunner/scenariomanager/actorcontrols/carla_autopilot.py @@ -18,7 +18,7 @@ from srunner.scenariomanager.actorcontrols.basic_control import BasicControl -class CarlaAutoPilotControl(BasicControl): +class CarlaAutopilot(BasicControl): """ Controller class for vehicles derived from BasicControl. @@ -33,7 +33,7 @@ class CarlaAutoPilotControl(BasicControl): """ def __init__(self, actor, args=None): - super(CarlaAutoPilotControl, self).__init__(actor) + super(CarlaAutopilot, self).__init__(actor) self._actor.set_autopilot(enabled=True) def reset(self):