运行初始化脚本安装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
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.
- x86 CPU (8 or more cores)
- 16 GB or more of memory
- Nvidia GPU (4GB or more of memory) :
- Ubuntu 18.04
- Nvidia driver
If cuda or tensorRT is already installed, it is recommended to remove it.
- Clone this repository
git clone https://github.com/tier4/AutowareArchitectureProposal.git
cd AutowareArchitectureProposal/
- Run the setup script
./setup_ubuntu18.04.sh
In this step, the following software are installed. Please confirm their licenses before using them.
- 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.
-
Download sample map from here and extract the zip file.
-
Download sample rosbag from here.
-
Launch Autoware
source devel/setup.bash
roslaunch autoware_launch autoware.launch map_path:=[path] rosbag:=true
- Play rosbag
rosbag play --clock [rosbag file] -r 0.2
- 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
- Image data are removed due to privacy concerns.
-
Download sample map from here and extract the zip file.
-
Launch Autoware
source devel/setup.bash
roslaunch autoware_launch planning_simulator.launch map_path:=[path]
- Set initial pose
- Set goal pose
- Push engage button. autoware_web_controller
- sample map : © 2020 TierIV inc.
See here. for more information.