Coder Social home page Coder Social logo

ajay1606 / aa274_autoware_ws Goto Github PK

View Code? Open in Web Editor NEW

This project forked from virtual-vehicle/aa274_autoware_ws

0.0 1.0 0.0 6.92 MB

Hands-On example code for Sensor Fusion and Autonomous Driving Stack based on Autoware

Shell 0.89% CMake 4.29% Python 5.34% C++ 58.97% C 30.51%

aa274_autoware_ws's Introduction

Autoware "Hands-On"

Stanford Lecture AA274 / Graz University of Technology

Autonomous Racing Graz / Localization

M. Schratter, J. Zubaca, K. Mautner-Lassnig, T. Renzler, M. Kirchengast, S. Loigge, M. Stolz and D. Watzenig, Lidar-based Mapping and Localization for Autonomous Racing, Opportunities and Challenges with Autonomous Racing, ICRA, 2021.

Preconditions

Install Autoware.AI by source

(https://gitlab.com/autowarefoundation/autoware.ai/autoware/wikis/Source-Build)

Installation of required packages

sudo apt update
sudo apt install -y python-catkin-pkg python-rosdep ros-$ROS_DISTRO-catkin python-catkin-tools
sudo apt install -y python3-pip python3-colcon-common-extensions python3-setuptools python3-vcstool
sudo apt install ros-$ROS_DISTRO-lanelet2-*
sudo apt install -y git-lfs
pip3 install -U setuptools

Create workspace for Autoware.AI

mkdir -p ~/ros/autoware.ai/src
cd ~/ros/autoware.ai

Download the workspace configuration for Autoware.AI

wget -O autoware.ai.repos "https://raw.githubusercontent.com/Autoware-AI/autoware.ai/1.14.0/autoware.ai.repos?inline=false"

Download Autoware.AI repositories into the workspace, install dependencies using rosdep and compile it

vcs import src < autoware.ai.repos
rosdep update
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
catkin build --cmake-args -DCMAKE_BUILD_TYPE=Release

Install workspace for AA274 lecture

Clone repository

git clone https://github.com/virtual-vehicle/aa274_autoware_ws.git ~/ros/aa274_autoware_ws
cd ~/ros/aa274_autoware_ws
source ~/ros/autoware.ai/devel/setup.bash
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO

Setup for environment which includes several aliases, environment variables, and sources

./setup_environment.sh

Build the workspace

Close and open a new terminal to source the Autoware.AI components!

cd ~/ros/aa274_autoware_ws
catkin build

Extract recorded data from the racetrack

cd ~/ros/aa274_autoware_ws/src/arg_localization/arg_data_croix_en_ternois/bagfile
tar -xvf devbot_lap0.tar.xz

Demo Localization

Terminal 1:

roscore 

Terminal 2:

GPS-based localization

roslaunch arg_launch Devbot_localization.launch

or Lidar-based localization

roslaunch arg_launch Devbot_localization.launch lidar_localization:=true

Terminal 3:

roslaunch arg_launch Play_rosbag.launch

You must hit the space key to start to play the rosbag.

Possible modifications can be performed:

Demo Path Planning

Terminal 1:

roslaunch vifware_launch simulation.launch

aa274_autoware_ws's People

Contributors

markusschratter avatar

Watchers

James Cloos 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.