cxfhai / Autoware

Open-source software for urban self-driving mobility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autoware

Open-source software for urban autonomous driving, maintained by Tier IV. The following functions are supported:

  • 3D Localization
  • 3D Mapping
  • Path Planning
  • Path Following
  • Accel/Brake/Steering Control
  • Data Logging
  • Car/Pedestrian/Object Detection
  • Traffic Signal Detection
  • Traffic Light Recognition
  • Lane Detection
  • Object Tracking
  • Sensor Calibration
  • Sensor Fusion
  • Cloud-oriented Maps
  • Connected Automation
  • Smartphone Navigation
  • Software Simulation
  • Virtual Reality

Autoware is protected by the BSD License. Please use it on at your own discretion. For safe use, we provide a ROSBAG-based simulation method for those who do not own real autonomous vehicles. In case you use Autoware with real autonomous vehicles, please formulate safety measures and assessment of risk before field testing.

Manuals and Documents

Free manuals can be found at https://github.com/CPFL/Autoware-Manuals. You are encouraged to join maintenance of those manuals. Thanks for your cooperation!

See also branching_model for the tips of Autoware development, including the coding style and branching model.

License

  • New BSD License
    • See LICENSE

Spec Recommendation

  • Number of CPU cores: 8
  • RAM size: 32GB
  • Storage size: 30GB

Requirements

  • ROS indigo (Ubuntu 14.04) or ROS jade (Ubuntu 15.04) or ROS kinetic (Ubuntu 16.04)
  • OpenCV 2.4.10 or higher
  • Qt 5.2.1 or higher
  • CUDA(Optional)
  • FlyCapture2 (Optional)
  • Armadillo (Optional)

Please use checkout revision before 2015/OCT/21 if you use Autoware on ROS hydro or Ubuntu 13.04, 13.10.

Install dependencies for Ubuntu 14.04 indigo

% sudo apt-get install ros-indigo-desktop-full ros-indigo-nmea-msgs ros-indigo-nmea-navsat-driver ros-indigo-sound-play ros-indigo-jsk-visualization ros-indigo-grid-map ros-indigo-gps-common
% sudo apt-get install ros-indigo-controller-manager ros-indigo-ros-control ros-indigo-ros-controllers ros-indigo-gazebo-ros-control ros-indigo-sicktoolbox ros-indigo-sicktoolbox-wrapper ros-indigo-joystick-drivers ros-indigo-novatel-span-driver
% sudo apt-get install libnlopt-dev freeglut3-dev qtbase5-dev libqt5opengl5-dev libssh2-1-dev libarmadillo-dev libpcap-dev gksu libgl1-mesa-dev libglew-dev

NOTE: Please do not install ros-indigo-velodyne-pointcloud package. Please uninstall it if you already installed.

Install dependencies for Ubuntu 16.04 kinetic

% sudo apt-get install ros-kinetic-desktop-full ros-kinetic-nmea-msgs ros-kinetic-nmea-navsat-driver ros-kinetic-sound-play ros-kinetic-jsk-visualization ros-kinetic-grid-map ros-kinetic-gps-common
% sudo apt-get install ros-kinetic-controller-manager ros-kinetic-ros-control ros-kinetic-ros-controllers ros-kinetic-gazebo-ros-control ros-kinetic-joystick-drivers
% sudo apt-get install libnlopt-dev freeglut3-dev qtbase5-dev libqt5opengl5-dev libssh2-1-dev libarmadillo-dev libpcap-dev gksu libgl1-mesa-dev libglew-dev python-wxgtk3.0

NOTE: Following packages are not supported in ROS Kinetic.

  • gazebo
  • orb slam
  • dpm ocv

How to Build

$ cd $HOME
$ git clone https://github.com/CPFL/Autoware.git
$ cd ~/Autoware/ros/src
$ catkin_init_workspace
$ cd ../
$ ./catkin_make_release

###Caffe based object detectors CV based detectors RCNN and SSD nodes are not automatically built.

To build these nodes please follow the respective node's README SSD RCNN Yolo2

How to Start

$ cd $HOME/Autoware/ros
$ ./run

For Developers

Be careful when changing files under ros/src/sensing/drivers/lidar/packages/velodyne. There is subtree. The original repository is here. If you change those files from this repository, you must use git subtree push. (Please never change and push code if you don't understand git subtree well).

GitFlow, the git branching model, is used in the Autoware repository.

  • When you adding new features, you can branch off your feature branch from develop.
    you can use the following command.
    $ git checkout -b feature/[your_branch_name] develop
  • When you find bugs in master, you can branch off your hotfix branch from master.
    you can use the following command.
    $ git checkout -b hotfix/[your_branch_name] master

See docs/en/branching_model.md

More details here

Main Packages

Localization

  • ndt_localizer
  • icp_localizer

Detection

  • lidar_tracker
  • cv_tracker
  • road_wizard

Mission (Global) Planning

  • lane_planner
  • way_planner
  • freespace_planner

Motion (Local) Planning

  • astar_planner
  • lattice_planner
  • dp_planner

Vehicle Control

  • waypoint_follower
  • waypoint_maker

Research Papers for Citation

  1. S. Kato, E. Takeuchi, Y. Ishiguro, Y. Ninomiya, K. Takeda, and T. Hamada. "An Open Approach to Autonomous Vehicles", IEEE Micro, Vol. 35, No. 6, pp. 60-69, 2015. Link

Demo Videos

Public Road Demonstration

Public Road Demonstration

Test Field Demonstration

Test Field Demonstration

Instruction Videos

Quick Start

Quick Start

Loading Map Data

Loading Map Data

Localization with GNSS

Localization with GNSS

Localization without GNSS

Localization without GNSS

Mapping

Mapping

Detection with SSD

SSD

Detection with Yolo2

Yolo2

Detection with DPM

DPM

Detection with Euclidean Clustering

Clustering

Traffic Light Recognition

Traffic Light Recognition

Planning with ROSBAG

Planning with ROSBAG

Planning with wf_simulator

Planning with wf_simulator

Planning with Hybrid State A*

Planning with wf_simulator

Calibration Toolkit

Calibration Toolkit

Data Processor for Bag File

Data Processor

Ftrace

Ftrace

Sample Data

3D map of Moriyama in Nagoya

ROSBAG data of Moriyama driving

Script for generating demo launch files of Moriyama

ROSBAG data for Calibration

IROS 2016 Data

ROSBAG data of Nagoya driving

Contact

Autoware Developers (autoware@googlegroups.com)

Autoware Developers Slack Team (https://autoware.herokuapp.com/)

To subscribe to the Autoware Developers mailing list,

About

Open-source software for urban self-driving mobility

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 74.4%Language:C 7.9%Language:Python 7.2%Language:Java 5.6%Language:CMake 2.3%Language:Cuda 1.7%Language:Shell 0.3%Language:Makefile 0.2%Language:MATLAB 0.2%Language:QMake 0.1%Language:Objective-C 0.1%Language:Prolog 0.0%Language:GDB 0.0%