Skip to content

Commit

Permalink
apply relevant review points
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Haas committed Jan 30, 2024
1 parent ab86ba5 commit 577cf1d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 18 deletions.
18 changes: 18 additions & 0 deletions CARLOS_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Latest : 1.0.0

## 1.0.0 - Initial Release

- GitHub workflow to automatically build Docker images
- update to CARLA 0.9.15
- update to Ubuntu 22.04 and Python3.10 including corresponding pip versions

### Major changes

* Created GitHub workflow to automatically build Docker images using [docker-ros](https://github.com/ika-rwth-aachen/docker-ros)
* Update to [CARLA 0.9.15](https://carla.org/2023/11/10/release-0.9.15/)
* Update to Ubuntu 22.04 and Python 3.10 including corresponding pip versions

### Minor changes

* Small fixes related to version updates
* Move original Docker related content to `docker_original_folder/`
10 changes: 0 additions & 10 deletions FEATURES.md

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
</p>

> [!IMPORTANT]
> This repository is a minimal fork of the official [scenario_runner](https://github.com/carla-simulator/scenario_runner)! All modifications to the original repository are documented in [FEATURES.md](./FEATURES.md).
> This repository is a minimal fork of the official [scenario_runner](https://github.com/carla-simulator/scenario_runner)! All initial and following modifications to the original repository are documented in [CARLOS_CHANGELOG.md](./CARLOS_CHANGELOG.md).
> [!TIP]
> We recommend to use the *carla-scenario-runner* as **control actor** in our open, modular and scalable simulation framework <a href="https://github.com/ika-rwth-aachen/carlos">**CARLOS**. <img src="https://img.shields.io/github/stars/ika-rwth-aachen/carlos?style=social"/></a>
>
> The *carla-scenario-runner* is used to enable scenario-based testing and evaluation. It is a powerful engine that follows the OpenSCENARIO standard for scenario definitions.
> [!NOTE]
> We set up a Continous Integration (CI) pipeline as [GitHub action](./github/workflows/docker.yml) to continously build Docker images for the `carla-scenario-runner`, publicly available on [Docker Hub](https://hub.docker.com/r/rwthika/carla-scenario-runner).
> We set up a Continous Integration (CI) pipeline as [GitHub workflow](./github/workflows/docker.yml) to continously build Docker images for the `carla-scenario-runner`, publicly available on [Docker Hub](https://hub.docker.com/r/rwthika/carla-scenario-runner).
---
---
Expand Down
5 changes: 1 addition & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG UBUNTU_VERSION="22.04"


############ dependencies ############
FROM "ubuntu:${UBUNTU_VERSION}" as dependencies
FROM "ubuntu:${UBUNTU_VERSION}"

USER root
SHELL ["/bin/bash", "-c"]
Expand Down Expand Up @@ -45,9 +45,6 @@ RUN echo "export PYTHONPATH=\$PYTHONPATH:$CARLA_API_PATH/carla/dist/$(ls $CARLA_
echo "export CARLA_API_PATH=$CARLA_API_PATH" >> /setup_carla_env.sh; \
echo "source /setup_carla_env.sh" >> ~/.bashrc

############ final ############
FROM dependencies as final

# Needed for (pygame based) scripts that have a GUI
ENV SDL_VIDEODRIVER=x11

Expand Down
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 CarlaAutopilot(BasicControl):
class CarlaAutoPilotControl(BasicControl):

"""
Controller class for vehicles derived from BasicControl.
Expand All @@ -33,7 +33,7 @@ class CarlaAutopilot(BasicControl):
"""

def __init__(self, actor, args=None):
super(CarlaAutopilot, self).__init__(actor)
super(CarlaAutoPilotControl, self).__init__(actor)
self._actor.set_autopilot(enabled=True)

def reset(self):
Expand Down

0 comments on commit 577cf1d

Please sign in to comment.