Skip to content

Commit

Permalink
Rename carla autopilot class (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt Haas <[email protected]>
  • Loading branch information
BenediktHaas96 and Benedikt Haas authored Feb 2, 2024
1 parent f910886 commit e7a22c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CARLOS_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions srunner/scenariomanager/actorcontrols/carla_autopilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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):
Expand Down

0 comments on commit e7a22c6

Please sign in to comment.