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

AbangLZU/AutowareArchitectureProposal

 
 

Repository files navigation

Autoware (Architecture Proposal)

运行初始化脚本安装ros相关依赖包:

bash setup_env.sh

安装GeographicLib:

git clone git://git.code.sourceforge.net/p/geographiclib/code geographiclib
cd geographiclib
mkdir build && cd build
cmake ..
make -j8
sudo make install 

下载地球重力模型文件(EGM),下载链接: https://pan.baidu.com/s/1QSJ4kuSFWcwJRbf4xOGiOA 密码: 2q66

解压重力模型文件到指定目录:

sudo mkdir -p /usr/local/share/GeographicLib
sudo tar xofjC egm2008-1.tar.bz2  /usr/local/share/GeographicLib

规划层依赖osqp,详细安装文档参考链接:https://osqp.org/docs/get_started/sources.html

git clone --recursive https://github.com/oxfordcontrol/osqp

cd osqp
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=ON
make -j6
sudo make install

编译程序:

catkin build

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.

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) :

Software

  • Ubuntu 18.04
  • Nvidia driver

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

Autoware setup

  1. Clone this repository
git clone https://github.com/tier4/AutowareArchitectureProposal.git
cd AutowareArchitectureProposal/
  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
catkin build --cmake-args -DCMAKE_BUILD_TYPE=Release

Note that the computer need to be connected to Internet to download neural network weight files.

How to run

Simulator

sim

Quick Start

Rosbag

  1. Download sample map from here and extract the zip file.

  2. Download sample rosbag from here.

  3. Launch Autoware

source devel/setup.bash
roslaunch autoware_launch autoware.launch map_path:=[path] rosbag:=true
  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 and extract the zip file.

  2. Launch Autoware

source devel/setup.bash
roslaunch autoware_launch planning_simulator.launch map_path:=[path]
  1. Set initial pose
  2. Set goal pose
  3. Push engage button. autoware_web_controller
Note
  • sample map : © 2020 TierIV inc.

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

  • C++ 69.0%
  • C 25.6%
  • CMake 2.4%
  • Python 1.7%
  • Makefile 0.7%
  • Cuda 0.2%
  • Other 0.4%