carla simulator for autonomous driving research
Carla is an open source simulator for autonomous driving research available at http://carla.org
Read more on my blog
This package contains an implementation of a rule based parking motion. It is an open-loop approach for the task, given that no information are retrieved from sensors and crashes can occur.
The example spawns 2 cars in predefined positions (leaving enough space between them) and the ego vehicle is blindly controlled to fit the parking spot.
this gif shows the implemented routine with a time scale x5
cd ~/<catkin_ws>/src
git clone https://github.com/vignif/carla_parking.git
cd ..
catkin_make
run carla with ./CarlaUE4.sh
as from https://carla.readthedocs.io/en/latest/start_quickstart
run carla ros bridge withroslaunch carla_ros_bridge carla_ros_bridge.launch
source devel/setup.bash
rosrun carla_park park.py
park.py implements a basic parking policy for autonomous cars based on geometric information
This script spawns:
all the vehicles are rotated 180’ to be correctly in line with the street
tested env: