Playground containing code for CARLA Simulator
The following project is designed to showcase useful pieces of code that can interact with CARLA (Open-source simulator for autonomous driving research). The following codes are provided on this playground:
- Show waypoints for a certain route that the car is following. Located in the file called
show-route-path.py
The following codes are provided on this playground:
- Show waypoints for a certain route that the car is following. Located in the file called
show-route-path.py
. This code is a Simple python code that uses CARLA to spawn a vehicle and show projections of the path/route the vehicle is taking. The vehicle is running in autopilot mode, so this basically shows the way points within a certain radius of the cars location. The output is as shown in the gif below:
- Latest CARLA simulator installed (tested on 0.9.12). Link for this release - CARLA 0.9.12 Release
- Python 3.7
- Additional requirements required by the CARLA installation
Running the CARLA server
$ CarlaUE4.exe -carla-server
Running the client side for Showing the route path
$ python show-route-path.py