Skip to content

This is the source code of the feasibility study for Autoware architecture proposal.

Notifications You must be signed in to change notification settings

fred-apex-ai/AutowareArchitectureProposal

 
 

Repository files navigation

Autoware (Architecture Proposal)

meta-repository for Autoware architecture proposal version

autoware

What's this

This is the source code of the feasibility study for Autoware architecture proposal.

WARNING: This source is solely for demonstrating an architecture proposal. It should not be used to drive cars.

NOTE: The features in autoware.iv.universe will be merged into Autoware.Auto.

Architecture overview is here.

How to setup

Requirements

Hardware

  • x86 CPU (8 or more cores)
  • 16 GB or more of memory
  • Nvidia GPU (4GB or more of memory)

If cuda or tensorRT is already installed, it is recommended to remove it.

Software

  • Ubuntu 18.04
  • Nvidia driver

If cuda or tensorRT is already installed, it is recommended to remove it.

How to setup

  1. Set up the repository

If ROS hasn't been installed yet in PC, at first run commands of 1.2 ~ 1.4, described in ROS wiki.

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update

Set up the repository

sudo apt install -y python3-vcstool
git clone [email protected]:tier4/AutowareArchitectureProposal.git
cd AutowareArchitectureProposal
mkdir -p src
vcs import src < autoware.proj.repos
  1. Run the setup script
./setup_ubuntu18.04.sh

In this step, the following software are installed.
Please confirm their licenses before using them.

  1. Build the source
source ~/.bashrc
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --catkin-skip-building-tests

How to configure

Set hardware configuration

Prepare launch files and vehicle_description according to the sensor configuration of your hardware.
The following are the samples.

How to run

Supported Simulations

sim

Quick Start

Rosbag

  1. Download sample map from here.

  2. Download sample rosbag from here.

  3. Launch Autoware

cd AutowareArchitectureProposal
source install/setup.bash
roslaunch autoware_launch logging_simulator.launch map_path:=[path] vehicle_model:=lexus sensor_model:=aip_xx1 rosbag:=true

* Absolute path is required for map_path.

  1. Play rosbag
rosbag play --clock [rosbag file] -r 0.2
Note
  • sample map : © 2020 TierIV inc.
  • rosbag : © 2020 TierIV inc.
    • Image data are removed due to privacy concerns.
      • Cannot run traffic light recognition
      • Decreased accuracy of object detection

Planning Simulator

  1. Download sample map from here.

  2. Launch Autoware

cd AutowareArchitectureProposal
source install/setup.bash
roslaunch autoware_launch planning_simulator.launch map_path:=[path] vehicle_model:=lexus sensor_model:=aip_xx1

* Absolute path is required for map_path.

  1. Set initial pose
  2. Set goal pose
  3. Push engage button. autoware_web_controller
Note
  • sample map : © 2020 TierIV inc.

Running With AutowareAuto

We are planning propose the architecture and reference implementation to AutowareAuto. For the time being, use ros_bridge if you wish to use this repository with AutowareAuto modules. You would have to do the message type conversions in order to communicate between AutowareAuto and AutowareArchitectureProposal modules until the architecture is aligned.

For setting up AutowareAuto, please follow the instruction in: https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto

For setting up ros_bridge, please follow the instruction in: https://github.com/ros2/ros1_bridge

Tutorial in detail

See here. for more information.

References

Videos

Credits

About

This is the source code of the feasibility study for Autoware architecture proposal.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 91.1%
  • Python 8.9%