GithubHelp home page GithubHelp logo

doublesea / carla-parking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vignif/carla-parking

0.0 0.0 0.0 3.53 MB

carla simulator for autonomous driving research

License: MIT License

CMake 54.51% Python 45.49%

carla-parking's Introduction

Carla parking with ROS

Carla is an open source simulator for autonomous driving research available at http://carla.org/

This package contains an implemantation 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.

Example

this gif shows the implemented routine with a time scale x5

Installation

<catkin_ws> = name of your catkin workspace

cd ~/<catkin_ws>/src

git clone https://github.com/vignif/carla_parking.git

cd ..

catkin_make

Environment for running

run carla with ./CarlaUE4.sh as from https://carla.readthedocs.io/en/latest/start_quickstart/

run carla ros bridge with roslaunch carla_ros_bridge carla_ros_bridge.launch

Running

source devel/setup.bash

rosrun carla_park park.py

Specs

park.py implements a basic parking policy for autonomous cars based on geometric information This script spawns: -one ego vehicle in x=61.4, y=-7.62, z=0.05 -two vehicle inside the parking location a side of the ego vehicle respectively in x=60.4, y=-10.62, z=0.05 and x=47.0, y=-10.62, z=0.05 -a camera attached to the ego vehicle for future sensor based parking policy

all the vehicles are rotated of 180' in order to be correctly in line with the street

tested env:

  1. Ubuntu 18.04.3 LTS
  2. UnrealEngine 4.22
  3. ROS melodic
  4. carla 0.9.7

License

License

MIT license

  • Copyright 2021 © Francesco Vigni

carla-parking's People

Contributors

vignif avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.