Giter Site home page Giter Site logo

hlchen1043 / autowareuniverse-carla Goto Github PK

View Code? Open in Web Editor NEW

This project forked from croquembouche/autowareuniverse-carla

0.0 0.0 0.0 40.3 MB

License: MIT License

Shell 0.28% C++ 19.61% Python 6.67% C 33.18% PowerShell 0.06% Makefile 33.07% CMake 7.13%

autowareuniverse-carla's Introduction

Autoware-Carla (BlueICE Baseline)

This Repo creates a default vehicle inside CARLA and publishes the data for Autoware.Universe to use. The Autoware Files needed to correctly run the Co-Sim is here: https://drive.google.com/drive/folders/1EJQ4LxNBwBwqXWHvvh2cltkt-IORBK9z?usp=sharing

How to use?

Setting up CARLA: Version Compatibility: >= 0.9.13

  1. Install CARLA
  2. Ingest map. If CARLA Built from source: https://carla.readthedocs.io/en/0.9.13/tuto_M_add_map_source/; If CARLA Pre-Built: https://carla.readthedocs.io/en/0.9.13/tuto_M_add_map_package/

Setting up Autoware

Install From Source

  1. Download and Install Autoware Universe from the offical documentation: https://github.com/autowarefoundation/autoware
  2. Replace/Merge the Existing Autoware files with files in Google Drive.
  3. Build package

Building this repo

  1. Build package.
  2. If you encounter any errors with building the autoware msgs, runcolcon build --packages-select vehicle

If using Docker/Rocker Container

  1. Terminal command to run docker: rocker --nvidia --x11 williamhecoin/bluebird:blueice
  2. Merge/replace existing autoware files with files in Google Drive.

Running the Co-Sim

  1. Start Carla simulation
  2. source install/setup.bash from both Autoware and this repo
  3. run ros2 launch autoware_launch Bluebird_Carla.launch.xml map_path:=$HOME/autoware_map/ud-modular-lab vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit on the Autoware side
  4. run ros2 run vehicle host_vehicle on this repo's side
  5. You should see a RViz screen with a pointcloud map of the UD Modular Lab, Lanes, and Vehicle pointclouds
  6. Use 2D pose in RViz to supply an initial position
  7. Use 2D Goal Pose To supply a destination.
  8. The vehicle should start moving as soon as a destination is given.

Known Bug

  1. The vehicle should receive commands through /control/command/control_cmd, but it current receives control from /control/trajectory_follower/control_cmd
  2. GNSS Sensor is currently disabled due to it flying around.

If you have further questions, email me at [email protected]

Paper to Cite: Still Under Review

autowareuniverse-carla's People

Contributors

croquembouche 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.