Coder Social home page Coder Social logo

hofbi / telecarla Goto Github PK

View Code? Open in Web Editor NEW
44.0 4.0 13.0 854 KB

TELECARLA: An Open Source Extension of the CARLA Simulator for Teleoperated Driving Research Using Off-the-Shelf Components

License: MIT License

Makefile 0.03% CMake 15.88% Python 26.42% Shell 4.36% C++ 52.54% Dockerfile 0.78%
carla-simulator teleoperation gstreamer ros carla-driving-simulator telecarla

telecarla's Introduction

TELECARLA

Actions Status Actions Status pre-commit.ci status Code style: black

TELECARLA is an extension of the CARLA simulator for teleoperated driving. We use GStreamer for compression and transmission of camera data. ROS acts as interface between our framework and CARLA.

TELECARLA

Paper

If you use TELECARLA please cite our paper.

TELECARLA: An Open Source Extension of the CARLA Simulator for Teleoperated Driving Research Using Off-the-Shelf Components, Markus Hofbauer, Christopher B. Kuhn, Goran Petrovic, Eckehard Steinbach; IV 2020 [PDF]

@inproceedings{hofbauer_2020,
    title = {TELECARLA: An Open Source Extension of the CARLA Simulator for Teleoperated Driving Research Using Off-the-Shelf Components},
    booktitle = {31st IEEE Intelligent Vehicles Symposium 2020 (IV)},
    publisher = {IEEE},
    address = {Las Vegas, NV, USA},
    author = {Hofbauer, Markus and Kuhn, Christopher B. and Petrovic, Goran and Steinbach, Eckehard},
    month = {Oct},
    year = {2020},
    pages = {1--6},
}

Setup

TELECARLA so far has been tested on

OS ROS Version
Ubuntu 18.04 Melodic
Ubuntu 20.04 Noetic
  1. Download CARLA
  2. Install ROS and catkin_tools
  3. Create a workspace with e.g. mkdir -p ~/catkin_ws_teleop/src && cd ~/catkin_ws_teleop/src
  4. Clone this repository into the workspace's src folder with git clone https://github.com/hofbi/telecarla.git
  5. Run the install script: ./install.sh
  6. Build the workspace: catkin build
  7. Source your workspace source ~/catkin_ws_teleop/devel/setup.<your_shell>

Run

See the main module for running the application: telecarla

Development

To install the additional tools required for the development, call

python3 -m pip install -r requirements.txt
sudo apt install -y clang-format clang-tidy-10
sudo snap install shfmt

pre-commit git hooks

We use pre-commit to manage our git pre-commit hooks. pre-commit is automatically installed from requirements.txt. To set it up, call

git config --unset-all core.hooksPath  # may fail if you don't have any hooks set, but that's ok
pre-commit install --overwrite

Usage

With pre-commit, you don't use your linters/formatters directly anymore, but through pre-commit:

pre-commit run --file path/to/file1.cpp tools/second_file.py  # run on specific file(s)
pre-commit run --all-files  # run on all files tracked by git
pre-commit run --from-ref origin/master --to-ref HEAD  # run on all files changed on current branch, compared to master
pre-commit run <hook_id> --file <path_to_file>  # run specific hook on specific file

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.