├── .gitignore ├── README.md ├── en ├── Autoware_QuickStart_v1.1.pdf ├── Autoware_TierIV_Academy_v1.1.pdf ├── Autoware_UsersManual_v1.1.md ├── Autoware_UsersManual_v1.1.pdf ├── README.md ├── docx │ ├── Autoware_UsersManual_v1.1.docx │ └── README.md ├── imgs │ ├── fig1.png │ ├── fig10.png │ ├── fig11.png │ ├── fig12.png │ ├── fig13.png │ ├── fig14.png │ ├── fig15.png │ ├── fig16.png │ ├── fig17.png │ ├── fig18.png │ ├── fig19.png │ ├── fig2.png │ ├── fig20.png │ ├── fig21.png │ ├── fig22.png │ ├── fig23.png │ ├── fig24.png │ ├── fig25.png │ ├── fig26.png │ ├── fig27.png │ ├── fig28.png │ ├── fig29.png │ ├── fig3.png │ ├── fig30.png │ ├── fig31.png │ ├── fig32.png │ ├── fig33.png │ ├── fig34.png │ ├── fig4.png │ ├── fig5.png │ ├── fig6.png │ ├── fig7.png │ ├── fig8.png │ └── fig9.png ├── pdfs │ └── ground_filter.pdf └── pptx │ ├── Autoware_QuickStart_v1.1.pptx │ └── README.md └── jp ├── Autoware_DevelopersManual_v0.9JP.pdf ├── Autoware_GettingStarted_v0.1JP.pdf ├── Autoware_QuickStart_v1.1JP.pdf ├── Autoware_UsersManual_v1.0JP.pdf ├── README.md ├── docx ├── Autoware_DevelopersManual_v0.9JP.docx ├── Autoware_UsersManual_v1.0JP.docx └── README.md └── pptx ├── Autoware_GettingStarted_v0.1JP.pptx ├── Autoware_QuickStart_v1.1JP.pptx └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Autoware-Manuals 2 | Free manuals for Autoware. You are encouraged to join their maintenance! 3 | 4 | ## en/\*.pdf and jp/\*.pdf 5 | 6 | PDF manuals in English and Japanese, respectively. 7 | 8 | ## en/pptx/* and jp/pptx/* 9 | 10 | PowerPoint files that generate corresponding PDF manuals. 11 | 12 | ## en/docx/* and jp/pptx/* 13 | 14 | Word files that generate corresponding PDF manuals. 15 | -------------------------------------------------------------------------------- /en/Autoware_QuickStart_v1.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/Autoware_QuickStart_v1.1.pdf -------------------------------------------------------------------------------- /en/Autoware_TierIV_Academy_v1.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/Autoware_TierIV_Academy_v1.1.pdf -------------------------------------------------------------------------------- /en/Autoware_UsersManual_v1.1.md: -------------------------------------------------------------------------------- 1 | # Nagoya University 2 | 3 | # Autoware User’s Manual - Document Version 1.1 4 | 5 | ## For Autoware *ver.2016.Sep.12* 6 | 7 | ## Table of contents 8 | 9 | 1. [*About This Document*](#chapter-1---about-this-document) 10 | 2. [*ROS and Autoware*](#chapter-2---ros-and-autoware) 11 | - [*Robot middleware - ROS*](#robot-middleware---ros) 12 | - [*ROS Features*](#ros-features) 13 | - [*Autoware*](https://github.com/khanhgithead/Autoware-Manuals/blob/markdown/en/Autoware_UsersManual_v1.1.md#autoware) 14 | - [*3-D Map Generation and Sharing*](#3-d-map-generation-and-sharing) 15 | - [*Localization(NDT:Normal Distributions Transform)*](#localization-ndtnormal-distributions-transform) 16 | - [*Object Detection*](#object-detection) 17 | - [*Route Generation*](#path-generation) 18 | - [*Autonomous Driving*](#autonomous-driving) 19 | - [*User Interface*](#user-interface) 20 | - [*Platform structure for Autoware*](#platform-structure-for-autoware) 21 | - [*Perception/Recognition*](#perceptionrecognition) 22 | - [*Judgement/Operation/Localization*](#judgementoperationlocalization) 23 | - [*Path Planning*](#path-planning) 24 | - [*Data Loading (3-D Map, Database, Files)*](#data-loading-3-d-map-database-files) 25 | - [*Device Drivers and Sensor Fusion*](#device-drivers-and-sensor-fusion) 26 | - [*Interface for Smart Phone Applications*](#interface-for-smart-phone-applications) 27 | - [*Utilities and Others*](#utilities-and-others) 28 | 3. [*Operating Autoware*](#chapter-3---operating-autoware) 29 | - [*Preparations*](#preparations) 30 | - [*Demo Data*](#demo-data) 31 | - [*Runtime Manager Launching*](#runtime-manager-launching) 32 | - [*RViz Configuration*](#rviz-configuration) 33 | - [*Operating Quick Start*](#operating-quick-start) 34 | - [*Load map(Quick Start)*](#load-map-quick-start) 35 | - [*Load driver(Quick Start)*](#load-driver-quick-start) 36 | - [*Autoware Main Functions*](#autoware-main-functions) 37 | - [*Localization(NDT:Normal Distributions Transform)*](#localization-ndtnormal-distributions-transform-1) 38 | - [*Object Detection*](#object-detection-1) 39 | - [*Path Planning*](#path-planning-1) 40 | - [*Path Following*](#path-following) 41 | - [*Dynamic Map*](#dynamic-map) 42 | - [*AutowareRider*](#autowarerider) 43 | - [*AutowareRoute*](#autowareroute) 44 | - [*Features*](#features) 45 | - [*AutowareRider Launching*](#autowarerider-launching) 46 | - [*Path Planning Application Usage*](#path-planning-application-usage) 47 | - [*Send Path data to ROS PC*](#send-path-data-to-ros-pc) 48 | - [*CAN Collection Application Usage Data*](#can-collection-application-usage-data) 49 | - [*Send CAN Data to a ROS PC*](#send-can-data-to-a-ros-pc) 50 | - [*Start Launch File*](#start-launch-file) 51 | 4. [*Autoware User Interface Details*](#chapter-4---autoware-user-interface-details) 52 | - [*Runtime Manager*](#runtime-manager) 53 | - [*Runtime Manager – Quick Start Tab*](#runtime-manager-quick-start-tab) 54 | - [*Runtime Manager – Setup Tab*](#runtime-manager-setup-tab) 55 | - [*Runtime Manager – Map Tab*](#runtime-manager-map-tab) 56 | - [*Runtime Manager – Sensing Tab*](#runtime-manager-sensing-tab) 57 | - [*Runtime Manager – Computing Tab*](#runtime-manager-computing-tab) 58 | - [*Runtime Manager – Interface Tab*](#runtime-manager-interface-tab) 59 | - [*Runtime Manager – Database Tab*](#runtime-manager-database-tab) 60 | - [*Runtime Manager – Simulation Tab*](#runtime-manager-simulation-tab) 61 | - [*Runtime Manager – Status Tab*](#runtime-manager-status-tab) 62 | - [*Runtime Manager - Topics Tab*](#runtime-manager---topics-tab) 63 | - [*ROSBAG Record Dialog*](#rosbag-record-dialog) 64 | - [*RViz* **エラー! ブックマークが定義されていません。**](#_Toc464046987) 65 | - [*AutowareRider*](#autowarerider-1) 66 | - [*AutowareRoute*](#autowareroute-1) 67 | 5. [*System Setup*](#chapter-5---system-setup) 68 | - [*Installation*](#installation) 69 | - [*OS*](#os) 70 | - [*ROS*](#ros) 71 | - [*OpenCV*](#opencv) 72 | - [*CUDA(if necessary)*](#cudaif-necessary) 73 | - [*FlyCapture(if necessary)*](#flycaptureif-necessary) 74 | - [*Autoware*](#autoware-1) 75 | - [*AutowareRider(if necessary)*](#autowarerider-if-necessary) 76 | - [*canlib(if necessary)*](#canlibif-necessary) 77 | - [*SSH Public Key Generation(if necessary)*](#ssh-public-key-generationif-necessary) 78 | 6. [*Terminology*](#chapter-6---terminology) 79 | 7. [*Related Documents*](#chapter-7---related-documents) 80 | 81 | 82 | # Chapter 1 - About This Document 83 | 84 | *This chapter describes the purpose of this document.* 85 | 86 | There are two documents provided by Nagoya University: 87 | 88 | - Autoware User’s Manual 89 | - Autoware Developer’s Manual 90 | 91 | # Chapter 2 - ROS and Autoware 92 | 93 | *Before operating Autoware, ROS and Autoware are described in this chapter.* 94 | 95 | ## Robot middleware - ROS 96 | 97 | Recently, the wide range potential of robotics has been focused by not only robotics experts but also non-robotics experts to join robot development. It is believed that this trend leads robotics to advancement and developments to other domains. However, robot development is getting harder because the advancement and the complexity of robot functions have been increased. Unlike PCs and smartphones, robotic development has considered various hardware, OS, programming languages. Hence, the differences have mainly been obstructed for robotic developers as well as robotics experts to join robot development. 98 | 99 | To solve the problem, the demand of making common platforms has been increased, and some platforms have been published. Within a common platform, developers can combine various software published by other developers, and speed up development by reusing them. Therefore, it is expected that developers can more focus on fields of interest. 100 | 101 | ROS (Robot Operating System) is a framework for robotic software development. It was developed by [Willow Garage](https://en.wikipedia.org/wiki/Willow_Garage) in U.S. OSFR (Open Source Robotics Foundation) has currently maintained it. The open sourced ROS has mainly been used by communities in U.S. and Europe as well as communities in Japan. 102 | 103 | Note that ROS has “OS” in its name, however, it is not “OS” like Windows or Linux. It is a middleware that runs on UNIX based OS. 104 | 105 | ### ROS Features 106 | 107 | 1. *Library and tools*. ROS provides library and tools for robotic software development. The primary libraries and tools are listed as follows: 108 | - Original build system (Catkin) 109 | - Image processing library (OpenCV) 110 | - Data logging tool (ROSBAG) 111 | - Visualization tools for data and software state (RViz) 112 | - Coordinate transformation library (TF) 113 | - Qt based GUI development tool (RQT) 114 | 115 | 2. *Inter-process communication*. ROS uses *message passing* with topics of publish/subscribe form for inter-module connection/cooperation frameworks. Here, message passing is an inter-process communication mechanism in which a sender can send data to one or more receivers. This feature enables us to design distribution systems. In ROS, processes called *node* are launched and each node is run independently. In communication between nodes, by following the publish/subscribe scheme, a node writes messages (publish) into a topic and another node reads the messages (subscribe) of the topic. 116 | 117 | 3. File components 118 | - *bag file (ROSBAG)*. In ROS, all the messages of topics are recorded and time-stamped into a .bag file called *ROSBAG*. This file can be used for replaying the messages on RViz as same timing as recording. In robotic development, it is difficult to synchronize and analyze the interactions with multiple sensors at the same time, but ROS enables efficient analysis and debugging robotic systems. In addition, since the recorded messages can be replayed repeatedly, this feature allows developers to debug their systems without actual sensors. 119 | - *Launch file*. A “Launch” file is used to start multiple nodes at the same time. The launch file contains the nodes to be started and their parameters written in XML format. 120 | 121 | ## Autoware 122 | 123 | Autoware is open source software based on ROS. Autoware is pushed on Github for autonomous driving research and development. Most of autonomous driving system consist of *recognition*, *judgment*, and *operation*. Autoware provides necessary functions, such as 3-D map generation, localization, object recognition, and vehicle control, for autonomous driving. 124 | 125 | ![Figure 1 - Autoware Overview](/en/imgs/fig1.png) 126 | 127 | Autoware uses LIDAR (Light Detection and Ranging) and on-vehicle cameras to localize the ego-car position. In addition, Autoware can detect surrounding objects, such as pedestrians, vehicles, traffic lights etc., by using LIDAR and GNSS (Global Navigation Satellite System). The making judgments of driving/stopping at lanes or intersections are performed with an embedded multi-core CPU. Operations of controlling vehicle behaviors utilize conventional on-vehicle control mechanism, while support systems such as driving assistance and safety diagnosis support, use multi-core CPU. 128 | 129 | ### 3-D Map Generation and Sharing 130 | 131 | The most notable feature of Autoware is the fact that the autonomous driving of Autoware uses a 3-D map. The 3-D map, unlike 2-D maps used in car navigation system, is a map including various information, such as roads and all the still objects around the roads. The 3-D map will play a critical role in deploying autonomous driving into the real world. 132 | Autoware localizes the position of the ego-vehicle by matching the 3-D map loaded into the PC with the surrounding information captured by the LIDAR on the roof. The precision of localization is approximately 10cm, which number indicates far higher precision than GPS. 133 | 134 | As of Sep. 2015, the 3-D map covers the only limited area. If the ego-vehicle with Autoware enters into the area without the 3-D map, Autoware can generate a 3-D map in real-time from the information captured by LIDAR.The generated 3-D map in this way not only can be utilized for the developers using Autoware, but also it can be uploaded and shared on the Nagoya University servers. The feature enables online updating of the 3-D map. This mechanism allows for creating the 3-D map including every nook and corner of the city, such as tiny alleys that the specialized vehicles for 3-D mapping can not enter. In addition, the geographic data from the 3-D map can generate a 3-D map of vector format. 135 | 136 | ### Localization (NDT:Normal Distributions Transform) 137 | 138 | The position of the ego-vehicle can be located by scan matching based on the NDT algorithm with the 3-D map of PCD (Point Cloud Data) format and LIDAR data. The position error of localization is around 10cm. 139 | 140 | ### Object Detection 141 | 142 | DPM (Deformable Part Models) algorithms can detect cars, pedestrians and traffic lights from camera images. Tracking using Kalman filter can be implemented and it improves detection accuracy. Fusing 3-D LIDAR data can obtain the distances of the detected objects. Traffic lights detection is conducted as following steps. First, the 3-D positions of 143 | traffic lights are calculated by using the localization result and the high-definition 3-D map. Next, the 3-D positions of traffic lights are projected on camera images by sensor fusion. Then, traffic light colors are recognized by image processing. 144 | 145 | ### Path Generation 146 | 147 | AutowareRoute (a route data generation application using MapFan) generates a path to the selected destination. Then, autonomous driving system determines the lanes on the path. The path data generation application is provided as a car navigation of smartphone. The trajectories in the lanes are calculated kinematically. 148 | 149 | ### Autonomous Driving 150 | 151 | The generated path includes appropriate speed information. Autonomous driving system uses it as the target speed. In addition, the route includes landmarks, “way point”, set at 1m intervals. The autonomous driving system operates “path following” by following the way points. Referring near way points on curves and distant way points on straights stabilizes autonomous driving. If ego-vehicle deviates from the route, the system aims to the vicinity point and back to the target route. Note that the safest path is selected by the driving system. 152 | 153 | ### User Interface 154 | 155 | A user interface called “Runtime Manager” of Autoware enables developers to operate functions, such as localization, object detection, and path following, easily. In addition, RViz can integrate and visualize localization on 3-D map, object detection, path planning, and path following. Furthermore, a tablet user interface, “AutowareRider”, of Autoware enables navigation, path planning, transition to autonomous driving mode and etc., on tables, easily. Moreover, Autoware can visualize 3-D map used in autonomous driving system and project it on on-vehicle displays and Oculus devices. 156 | 157 | ![Figure 2 - User Interface](/en/imgs/fig2.png) 158 | 159 | ## Platform structure for Autoware 160 | 161 | Autoware is an application using ROS and ROS only works on Unix-based platforms. Figure 3 illustrates the overall system structure for Autoware. 162 | 163 | ![Figure 3 - Platform Stucture for Autoware](/en/imgs/fig3.png) 164 | 165 | ### Perception/Recognition 166 | 167 | ```shell 168 | ros/src/computing/perception/detection 169 | ``` 170 | The figure to be updated (tmp) 171 | 172 | ![Figure 4 - Perception and Recognition](/en/imgs/fig4.png) 173 | 174 | ### Judgement/Operation/Localization 175 | ```shell 176 | ros/src/computing/perception/localization 177 | ``` 178 | ![Figure 5 - Judgement, Operation, and Localization](/en/imgs/fig5.png) 179 | 180 | ### Path Planning 181 | ```shell 182 | ros/src/computing/planning 183 | ``` 184 | The figure to be updated (tmp) 185 | 186 | ![Figure 6 - Path Planning](/en/imgs/fig6.png) 187 | 188 | ### Data Loading (3-D Map, Database, Files) 189 | ```shell 190 | ros/src/data 191 | ``` 192 | ![Figure 7 - Data Loading](/en/imgs/fig7.png) 193 | 194 | ### Device Drivers and Sensor Fusion 195 | ```shell 196 | ros/src/sensing/drivers & ros/src/sensing/fusion 197 | ``` 198 | The figure to be updated (tmp) 199 | 200 | ![Figure 8 - Device Drivers and Sensor Fusion](/en/imgs/fig8.png) 201 | 202 | ### Interface for Smart Phone Applications 203 | ```shell 204 | ros/src/socket 205 | ``` 206 | The figure to be updated (tmp) 207 | 208 | ![Figure 9 - Interface for Smart Phone Applications](/en/imgs/fig9.png) 209 | 210 | ### Utilities and Others 211 | ```shell 212 | ros/src/util/ # Runtime Manager, sample data, pseudo-drivers 213 | ui/tablet/ # Smart phone applications 214 | vehicle/ # Vehicle control, vehicle data acquisition 215 | ``` 216 | 217 | # Chapter 3 - Operating Autoware 218 | 219 | *The main function operations of Autoware are described in this chapter. This description assumes operating by Runtime Manager. Please refer Chapter 4 for user inter face details.* 220 | 221 | ## Preparations 222 | 223 | Main functions of Autoware can easily be operated by Quick Start tab in Runtime Manager. Nagoya University has provided sample demo data for Quick Start. Preparation for the demo is described in the following sections. 224 | 225 | ### Demo Data 226 | 227 | Operations by Quick Start tab in Runtime Manager are described in this section. Here, it is assumed that the required data is put in \~/.autoware/data. 228 | 229 | 1. *Download*. Download the demo data from the following sites, and put them in \~/.autoware/data 230 | 231 | - Script for generating launch files 232 | [*http://db3.ertl.jp/autoware/sample\_data/my\_launch.sh*](http://db3.ertl.jp/autoware/sample_data/my_launch.sh) 233 | Data of map (Moriyama area), calibration and route 234 | [*http://db3.ertl.jp/autoware/sample\_data/sample\_moriyama\_data.tar.gz*](http://db3.ertl.jp/autoware/sample_data/sample_moriyama_data.tar.gz) 235 | ROSBAG data 236 | [*http://db3.ertl.jp/autoware/sample\_data/sample\_moriyama\_150324.tar.gz*](http://db3.ertl.jp/autoware/sample_data/sample_moriyama_150324.tar.gz) 237 | ROSBAG data does not contain video data for object detection. 238 | 239 | 2. *Extraction*. Extract the downloaded data to \~/.autoware/ by the following command: 240 | ```shell 241 | $ tar xfz sample\_moriyama\_data.tar.gz -C ~/.autoware/ 242 | ``` 243 | 3. *Launch script*. Run the following script to generate lacunh files for playing demo by Qutick Start tab. 244 | ```shell 245 | $ sh my_launch.sh 246 | ``` 247 | 4. *Launch files to be generated*. 248 | ```shell 249 | my_map.launch # Load maps 250 | my_sensing.launch # Load drivers 251 | my_localization.launch # Localization 252 | my_detection.launch # Object detection 253 | my_mission_planning.launch # Path planning 254 | my_motion_planning.launch # Path following 255 | ``` 256 | 257 | 5. *If you want to generate launch files to other directories*. If you want to generate launch files in other directories, specify the path as an argument for launching the script. Example: if you put the data in 258 | ``` shell 259 | ~/.autoware/data/quick_start/ROSBAG_sample/ 260 | ``` 261 | 262 | ### Runtime Manager Launching 263 | 264 | 1. Runtime Manager can be launched by double-clicking `Autoware/ros/run` in ROS PC. Alternatively, it can be launched by `./run` on a terminal. The run file contains shell scripts. Starting run, two terminals are launched. The one is for roscore, the other is for the output of runtime manager. 265 | 266 | 2. Enter login password and press \[OK\] on the displayed password dialog. 267 | 268 | ![Figure 10 - Password Dialog for Administrative Privileges](/en/imgs/fig10.png) 269 | 270 | ### RViz Configuration 271 | 272 | 1. Launch RViz by pressing \[RViz\] on the right-bottom in Runtime Manager. 273 | 274 | Select \[File\] - \[Open Config\] in the \[RViz\] menu. 275 | 276 | Select the following Config file and press \[Open\] on the dialog displayed by pressing \[Choose a file to open\]. 277 | Autoware/ros/src/.config/RViz/default.RViz 278 | 279 | ## Operating Quick Start 280 | 281 | Steps of main function operations of Autoware by Quick Start in Runtime Manager are described in the following sections. 282 | 283 | ### Load map (Quick Start) 284 | 285 | 1. Load 3-D map (Point Cloud) and Vector map (Vector Map) 286 | Specify the `my_map.launch` generated in the *Demo Data* section to the file selection dialog of \[Map\] in the \[Quick Start\] tab and press Map. 287 | 288 | ### Load driver (Quick Start) 289 | 290 | 1. Specify the `my_sensing.launch` generated in the *Demo Data* section to the file selection dialog of \[Sensing\] in the \[Quick Start\] tab and press Sensing. 291 | 292 | ## Autoware Main Functions 293 | 294 | ### Localization (NDT:Normal Distributions Transform) 295 | 296 | How to use a ROSBAG is described in this section. 297 | 298 | 1. Specify the following ROSBAG by the file selection dialog in \[Simulation\] tab, and press \[Play\]. Press \[Pause\] to suspend ROSBAG immediately. 299 | 300 | ```shell 301 | ~/.autoware/sample_moriyama_150324.bag 302 | ``` 303 | 304 | 2. Specify the my\_map.launch generated in the Demo Data section to the file selection dialog of \[Map\] in the \[Quick Start\] tab, and press Map. 305 | 306 | 3. Specify the my\_localization.launch generated in the Demo Data section to the file selection dialog of \[Localization\] in the \[Quick Start\] tab, and press \[Localization\]. 307 | 308 | 4. Pressing \[Pause\] in the \[Simulation\] tab to resume the ROSBAG, a map is displayed. If NDT is run, the results are also displayed. If nothing is displayed, press \[Reset\] in the RViz, or remove and set checks of \[Points Map\] and \[Vector Map\] in the Display. Figure 12 shows the loaded map and the localized vehicle on RViz. Note: Localization is not stable until 23% (110/479 second) of the progress bar displayed in the Simulation tab, because the demo ROSBAG does not include maps. 309 | 310 | ![Figure 11 - Localization](/en/imgs/fig11.png) 311 | 312 | 5. If the results of localization do not follow the GNSS arrow, press \[2D Pose Estimate\] in the top of RViz, move the mouse cursor and click the GNSS arrow. 313 | 314 | 6. Selecting \[ThirdPersonFollower(RViz)\] in the \[TopDownOrtho(RViz)\] on the right pane in RViz, Figure 12 view can be obtained. 315 | 316 | ![Figure 12 - Thirdperson Follower](/en/imgs/fig12.png) 317 | 318 | ### Object Detection 319 | 320 | 1. Specify the `my_detection.launch` generated in the Demo Data section to the file selection dialog of \[Detection\] in the \[Qutick Start\] tab, and press \[Detection\]. 321 | 322 | 2. If object detection succeeds in running NDT, vehicles will be displayed as blue spheres, and pedestrians will be green spheres. 323 | 324 | NOTE: the demo ROSBAG data does not contain video data for object detection. 325 | 326 | ![Figure 13 - Object Detection](/en/imgs/fig13.png) 327 | 328 | ### Path Planning 329 | 330 | ![Figure 14 - Path Planning](/en/imgs/fig14.png) 331 | 332 | 1. Specify the `my_mission_planning.lauch` generated in the Demo Data section to the file selection dialog of \[Mission Planning\] in the \[Quick Start\] tab and press \[Mission Planning\]. 333 | 334 | 2. The path and the target speed are displayed in blue line. 335 | 336 | ### Path Following 337 | 338 | ![Figure 15 - Path Following](/en/imgs/fig15.png) 339 | 340 | 1. Specify the `my_motion_planning.launch` generated in the Demo data section to the file selection dialog of Motion Planning in the Quick Start tab, and press \[Motion Planning\]. 341 | 342 | 2. If the specified path by path planning is coming in the displaying window, blue spheres on the path, and red circles calculated by Pure Pursuit are displayed. 343 | 344 | ### Dynamic Map 345 | 346 | Dynamic map is a method of sharing car and pedestrian information, which is recognized by the ego vehicle or other vehicles, through Nagoya University database server. 347 | 348 | 1. Ensure the following topics are in Publish 349 | 350 | All are not necessary. If the following topics are published, register their information to the database. 351 | 352 | `/current_pose` (ego vehicle, /vel\_pose\_mux in Publish) 353 | `/obj_car_pose` (other vehicles, /obj\_fusion in Publish) 354 | `/obj_person_pose` (pedestrains, /obj\_fusion in Publish) 355 | 356 | ![Figure 16 - pos_uploader App Dialog](/en/imgs/fig16.png) 357 | 358 | 2. Click \[Position\] -> \[pos\_uploader\] -> \[app\] in the \[Database\] tab on the providing information side, enter information to access database server by SSH, and press \[OK\]. 359 | (Generating SSH key is described in the generating SSH public key section) 360 | 361 | 3. Check \[Position\] -> \[pos\_uploader\] (launch nodes) in the \[Database\] tab on the sending information side. 362 | 363 | 4. Click \[Position\] -> \[pos\_uploader\] -> \[app\] in the \[Databse\] tab on the reviewing information side, enter information to access database server by SSH, and press \[OK\]. Checking \[show my pose\], the ego vehicle position is published. 364 | 365 | ![Figure 17 - pos_downloader App Dialog](/en/imgs/fig17.png) 366 | 367 | 5. Check \[Position\] -> \[pos\_downloader\] in the \[Database\] tab on “RViz” in the reviewing information side. 368 | 369 | 6. Adding a topic of “Marker” of “/mo marker” on the reviewing information side, the recognized ego vehicle and other vehicles are displayed. 370 | 371 | 7. The table, “*can”,* of the Nagoya university database (“VoltDB”) is defined as follows: 372 | 373 | **Name** | **Type** | **Description** 374 | -------- | -------- | --------------- 375 | id | varchar(32) | MAC address and terminal-specific information 376 | lon | Float | Latitude (Android terminal) 377 | lat | Float | Longitude (Android terminal) 378 | H | Float | Not used 379 | X | Float | Horizontal perpendicular x-axis (pos\_uploader) 380 | Y | Float | Horizontal perpendicular y-axis (pos\_uploader) 381 | Z | Float | Horizontal perpendicular z-axis (pos\_uploader) 382 | area | Float | Horizontal perpendicular axis area number (pos\_uploader, fixed at 7) 383 | dir | Float | direction (Android terminal) 384 | acct\_x | Float | Acceleration x (pos\_uploader) 385 | acct\_y | Float | Acceleration y (pos\_uploader) 386 | acct\_z | Float | Acceleration z (pos\_uploader) 387 | vec | Float | Not used 388 | type | Smallint | 1=ego vehicle, 2=Detected vehicle, 3=Detected pedestrian, 0=Position of Android terminal 389 | self | Smallint | Not used 390 | tm | timestamp | Time stamp (GMT) 391 | 392 | ## AutowareRider 393 | 394 | AutowareRider is an Android application to operate Autoware, which runs on ROS PCs, from tablet terminals. The UI is similar to Night Rider, which is a TV series. 395 | 396 | ### AutowareRoute 397 | 398 | AutowareRoute is another Android application implemented with MapFan SDK for planning route data from a departure point to a destination point. 399 | 400 | ### Features 401 | 402 | AutowareRider provides the following functions. 403 | 404 | - Send the route data generated by AutowareRoute to ROS PCs 405 | - Launch CAN data collection application 406 | - Start a launch file of ROS PC by pressing buttons 407 | - Update UI according to CAN data received from ROS PCs. 408 | 409 | ### AutowareRider Launching 410 | 411 | 1. Launch Runtime Manager on an ROS PC. 412 | 2. Press \[Active\] in \[Network Connection\] -> \[Tablet UI\] on the Main Tab to launch the following nodes: 413 | ```shell 414 | tablet_receiver 415 | tablet_sender 416 | ``` 417 | 3. Specify the following parameters in each \[app\] of \[Planning\] -> \[Path\] in the \[Computing\] tab. 418 | 419 | \[lane\_navi\] 420 | vector\_map\_directory 421 | A directory path of a high definition map 422 | 423 | \[lane\_rule\] 424 | vector\_map\_directory 425 | A directory path of a high definition map 426 | 427 | ruled\_waypoint\_csv 428 | A path of a file saved waypoints 429 | Velocity 430 | Speed (unit: km/h, default: 40, range: 0\~200) 431 | 432 | Difference around Signal 433 | Acceleration around traffic lights (unit: km/h, default: 2, range: 0\~20) 434 | 435 | \[lane\_stop\] 436 | Red Light 437 | Change to the velocity of red light 438 | 439 | Blue Light 440 | Change to the velocity of blue light 441 | 442 | 4. Launch the followings by turning on the checkbox of \[Planning\] -> \[Path\] on the \[Computing\] tab. 443 | 444 | \[lane\_navi\] 445 | \[lane\_rule\] 446 | \[lane\_stop\] 447 | 448 | 5. Launch AutowareRider from the list of Android tablet applications. 449 | 6. Specify the following parameters in the \[右上メニュー\] (left-top menu) -> \[設定\] (setting). 450 | 451 | ROS PC 452 | IP address 453 | ROS PC IPv4 address 454 | 455 | Receiver port number 456 | tablet\_receiver port number (default: 5666) 457 | 458 | Sender port number 459 | tablet\_sender port number (default: 5777) 460 | 461 | 7. Press \[OK\] to access to the ROS PC. 462 | Here, the configuration is saved into a file automatically, and the file is used from next connection as default setting. 463 | 464 | 8. If the central bar on the window is light red, the connection is success. 465 | 466 | Table 2 Bar color and connection status 467 | 468 | **Bar color** | **Connection status** 469 | ------------- | --------------------- 470 | Dark red | Not connected to ROS PC 471 | Light red | Connected to ROS PC 472 | Light blue | Autonomous driving (mode\_info: 1) 473 | Light yellow | Error (error\_info: 1) 474 | 475 | ### Path Planning Application Usage 476 | 477 | 1. Press \[NAVI\] on “AutowareRider” to launch *path planning*. 478 | 2. Press and hold a point on the map in order of the followings: 479 | a. 出発地に設定 (set departure point) 480 | b. 目的地に設定 (set destination point) 481 | c. ルート探索実行 (run route planning) 482 | 483 | 3. *Path planning* after *route planning* is done, path data is sent to an ROS PC. The path data is saved automatically, and route planning is omitted from the next time. 484 | 4. AutowareRider window is displayed after sending the path data. 485 | 486 | ### Send Path data to ROS PC 487 | 488 | Refer the step ③ above for path planning application usage. 489 | 490 | ### CAN Collection Application Usage Data 491 | 492 | 1. Specify the following parameters in \[右上メニュー\] (right top menu) -> \[設定\] (setting) on the AutowareRider (tmp). 493 | 494 | ``` 495 | データ収集 (data collection) 496 | Table name 497 | Destination table name 498 | 499 | SSH 500 | Hostname 501 | SSH destination hostname 502 | Port number 503 | SSH destination port number (default: 22) 504 | Username 505 | SSH login username 506 | Password 507 | SSH login password 508 | 509 | ポートフォワーディング (port forwarding) 510 | Local port number 511 | Port number of local machine source (default: 5558) 512 | Remote host name 513 | Remote machine host name (default: 127.0.0.1) 514 | Remote port number 515 | Port number of a remote machine (default: 5555) 516 | ``` 517 | 518 | 2. The configuration is saved by pressing \[OK\]. 519 | 520 | Note: SSH password is not saved in the configuration file. The password is saved on the memory during running AutowareRider. 521 | 522 | 3. Launch any one of the followings in \[右上メニュー\] (right top menu) -> \[データ収集\] (data collection) 523 | 524 | CanGather 525 | CarLink (Bluetooth) 526 | CarLink (USB) 527 | 528 | 4. The usages after launching applications are same as launching applications individually. Refer the below URL. 529 | 530 | https://github.com/CPFL/Autoware/blob/master/vehicle/general/android/README.md 531 | 532 | ### Send CAN Data to a ROS PC 533 | 534 | Refer the step ④ in CAN Data Collection Usage (tmp). 535 | 536 | ### Start Launch File 537 | 538 | 1. \[S1\] and \[S2\] of AutowareRider starts the following launch files, respectively (tmp). 539 | 540 | ```shell 541 | check.launch 542 | set.launch 543 | ``` 544 | 545 | Pressing each button, the corresponding launch file is started on an ROS PC. 546 | 547 | Table 2 Buttons and launch file status 548 | 549 | **Button** | **Launch file status** 550 | ---------- | ---------------------- 551 | Pressed (black) | Start ({ndt,if}\_stat: false) 552 | Pressed (red) | Start ({ndt,if}\_stat: true) 553 | 554 | # Chapter 4 - Autoware User Interface Details 555 | 556 | ## Runtime Manager 557 | 558 | Runtime Manager is a Python script (scripts/runtime\_manager\_dalog.py) included in the runtime\_manager package. It can be launched by the following command: 559 | 560 | ```shell 561 | $ rosrun runtime_manager runtime_manager_dialog.py 562 | ``` 563 | 564 | Runtime Manager dialog composes of multiple tabs. Operating Runtime Manager dialog enables processes of starting/ending ROS nodes used in Autoware, and publishing topics for parameters of the launched ROS. The buttons to start/end ROS nodes are classified into functionalities and placed in different tabs. Each Tab window can be switched by pressing each Tab on the top of the Runtime Manager dialog. 565 | 566 | ## Runtime Manager – Quick Start Tab 567 | 568 | ![Figure 18 - Runtime Manager - Quickstart Tab](/en/imgs/fig18.png) 569 | 570 | - **\[Map\]** … Start/end a launch script specified by full path in the \[Map\] text box. Alternatively, a script can be selected from the file selection dialog displayed by pressing the \[Ref\] button. 571 | - **\[Sensing\]** … Start/end a launch script specified by full path in the \[Sensing\] text box. Alternatively, a script can be selected from the file selection dialog displayed by pressing the \[Ref\] button. 572 | - **\[Localization\]** … Start/end a launch script specified by full path in the \[Localization\] text box. Alternatively, a script can be selected from the file selection dialog displayed by pressing the \[Ref\] button. 573 | - **\[Detection\]** … Start/end a launch script specified by full path in the \[Detection\] text box. Alternatively, a script can be selected from the file selection dialog displayed by pressing the \[Ref\] button. 574 | - **\[Mission Planning\]** … Start/end a launch script specified by full path in the \[Mission Planning\] text box. Alternatively, a script can be selected from the file selection dialog displayed by pressing the \[Ref\] button. 575 | - **\[Motion Planning\]** … Start/end a launch script specified by full path in the \[Motion Planning\] text box. Alternatively, a script can be selected from the file selection dialog displayed by pressing the \[Ref\] button. 576 | - **\[Android Tablet\]** … Start/end the script runtime\_manager/tablet\_socket.launch for communicating with Tablets. 577 | - **\[Oculus Rift\]** … <Unimplemented> 578 | - **\[Vehicle Gateway\]** … Start/end the script runtime\_manager/vehicle\_socket.launch for communicating with ZMP Robocar. 579 | - **\[Cloud Data\]** … Start/end obj\_db/obj\_downloader nodes. 580 | - **\[Auto Pilot\]** … Publish /mode\_cmd topics according to the status of buttons. 581 | - **\[ROSBAG\]** … Display ROSBAG Record dialogs for ROSBAG. 582 | - **\[RViz\]** … Start/end RViz. 583 | - **\[RQT\]** … Start/end RQT. 584 | 585 | ## Runtime Manager – Setup Tab 586 | 587 | ![Figure 19 - Runtime Manager - Setup Tab](/en/imgs/fig19.png) 588 | 589 | ### \[Baselink to Localizer\] 590 | 591 | - **\[TF\]** … Pressing \[TF\], a topic of Vehicle control position (base\_link → Velodyne position(velodyne)is published. 592 | - **\[x\], \[y\], \[z\], \[yaw\], \[pitch\], \[roll\]** … Enter the relative position of velodyne to base\_link. 593 | 594 | ### \[Vehicle Model\] 595 | 596 | - **\[Vehicle Model\]** … Start/end a script 597 | *model\_publisher/vehicle\_model.launch* with the argument, which is the full path of URDF(Unified Robot Description Format)file(a vehicle model displayed on RViz)specified in the text box. Alternatively, a URDF file can be selected from a file selection dialog displayed by pressing \[Ref\]. If a URDF file is not specified in the \[Vehicle Model\] text box, *Autoware/ros/src/.config/model/default.urdf* is used. 598 | - **\[ROSBAG\]** … Display a ROSBAG Record dialog. 599 | - **\[RViz\]** … Start/end RViz. 600 | - **\[RQT\]** … Start/end RQT. 601 | 602 | ## Runtime Manager – Map Tab 603 | 604 | ![Figure 20 Runtime Manager - Map Tab](/en/imgs/fig20.png) 605 | 606 | Figure Runtime Manager - Map Tab 607 | 608 | - **\[Point Cloud\]** … Start/end the *map\_file/points\_map\_loader* nodes with the argument, which is the full path of 3-D map (PCD files) specified in the text box. Alternatively, a 3-D map can be selected by the file selection dialog displayed by pressing \[Ref\]. 609 | - **\[Auto Update\]** … Specify automatic update status (enable or not) at launching *map\_file/points\_map\_loader*. The number of scenes on automatic update can be specified by selecting an item in the drop-down box. This configuration is effective only if the check box of *Auto Update* is on. Specify the full path of an area list file in the Area List text box, which is used as an argument when launching *map\_file/point\_map\_loader*. Alternatively, an area list file can be selected by file selection dialog displayed by pressing \[Ref\]. 610 | - **\[Vector Map\]** … Start/end the map\_file/vector\_map\_loader nodes with an argument, which is the full path of Vector map (csv files) specified in the text box. Alternatively, a Vector map can be selected by file selection dialog displayed by pressing *Ref*. 611 | - **\[TF\]** … Start/end the launch file specified in full path in the text box. If launch file is not specified, the launch file *\~/.autoware/data/tf/tf.launch* is started/ended. Alternatively, a launch file can be selected by file selection dialog displayed by pressing *Ref*. 612 | 613 | ### \[Map Tools\] 614 | 615 | - **\[PCD Filter\]** …Start/end map\_tools/pcd\_filter nodes with an argument, which is the full path of 3-D map (PCD files) specified in the text box. Alternatively, a 3-D map can be selected by file selection dialog displayed by pressing *Ref*. 616 | - **\[PCD Binarizer\]** …Start/end map\_tools/pcd\_binalizer nodes with an argument, which is the full path of ASCII format PCD file specified in the text box. Alternatively, a PCD file can be selected by file selection dialog displayed by pressing *Ref*. 617 | - **\[ROSBAG\]** … Display a ROSBAG Record dialog. 618 | - **\[RViz\]** … Start/end RViz. 619 | - **\[RQT\]** … Start/end RQT. 620 | 621 | ## Runtime Manager – Sensing Tab 622 | 623 | ![Figure 21 - Runtime Manager - Sensing Tab](/en/imgs/fig21.png) 624 | 625 | ### \[Drivers\] 626 | 627 | #### \[CAN\] 628 | - **\[can\_converter\] check box** … Start/end *kvaser/can\_converter* nodes. 629 | - **\[can\_draw\] check box** … Start/end *kvaser/can\_draw* nodes. 630 | - **\[can\_listener\] check box** … Start/end *kvaser/can\_listener* nodes. 631 | - **\[can\_listener\]-\[config\]** … Display a *can\_listener* dialog. Specify channels to be selected at launching nodes. 632 | #### \[Cameras\] 633 | - **\[PointGrey Grasshoper 3 (USB1)\] check box** … Start/end a *pointgrey/grasshopper3.launch* script. 634 | - **\[PointGrey Grasshoper 3 (USB1)\] - \[config\]** … Display a *calibration\_path\_grasshopper3* dialog. Specify a CalibrationFile path to be selected at launching scripts. 635 | - **\[PointGrey Generic\] check box** … Start/end a *pointgrey\_camera\_driver/camera.launch* script. **\[PointGrey PointGray LadyBug 5\]** **check box**… Start/end a *pointgrey/ladybug.launch* script. 636 | - **\[PointGrey PointGray LadyBug 5\] -\[config\]** … Display a *calibration\_path\_ladybug* dialog. Specify a CalibrationFile path to be selected at launching scripts. 637 | - **\[USB Generic\] check box** … Start/end *runtime\_manager/uvc\_camera\_node* nodes. 638 | - **\[IEEE1394\] check box** … <Unimplemented> 639 | - **\[Baumer VLG-22\] check box** … Start/end a *vlg22c\_cam/baumer.launch* script. 640 | #### \[GNSS\] 641 | - **\[Javad Delta 3(TTY1)\] check box** … Start/end a *javad\_navsat\_driver/gnss.sh* script. 642 | - **\[Javad Delta 3(TTY1)\]-\[config\]** … Display a serial dialog. Specify parameters related to RS232C. 643 | - **\[Serial GNSS\] check box** … Start/end a *nmea\_navsat/nmea\_navsat.launch* script. **\[Serial GNSS\]-\[config\]** … Display a serial dialog. Specify parameters related to RS232C. 644 | #### \[IMU\] 645 | - **\[Crossbow vg440\] check box** … <Unimplemented> 646 | #### \[LIDARs\] 647 | - **\[Velodyne HDL-64e-S2\] check box** … Start/end a *velodyne\_pointcloud/velodyne\_hdl64e\_s2.launch* script. 648 | - **\[Velodyne HDL-64e-S2\]-\[config\]** … Display a calibration\_path dialog. Specifya CalibrationFile path to be selected at launching scripts. 649 | - **\[Velodyne HDL-64e-S3\] check box** … Start/end a *velodyne\_pointcloud/velodyne\_hdl64e\_s3.launch* script. 650 | - **\[Velodyne HDL-64e-S3\]-\[config\]** … Display a calibration\_path dialog. Specify a CalibrationFile path to be selected at launching scripts. 651 | - **\[Velodyne HDL-32e\] check box** … Start/end a *velodyne\_pointcloud/velodyne\_hdl32e.launch* script. 652 | - **\[Velodyne HDL-32e\]-\[config\]** … Display a calibration\_path dialog. Specify a CalibrationFile path to be selected at launching scripts. 653 | - **\[Velodyne VLP-16\] check box** … Start/end a *velodyne\_pointcloud/velodyne\_vlp16.launch* scripts. 654 | - **\[Velodyne VLP-16\]-\[config\]** … Display a calibration\_path dislog. Specify a CalibrationFile path to be selected at launching script. 655 | - **\[Hokuyo TOP-URG\] check box** … Start/end a *hokuyo/top\_urg.launch* script. 656 | - **\[Hokuyo 3D-URG\] check box** … Start/end a *hokuyo/hokuyo\_3d\_urg.launch* script. 657 | - **\[SICK LMS511\] check box** … <Unimplemented> 658 | - **\[IBEO 8L Single\] check box** … <Unimplemented> 659 | 660 | #### \[Points Filter\] 661 | 662 | *A chapter image and the description to be updated (tmp)* 663 | 664 | - **\[Calibration Tool Kit\]** … Start/end *Calibration\_camera\_lidar/calibration\_toolkit* nodes 665 | - **\[Calibration Publisher\]** … Start/end a *runtime\_manager calibration\_publisher.launch* script. Specify the full path of a YAML file to be selected at launching nodes by a launched calibration\_publiher dialog. 666 | - **\[Points Image\]** … Start/end a *runtime\_manager/points2image.launch* script. 667 | - **\[Virtual Scan Image\]** … Start/end a *runtime\_manager/vscan.launch* script. 668 | - **\[Scan Image\]** … Start/end *scan2image/scan2image* nodes 669 | - **\[ROSBAG\]** … Display a ROSBAG Record dialog. 670 | - **\[RViz\]** … Start/end RViz. 671 | - **\[RQT\]** … Start/end RQT. 672 | 673 | ## Runtime Manager – Computing Tab 674 | 675 | ![Figure 22 - Runtime Manager - Computing Tab](/en/imgs/fig22.png) 676 | 677 | ### \[Localication\] 678 | 679 | #### \[gnss\_lozalizer\] 680 | 681 | - **\[fix2tfpose\] check box** … Start/end *gnss\_localizer/fix2tfpose* nodes 682 | - **\[nmea2tfpose\] check box** … Start/end a *gnss\_localizer/nmea2tfpose.launch* script. 683 | 684 | #### \[ndt\_lozalizer\] 685 | 686 | - **\[ndt\_mapping\] check box** … Start/end a *ndt\_localizer/ndt\_mapping.launch* script. Clicking \[app\], *ndt\_mapping* dialog is displayed. 687 | - **\[ndt\_matching\] check box** … Start/end a *ndt\_localizer/ndt\_matching.launch* script. Clicking \[app\], *ndt* dialog is displayed. 688 | 689 | #### \[vel\_pose\_mux\] 690 | 691 | - **\[vel\_pose\_mux\] check box** … Start/end a *vel\_pose\_mux/vel\_pose\_mux.launch* script. Clicking \[app\], a *vel\_pose\_mux* dialog is displayed. 692 | 693 | ### \[Detection\] 694 | 695 | #### \[cv\_detector\] 696 | 697 | - **\[dpm\_ocv\] check box** … Start/end a *cv\_tracker/dpm\_ocv.launch* script. A *dpm\_ocv* dialog is displayed. After specifying parameters, launch the script by pressing \[Detection Start\]. Clicking \[app\], a dialog is displayed. Selecting a turning parameter class (Car or Pedestrian), either a *car\_dpm* or a *pedestrian\_dpm* dialog is displayed. Setting parameters, a topic of either */config/car\_dpm* or */config/pedestrian\_dpm* is published. 698 | - **\[dpm\_ttic\] check box** … Start/end a *cv\_tracker/dpm\_ttic.launch* script. A *dpm\_ttic* is displayed. After specifying parameters, launch the script by pressing \[Detection Start\]. Clicking \[app\], a dialog is displayed. 699 | - **\[rcnn\_node\] check box** … Start/end a *cv\_tracker/rcnn.launch* script. Clicking \[app\], a dialog is displayed. 700 | - **\[range\_fusion\] check box** … Start/end a cv\_tracker/ranging.launch script. A car\_fusion dialog is displayed at launching the script. Clicking \[app\], a dialog is displayed. 701 | - **\[klt\_track\] check box** … Start/end a *cv\_tracker/klt\_tracking.launch* script. Clicking \[app\], a dialog is displayed. 702 | - **\[kf\_track\] check box** … Start/end a *cv\_tracker/kf\_tracking.launch* script. A dialog is displayed at launching the script. Clicking \[app\], a dialog is displayed. 703 | - **\[obj\_reproj\] check box** … Start/end a *cv\_tracker/reprojection.launch* script. An *obj\_reproj* dialog is displayed. Clicking \[app\], a dialog is displayed. 704 | 705 | #### \[lidar\_detector\] 706 | 707 | - **\[euclidean\_cluster\] check box** … Start/end a *lidar\_tracker/euclidean\_clustering.launch* scritp. Clicking \[app\], a dialog is displayed. 708 | - **\[obj\_fusion\] check box** … Start/end a *lidar\_tracker/obj\_fusion.launch* script. An obj\_fusion dialog is displayed at launching the script. Clicking \[app\], a dialog is displayed. 709 | 710 | #### \[road\_wizard\] 711 | 712 | - **\[feat\_proj\] check box** … Start/end a *road\_wizard/feat\_proj.launch* script. Clicking \[app\], a dialog is displayed. 713 | - **\[region\_tlr\] check box** … Start/end a *road\_wizard/traffic\_light\_recognition.launch* script. Clicking \[app\], a dialog is displayed. 714 | 715 | #### \[viewers\] 716 | 717 | - **\[image\_viewer\] check box** … Start/end a *viewers/viewers.launch* script. *image\_viewer* is specified as a script parameter *viewer\_type*. Clicking \[app\], a dialog is displayed. 718 | - **\[image\_d\_viewer\] check box** …Start/end a *viewers/viewers.launch* script. *image\_viewer* is specified as a script parameter *viewer\_type*. Clicking \[app\], a dialog is displayed. 719 | - **\[points\_image\_viewer\] check box** …Start/end a *viewers/viewers.launch* script. *points\_image\_viewer* is specified as a script parameter *viewer\_type*. Clicking \[app\], a dialog is displayed. 720 | - **\[points\_image\_d\_viewer\] check box** …Start/end a *viewers/viewers.launch* script. *points\_image\_d\_viewer* is specified as a script parameter *viewer\_type*. Clicking \[app\], a dialog is displayed. 721 | - **\[vscan\_image\_viewer\] check box** …Start/end a *viewers/viewers.launch* script. *vscan\_image\_viewer* is specified as a script parameter *viewer\_type*. Clicking \[app\], a dialog is displayed. 722 | - **\[vscan\_image\_d\_viewer\] check box** …Start/end a *viewers/viewers.launch* script. *vscan\_image\_d\_viewer* is specified as a script parameter *viewer\_type*. Clicking \[app\], a dialog is displayed. 723 | - **\[traffic\_light\_viewer\] check box** …Start/end a *viewers/viewers.launch* script. *traffic\_light\_viewer* is specified as a script parameter *viewer\_type*. Clicking \[app\], a dialog is displayed. 724 | 725 | ### \[Semantics\] 726 | 727 | - **\[laserscan2costmap\] check box** … Start/end an *object\_map/laserscan2costmap.launch* script. Clicking \[app\], a dialog is displayed. 728 | - **\[points2costmap\] check box** … Start/end an *object\_map/points2costmap.launch* script. Clicking \[app\], a dialog is displayed. 729 | 730 | ### \[Mission Planning\] 731 | 732 | #### \[lane\_planner\] 733 | 734 | - **\[lane\_navi\] check box** … Start/end a *lane\_planner/lane\_navi.launch* script. Clicking \[app\], a dialog is displayed. 735 | - **\[lane\_rule\] check box** … Start/end a *lane\_planner/lane\_rule* script. Clicking \[app\], a dialog is displayed. 736 | - **\[lane\_stop\] check box** … Start/end a *lane\_planner/lane\_stop* script. Clicking \[app\], a dialog is displayed. 737 | - **\[lane\_select\] check box** … Start/end a *lane\_planner/lane\_script*. Clicking \[app\], a dialog is displayed. 738 | 739 | #### \[freespace\_planner\] 740 | 741 | - **\[astar\_navi\] check box** … Start/end a *freespace\_planner/astar\_navi* script. Clicking \[app\], a dialog is displayed. 742 | 743 | ### \[Motion Planning\] 744 | 745 | #### \[driving\_planner\] 746 | 747 | - **\[velocity\_set\] check box** … Start/end a *driving\_planner/velocity\_set.launch* script. Clicking \[app\], a dialog is displayed. 748 | - **\[path\_select\] check box** … Start/end a *driving\_planner/path\_select* script. Clicking \[app\], a dialog is displayed. 749 | - **\[lattice\_trajectory\_gen\] check box** … Start/end a *driving\_planner/lattice\_trajectory\_gen.launch* script. Clicking \[app\], a dialog is displayed. 750 | - **\[lattice\_twist\_convert\] check box** … Start/end a *driving\_planner/lattice\_twist\_convert* nodes. Clicking \[app\], a dialog is displayed. 751 | 752 | #### \[waypoint\_marker\] 753 | 754 | - **\[waypoint\_loader\] check box** … Start/end a *waypoint\_maker/waypoint\_loader.launch* script. Clicking \[app\], a dialog is displayed. 755 | - **\[waypoint\_saver\] check box** … Start/end a *waypoint\_maker/waypoint\_saver.launch* script. Clicking \[app\], a dialog is displayed. 756 | - **\[waypoint\_clicker\] check box** … Start/end a *waypoint\_maker/waypoint\_clicker* nodes. Clicking \[app\], a dialog is displayed. 757 | 758 | #### \[waypoint\_follower\] 759 | 760 | - **\[pure\_pursuit\] check box** … Start/end a *waypoint\_follower/pure\_pursuit.launch* script. Clicking \[app\], a dialog is displayed. 761 | - **\[twist\_filter\] check box** … Start/end a *waypoint\_follower/twist\_filter.launch* script. Clicking \[app\], a dialog is displayed. 762 | - **\[wf\_simulator\] check box** … Start/end a *waypoint\_follower/wf\_simulator.launch* script. Clicking \[app\], a dialog is displayed. 763 | - **\[ROSBAG\]** … Dislpay ROSBAG Record Dialog. 764 | - **\[RViz\]** … Start/end RViz. 765 | - **\[RQT\]** … Start/end RQT. 766 | 767 | 768 | ## Runtime Manager – Interface Tab 769 | 770 | ![Figure 23 - Runtime Manager - Interface Tab](/en/imgs/fig23.png) 771 | 772 | - **\[Android Tablet\]** … Start/end *runtime\_manager/tablet\_socket.launch* for communicating with Tablets. 773 | - **\[Oculus Rift\]** … <Unimplemented> 774 | - **\[Vehicle Gateway\]** … Start/end *runtime\_manager/vehicle\_socket.launch* for communicating with ZMP Robocar. 775 | - **\[Sound\] check box** … Start/end a *sound\_player/sound\_player.py*. 776 | - **\[Auto Pilot\]** … Publish a topic (*/mode\_cmd*) according the button status. 777 | - **\[Lamp\]** … Publish a topic (*/lamp\_cmd*) according to the button status. 778 | - **\[Indicator\]** … Publish a topic (*/indicator\_cmd*) according to the button status. 779 | - **\[D\] toggle switch** … Publish a topic (*/gear\_cmd*) of buttons turning ON. 780 | - **\[R\] toggle switch** … Publish a topic (*/gear\_cmd)* of buttons turning ON. 781 | - **\[B\] toggle switch** … Publish a topic (*/gear\_cmd*) of buttons turning ON. 782 | - **\[N\] toggle switch** … Publish a topic (*/gear\_cmd*) of buttons turning ON. 783 | - **\[Accel\] slider** … Publish a topic (*/accel\_cmd*) of the slider status. 784 | - **\[Brake\] slider** … Publish a topic (*/brake\_cmd*) of the slider status. 785 | - **\[Steer\] slider** … Publish a topic (*/steer\_cmd*) of the slider status. 786 | - **\[Torque\] slider** …<Unimplemented> 787 | - **\[Veloc\] slider** … Publish a topic (*/twist\_cmd*) of the slider status. 788 | - **\[Angle\] slider** … Publish a topic (*/twist\_cmd*) of the slider status. 789 | - **\[ROSBAG\]** … Display a ROSBAG Record dialog. 790 | - **\[RViz\]** … Start/end RViz. 791 | - **\[RQT\]** … Start/end RQT. 792 | 793 | ## Runtime Manager – Database Tab 794 | 795 | ![Figure 24 - Runtime Manager - Database Tab](/en/imgs/fig24.png) 796 | 797 | ### \[CAN\] 798 | 799 | - **\[can\_uploder\] check box** … Start/end *obj\_db/can\_uploader* nodes. Clicking \[app\], an *other* dialog is displayed. 800 | 801 | ### \[Map\] 802 | 803 | - **\[map\_downloader\] check box** … Start/end the *map\_file/map\_downloader.launch* scripts. Clicking \[app\], a map\_downloader dialog is displayed. 804 | 805 | ### \[Position\] 806 | 807 | - **\[pos\_downloader\] check box** … Start/end *pos\_db/pos\_downloader* nodes. Clicking \[app\], a *pos\_db* dialog is displayed. 808 | - **\[pos\_uploder\] check box** … Start/end *pos\_db/pos\_uploader* nodes. Clicking \[app\]*,* a *pos\_db* dialog is displayed. 809 | 810 | ### \[Sensors\] 811 | 812 | - **\[image\_upload\] check box** … <Unimplemented> 813 | - **\[pointcloud\_uplod\] check box** …<Unimplemented> 814 | - **\[Query\]** … <Unimplemented> 815 | - **\[ROSBAG\]**… Display a ROSBAG Record dialog to recode a ROSBAG. 816 | - **\[RViz\]** … Start/end RViz. 817 | - **\[RQT\]** … Start/end RQT. 818 | 819 | ## Runtime Manager – Simulation Tab 820 | 821 | ![Figure 25 - Runtime Manager - Simulation Tab](/en/imgs/fig25.png) 822 | 823 | \* A capture and the description to be updated (tmp), /use\_sim\_time 824 | 825 | - **\[ROSBAG\] text box** … Start a ROSBAG with an argument specified full path of a bag file in the text box by pressing \[Play\]. Alternatively, a bag file can be specified by the file selection dialog displayed by pressing \[Ref\]. 826 | - **\[Rate\]**… Specify a numerical value for the ROSBAG play command with –r option. If it is not specified, -r option is not used. 827 | - **\[State Time(s)\]** … Specify a numerical value for the ROSBAG play command with –start option. If it is not specified, -start option is not used. 828 | - **\[Repeat\] check box** … If this is ON, --loop option is specified at launching the ROSBAG play command. 829 | - **\[Play\]** … Start the ROSBAG play command with a bag specified in the ROSBAG text box. 830 | - **\[Stop\]** … End the running ROSBAG play command. 831 | - **\[Pause\]** … Suspend the running ROSBAG play command. 832 | - **\[ROSBAG\]** … Display a ROSBAG Record dialog to record a ROSBAG. 833 | - **\[RViz\]** … Start/end RViz. 834 | - **\[RQT\]** … Start/end RQT. 835 | 836 | ## Runtime Manager – Status Tab 837 | 838 | ![Figure 26 - Runtime Manager - Status Tab](/en/imgs/fig26.png) 839 | 840 | - Top window … Display the execution results of the running *top* command. 841 | - Left-bottom window … Display the periodic execution time published by related node. 842 | - Right-bottom window … Display launched nodes, standard outputs and standard error outputs of scripts. Some nodes displaying progress bars can not show information. 843 | - Bottom window … Display CPU (core) load and memory usage. 844 | - **\[System Monitor\]** … Start/end the gnome-system-monitor command. 845 | - **\[ROSBAG\]** … Display a ROSBAG Record dialog to record a ROSBAG. 846 | - **\[RViz\]** … Start/end RViz. 847 | - **\[RQT\]** … Start/end RQT. 848 | 849 | 850 | ## Runtime Manager - Topics Tab 851 | 852 | ![Figure 27 - Runtime Manager - Topics Tab](/en/imgs/fig27.png) 853 | 854 | - Left window … Display the list of topics. Launch a rostopic info <target topic> command and display the result of the command on the right bottom window by clicking links. If the Echo check box is ON, rostopic echo <target topic> is launched and the results are displayed on the right-top window. 855 | - **\[Refresh\]** … Update the list of topics displayed on the left window using the obtained topic list by running *rostopic list* command. 856 | - **\[ROSBAG\]** … Display a ROSBAG Record dialog to record a ROSBAG. 857 | - **\[RViz\]** … Start/end RViz. 858 | - **\[RQT\]** … Start/end RQT. 859 | 860 | ## ROSBAG Record Dialog 861 | 862 | ![Figure 28 - ROSBAG Record Dialog](/en/imgs/fig28.png) 863 | 864 | - **Text box** … Specify the full path of a bag file for the ROSBAG record command. Alternatively, a bag file can be selected by the file selection dialog displayed by pressing \[Ref\]. 865 | - **\[split\] check box** … If the check box is ON and a numerical values is set in the size text box, --split and –size=<target size> options for launching ROSBAG record command by pressing \[Start\] are specified. 866 | - **\[size\] text box** … If *split* check box is ON, specify split file size in megabytes. 867 | - **\[Start\]** … Start the ROSBAG record command with a bag file specified in the top text box. 868 | - **\[Stop\]** … End the running ROSBAG record command. 869 | - **\[All\]** check box… If check box is ON, -a option is specified for launching the ROSBAG record command. 870 | - **(Other check boxes)** … Specify topics whom check boxes are ON for launching the ROSBAG record command. Only if all check box is OFF, they are enable. 871 | - **\[Refresh\]** … Starting the rostopic list command and searching running topics, update the other check boxes. 872 | 873 | ## RViz 874 | 875 | ![Figure 29 - RVIZ](/en/imgs/fig29.png) 876 | 877 | \* the description to be updated (tmp) 878 | 879 | ## AutowareRider 880 | 881 | This is an android application which has a UI similar to Knight Rider. 882 | 883 | The running window is as follows: 884 | 885 | ![Figure 30 - AutowareRider](/en/imgs/fig30.png) 886 | 887 | - **\[Navi\]** … Start AutowareRoute.apk. 888 | - **\[MAP\]** … <Unimplemented> 889 | - **\[S1\]** … Start check.launch by ROS PC. 890 | - **\[S2\]** … Start set.launch by ROS PC. 891 | - **\[B\]** … Send gear B information to ROS PC. 892 | - **\[N\]** …Send gear N information to ROS PC. 893 | - **\[D\]** …Send gear D information to ROS PC. 894 | - **\[R\]** …Send gear R information to ROS PC. 895 | - **\[AUTO CRUISE\]** … <Unimplemented> 896 | - **\[NORMAL CRUISE\]** … <Unimplemented> 897 | - **\[PURSUIT\]** … <Unimplemented>(End the application) 898 | 899 | The following items can be selected on the right-top menu. 900 | 901 | **\[設定\] (configuration)** 902 | 903 | **\[データ収集\] (data collection)** 904 | 905 | ![Figure 31 AutowareRider Configuration Window](/en/imgs/fig31.png) 906 | 907 | ### \[ROS PC\] 908 | 909 | - **IPアドレス** … ROS PC IPv4 address 910 | - **命令受信ポート番号** … tablet\_receiver port number (default: 5666) 911 | - **情報送信ポート番号** … tablet\_sender port number (default: 5777) 912 | 913 | ### \[データ収集\] (data collection) 914 | 915 | - **テーブル名** … Data transfer destination table name 916 | 917 | ### \[SSH\] 918 | 919 | - **ホスト名** …SSH destination hostname 920 | - **ポート番号** …SSH destination port number (default: 22) 921 | - **ユーザ名** … SSH login username 922 | - **パスワード** … SSH login password 923 | 924 | ### \[ポートフォワーディング\] (port forwarding) 925 | 926 | - **ローカルポート番号** … port number of local machine source (default: 5558) 927 | - **リモートホスト名** … remote machine host name (default: 127.0.0.1) 928 | - **リモートポート番号** … remote machine destination port number (default: 5555) 929 | 930 | \[データ収集\] (data collection) window is as follows: 931 | 932 | ![Figure 32 - AutowareRider Data Collection Window](/en/imgs/fig32.png) 933 | 934 | - **\[CanGather\]** … Start CanGather.apk. 935 | - **\[CarLink (Bluetooth)\]** … Start CarLink\_CAN-BT\_LS.apk. 936 | - **\[CarLink (USB)\]** … Start CarLink\_CANusbAccessory\_LS.apk. 937 | 938 | ## AutowareRoute 939 | 940 | AutowareRoute is an Android application implemented by MapFan SDK for path planning. 941 | 942 | The start window is as follows: 943 | 944 | ![Figure 33 - Autoware Route](/en/imgs/fig33.png) 945 | 946 | Pressing and holding the map, the following dialog is displayed. 947 | 948 | ![Figure 34 - AutowareRoute Window](/en/imgs/fig34.png) 949 | 950 | Figure AutowareRoute window 951 | 952 | - **\[出発地に設定\]** … Specify the departure point by pressing and holding a point. 953 | - **\[立寄地に設定\]** … Specify the way-stop point by pressing and holding a point. 954 | - **\[目的地に設定\]** … Specify the destination point by pressing and holding a point. 955 | - **\[ルート消去\]** … Delete path data generated by path planning. 956 | - **\[ルート探索実行\]** … Generate path data considering points of departure, way-stop and destination. 957 | - **\[終了\]** … (no description (tmp)) 958 | 959 | # Chapter 5 - System Setup 960 | 961 | The supported OS distributions and the required software are described in this chapter. 962 | 963 | ## Installation 964 | 965 | Install OS (Linux), ROS, Autoware, etc., into PC as the following procedural steps. 966 | 967 | ### OS 968 | 969 | The Linux distributions supported by Autoware at Sep. 2016 are as follows: 970 | 971 | Ubuntu 14.04 LTS x86\_64 (Recommended), 972 | Ubuntu 15.04 x86\_64 973 | 974 | Refer to the below URLs about install media and installation steps. 975 | 976 | Ubuntu Japanese Team [*https://www.ubuntulinux.jp/*](https://www.ubuntulinux.jp/) 977 | 978 | Ubuntu [*http://www.ubuntu.com/*](http://www.ubuntu.com/) 979 | 980 | ### ROS 981 | 982 | If you use Ubuntu 14.04, install ROS and the required packages by the following steps: 983 | 984 | ```shell 985 | $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > \ 986 | /etc/apt/sources.list.d/ros-latest.list' 987 | $ wget http://packages.ros.org/ros.key -O - | sudo apt-key add - 988 | $ sudo apt-get update 989 | $ sudo apt-get install ros-indigo-desktop-full ros-indigo-nmea-msgs \ 990 | ros-indigo-nmea-navsat-driver ros-indigo-sound-play ros-indigo-jdk-visualization 991 | $ sudo apt-get install libnlopt-dev freeglut3-dev qtbase5-dev libqt5opengl5-dev \ 992 | libssh2-1-dev libarmadillo-dev libpcap-dev gksu 993 | ``` 994 | 995 | Add below path to \~/.bashrc etc. 996 | 997 | ```shell 998 | [ -f /opt/ros/indigo/setup.bash ] && . /opt/ros/indigo/setup.bash 999 | ``` 1000 | 1001 | If you use Ubuntu 15.04, install ROS and the required packages as the following steps: 1002 | 1003 | ```shell 1004 | $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > \ 1005 | /etc/apt/sources.list.d/ros-latest.list' 1006 | $ sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 \ 1007 | --recv-key 0xB01FA116 1008 | $ sudo apt-get install ros-jade-desktop-full ros-jade-nmea-msgs \ 1009 | ros-jade-nmea-navsat-driver ros-jade-sound-play 1010 | $ sudo apt-get install libnlopt-dev freeglut3-dev qt5-default libqt5opengl5-dev \ 1011 | libssh2-1-dev libarmadillo-dev libpcap-dev gksu 1012 | ``` 1013 | Add below path to \~/.bashrc etc. 1014 | 1015 | ```shell 1016 | [ -f /opt/ros/jade/setup.bash ] && . /opt/ros/jade/setup.bash 1017 | ``` 1018 | 1019 | ### OpenCV 1020 | 1021 | 1. Install the following packages: 1022 | ```shell 1023 | $ sudo apt-get -y install libopencv-dev build-essential cmake git \ 1024 | libgtk2.0-dev pkg-config python-dev python-numpy libdc1394-22 \ 1025 | libdc1394-22-dev libjpeg-dev libpng12-dev libtiff4-dev libjasper-dev \ 1026 | libavcodec-dev libavformat-dev libswscale-dev libxine-dev \ 1027 | libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev \ 1028 | libtbb-dev libqt4-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev \ 1029 | libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev \ 1030 | x264 v4l-utils unzip 1031 | ``` 1032 | 2. Get OpenCV source code of the version 2.4.11 or later, install it as follows: 1033 | ```shell 1034 | $ wget https://github.com/Itseez/opencv/archive/2.4.11.zip 1035 | $ unzip 2.4.11.zip 1036 | $ cd opencv-2.4.11/ 1037 | $ mkdir build && cd build/ 1038 | $ cmake -D CMAKE_BUILD_TYPE=RELEASE \ 1039 | -D CMAKE_INSTALL_PREFIX=/usr/local \ 1040 | -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON \ 1041 | -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON \ 1042 | -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON \ 1043 | -D WITH_OPENGL=ON -D WITH_VTK=ON -D CUDA_GENERATION=Auto .. 1044 | $ make -j4 1045 | unzip opencv-2.4.11.zip 1046 | $ cd opencv-2.4.11 1047 | $ cmake . 1048 | $ make 1049 | $ sudo make install 1050 | $ sudo ldconfig 1051 | ``` 1052 | ### CUDA(if necessary) 1053 | 1054 | If you use GPU on NVIDIA graphic board for conducting calculations, CUDA is required. Refer the website [*http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/*](http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/) and install as follows: 1055 | 1056 | 1. Check environment 1057 | 1058 | ```shell 1059 | $ lspci | grep -i nvidia 1060 | ``` 1061 | (ensure the NVIDIA board information is output) 1062 | 1063 | ```shell 1064 | $ uname -m 1065 | ``` 1066 | (ensure x86\_64 is used) 1067 | 1068 | ```shell 1069 | $ gcc --version 1070 | ``` 1071 | (ensure gcc installation is completed) 1072 | 1073 | Install CUDA 1074 | 1075 | Download CUDA from *.* (hereinafter, installing cuda-repo-ubuntu1404\_7.0-28\_amd64.deb is assumed) 1076 | ```shell 1077 | $ sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb 1078 | $ sudo apt-get update 1079 | $ sudo apt-get install cuda 1080 | ``` 1081 | Restart OS 1082 | 1083 | ```shell 1084 | $ lsmod | grep nouveau 1085 | ``` 1086 | (ensure nouveau driver is not loaded) 1087 | 1088 | Check CUDA 1089 | 1090 | ```shell 1091 | $ cat /proc/driver/nvidia/version 1092 | ``` 1093 | (kernel module and gcc version are displayed) 1094 | ```shell 1095 | $ cuda-install-samples-7.0.sh \~ 1096 | $ cd ~/NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/ 1097 | $ make 1098 | $ ./deviceQuery 1099 | ``` 1100 | If necessary, add below path to .bashrc etc. 1101 | ```shell 1102 | export PATH=”/usr/local/cuda:\$PATH” 1103 | export LD_LIBRARY_PATH=”/usr/local/cuda/lib:\$LD_LIBRARY_PATH” 1104 | ``` 1105 | ### FlyCapture (if necessary) 1106 | 1107 | If you use PointGray cameras, install FlyCapture SDK as follows: 1108 | 1109 | 1. Download FlyCapture SDK from PointGrey website ([*http://www.ptgrey.com/*](http://www.ptgrey.com/)). User registration is required before download. 1110 | 1111 | 2. Install packages 1112 | 1113 | ```shell 1114 | $ sudo apt-get install libglademm-2.4-1c2a libgtkglextmm-x11-1.2-dev libserial-dev 1115 | ``` 1116 | 1117 | 3. Extract the archives of the downloaded file 1118 | 1119 | ```shell 1120 | $ tar xvfz flycapture2-2.6.3.4-amd64-pkg.tgz 1121 | ``` 1122 | 1123 | 4. Launch installer 1124 | ```shell 1125 | $ cd flycapture2-2.6.3.4-amd64/ 1126 | $ sudo sh install_flycapture.sh 1127 | ``` 1128 | Enter y after the below texts are displayed. 1129 | ```shell 1130 | This is a script to assist with installation of the FlyCapture2 SDK. 1131 | Would you like to continue and install all the FlyCapture2 SDK packages? 1132 | (y/n)$ y 1133 | ``` 1134 | Enter y after the below texts are displayed. 1135 | ```shell 1136 | ... 1137 | Preparing to unpack updatorgui-2.6.3.4_amd64.deb ... 1138 | Unpacking updatorgui (2.6.3.4) ... 1139 | updatorgui (2.6.3.4) を設定しています ... 1140 | Processing triggers for man-db (2.6.7.1-1ubuntu1) ... 1141 | Would you like to add a udev entry to allow access to IEEE-1394 and USB hardware? 1142 | If this is not ran then your cameras may be only accessible by running flycap as sudo. 1143 | (y/n)$ y 1144 | ``` 1145 | 1146 | ### Autoware 1147 | 1148 | Get Autoware by following steps. Then build and install it. 1149 | 1150 | If you get the latest autoware form github 1151 | ```shell 1152 | $ git clone https://github.com/CPFL/Autoware.git 1153 | $ cd Autoware/ros/src 1154 | $ catkin_init_workspace 1155 | $ cd ../ 1156 | $ ./catkin_make_release 1157 | $ source devel/setup.bash 1158 | ``` 1159 | 1160 | If you use archives: 1161 | ```shell 1162 | $ wget http://www.pdsl.jp/app/download/10394444574/Autoware-beta.zip 1163 | $ unzip Autoware-beta.zip 1164 | $ cd Autoware-beta/ros/src 1165 | $ catkin_init_workspace 1166 | $ cd ../ 1167 | $ ./catkin_make_release 1168 | $ source devel/setup.bash 1169 | ``` 1170 | ### AutowareRider (if necessary) 1171 | 1172 | AutowareRider is an Android application, which has similar UI as Knight Rider, for operating Autoware running on ROS PC from tablet devices. Get APK from below URLs and install them. 1173 | 1174 | Main 1175 | 1176 | - AutowareRider.apk [*https://github.com/CPFL/Autoware/blob/master/ui/tablet/AutowareRider/AutowareRider.apk*](https://github.com/CPFL/Autoware/blob/master/ui/tablet/AutowareRider/AutowareRider.apk). 1177 | 1178 | Path data planning apllication 1179 | - AutowareRoute.apk [*https://github.com/CPFL/Autoware/blob/master/ui/tablet/AutowareRoute/AutowareRoute.apk*](https://github.com/CPFL/Autoware/blob/master/ui/tablet/AutowareRoute/AutowareRoute.apk). 1180 | 1181 | CAN data collection application 1182 | - CanDataSender.apk [*https://github.com/CPFL/Autoware/blob/master/vehicle/android/CanDataSender/bin/CanDataSender.apk*](https://github.com/CPFL/Autoware/blob/master/vehicle/android/CanDataSender/bin/CanDataSender.apk) 1183 | 1184 | 1185 | ### canlib (if necessary) 1186 | 1187 | Get linuxcan.tar.gz from *Kvaser LINUX Driver and SDK* in the kvaser website ([*http://www.kvaser.com/downloads/*](http://www.kvaser.com/downloads/)) and install it as the following steps: 1188 | ```shell 1189 | $ tar xzf linuxcan.tar.gz 1190 | $ cd linuxcan 1191 | $ make 1192 | $ sudo make install 1193 | ``` 1194 | ### SSH Public Key Generation (if necessary) 1195 | 1196 | When pos\_db access database via SSH, it uses SSH key without pass phrase. Therefore, generating the SSH key of the database server and registering it to the server are required. 1197 | 1198 | 1. Generating SSH Key 1199 | 1200 | Run the following commands. 1201 | ```shell 1202 | $ ssh-keygen -t rsa 1203 | ``` 1204 | (Press Enter key without strings.) 1205 | If you use DSA, specify -t dsa. 1206 | 1207 | Registering the SSH key to the database server. Copy the generated SSH key to the server as follows: 1208 | 1209 | ```shell 1210 | $ ssh-copy-id -i ~/.ssh/id_rsa.pub posup@db3.ertl.jp 1211 | ``` 1212 | (”posup” indicates user name and ”db3.ertl.jp” denotes database server name.) 1213 | Enter passwords if necessary. 1214 | 1215 | # Chapter 6 - Terminology 1216 | 1217 | **Term** | **Description** 1218 | -------- | --------------- 1219 | 3-D map | *3-Dimension Map*: This type maps is different from 2-D maps that are used in car navigation systems, and include various information, such as three-dimensional objects built around the roads, while 2-D map is used for the car navigation systems. PCD (point cloud data) type of 3-D map is used in Autoware. 1220 | Autoware | \[Autoware\] This is an open source software running on ROS for autonomous driving. 1221 | AutowareRider | \[Autoware\] This is an Android application for operating Autoware running on ROS PC by tablet terminal. This application has similar UI (user interface) as Knight Rider, which is a TV series. 1222 | AutowareRoute | \[Autoware\] This is an Android application implemented with MapFan SDK for planning path data. 1223 | CAN | *Controller Area Network*: This is a standard for data transfer between interconnected devices. This standard has been proposed by BOSCH Ltd. in Germany as an inter-vehicle network, and standardized as ISO11898 and ISO 11519. Currently, CAN is the inter-vehicle network standard. 1224 | Catkin | \[ROS\] The original building system 1225 | CUDA | *Compute Unified Device Architecture*: A parallel computing platform and programming model with GPU provided by NVIDIA corporation. 1226 | DMI | *Distance Measuring Instrument* 1227 | DPM | *Deformable Part Model*: an object detection method 1228 | FlyCapture SDK | A SDK to Control Point Grey Camera 1229 | FOT | *Field Operational Tests*: A statistical verification by observing traffic environment, driver’s operations, and vehicle behavior under real driving environment 1230 | GNSS | *Global Navigation Satellite System* 1231 | IMU | *Inertial Measurement Unit*: Devices measuring the angular velocity and acceleration 1232 | KF | *Kalman Filter*: This is an estimation method for future states of the target objects using observed values. 1233 | LIDAR | *Laser Imaging Detection and Ranging/Laser Scanner/Laser Rader*: This device emits laser pulse and measures the scattered light of them. The distance between the LIDAR and the objects can be calculated by the measured results. 1234 | Message | \[ROS\] Data structure used in communication among nodes 1235 | NDT | *Normal Distributions Transform*: A localization method 1236 | Node | \[ROS\] A process to operate single function 1237 | Odometry | A position estimation method using calculated the rotation angle velocity of the wheel. 1238 | OpenCV | *Open source Computer Vision library* 1239 | Point Cloud | A data set of points in 3-D space. These points are represented in Cartesian coordinate space (x, y, z). 1240 | Publish | \[ROS\] Sending a Message (called broadcasting or publication) 1241 | Qt | Application user interface framework 1242 | ROS | ROS is a software framework for robot software development. This framework provides hardware abstraction, low-level device control, well-used functions, inter-process communication, package management tool and etc. 1243 | ROS PC | Computers installed ROS and Autoware 1244 | ROSBAG | \[ROS\] A data logging tool. The extension is *bag*. 1245 | RQT | \[ROS\] A software development tool base on Qt 1246 | RViz | \[ROS\] Visualization tool for data and software status 1247 | SLAM | Simultaneous Localization and Mapping 1248 | Subscribe | \[ROS\] Receiving Message (called subscription) 1249 | TF | \[ROS\] A coordinate transformation library 1250 | Topic | \[ROS\] A path with a name for sending/receiving Message. Sending Message is called *Publish* and receiving Message is called *Subscribe*. 1251 | Way point | A set of coordinate pairs 1252 | Calibration | A processing to calculate camera parameters for adjusting the points projected on camera images to the positions in 3-D space 1253 | Sensor fusion | A method to achieve high recognition function by integrating multiple sensor information for calculating more accurate position, posture, etc. 1254 | Vector map | GIS (Global Information System) data representing geometric information of the roads in vector 1255 | Message passing | Inter-process communication that a sender transmits data to one or more receivers 1256 | 1257 | # Chapter 7 - Related Documents 1258 | 1259 | ### Autoware 1260 | 1261 | 1262 | 1263 | ### AutowareRider 1264 | 1265 | - Main: AutowareRider.apk [*https://github.com/CPFL/Autoware/blob/master/ui/tablet/AutowareRider/AutowareRider.apk*](https://github.com/CPFL/Autoware/blob/master/ui/tablet/AutowareRider/AutowareRider.apk) 1266 | - Path data planning application: AutowareRoute.apk [*https://github.com/CPFL/Autoware/blob/master/ui/tablet/AutowareRoute/AutowareRoute.apk*](https://github.com/CPFL/Autoware/blob/master/ui/tablet/AutowareRoute/AutowareRoute.apk) 1267 | - CAN data collection appllication: CanDataSender.apk [*https://github.com/CPFL/Autoware/blob/master/vehicle/android/CanDataSender/bin/CanDataSender.apk*](https://github.com/CPFL/Autoware/blob/master/vehicle/android/CanDataSender/bin/CanDataSender.apk) 1268 | 1269 | ### CUDA 1270 | 1271 | [*http://www.nvidia.com/object/cuda\_home\_new.html*](http://www.nvidia.com/object/cuda_home_new.html) 1272 | 1273 | [*http://www.nvidia.co.jp/object/cuda-jp.html*](http://www.nvidia.co.jp/object/cuda-jp.html) 1274 | 1275 | [*http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/*](http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/) 1276 | 1277 | [*http://developer.nvidia.com/cuda-downloads*](http://developer.nvidia.com/cuda-downloads) 1278 | 1279 | ### FlyCapture SDK 1280 | 1281 | [*http://www.ptgrey.com/flycapture-sdk*](http://www.ptgrey.com/flycapture-sdk) 1282 | 1283 | ### OpenCV 1284 | 1285 | [*http://opencv.org/*](http://opencv.org/) 1286 | 1287 | [*http://opencv.jp/*](http://opencv.jp/) 1288 | 1289 | *http://sourceforge.net/projects/opencvlibrary/* 1290 | 1291 | ### Qt 1292 | 1293 | [*http://www.qt.io/*](http://www.qt.io/) 1294 | 1295 | [*http://qt-users.jp/*](http://qt-users.jp/) 1296 | 1297 | ### ROS 1298 | 1299 | [*http://www.ros.org/*](http://www.ros.org/) 1300 | 1301 | ### Ubuntu Japanese Team 1302 | 1303 | [*https://www.ubuntulinux.jp/*](https://www.ubuntulinux.jp/) 1304 | 1305 | ### Ubuntu 1306 | 1307 | [*http://www.ubuntu.com/*](http://www.ubuntu.com/) 1308 | 1309 | ### Velodyne Drivers 1310 | 1311 | [*https://github.com/ros-drivers/velodyne*](https://github.com/ros-drivers/velodyne) 1312 | 1313 | ### Demo Files 1314 | 1315 | - Script for generating demo launch file: [*http://db3.ertl.jp/autoware/sample\_data/my\_launch.sh*](http://db3.ertl.jp/autoware/sample_data/my_launch.sh) 1316 | - Data for demo (Moriyama map, Calibration, Path data): [*http://db3.ertl.jp/autoware/sample\_data/sample\_moriyama\_data.tar.gz*](http://db3.ertl.jp/autoware/sample_data/sample_moriyama_data.tar.gz) 1317 | - ROSBAG data: [*http://db3.ertl.jp/autoware/sample\_data/sample\_moriyama\_150324.tar.gz*](http://db3.ertl.jp/autoware/sample_data/sample_moriyama_150324.tar.gz) Note: this ROSBAG data doesn’t include image information for object 1318 | detection. 1319 | -------------------------------------------------------------------------------- /en/Autoware_UsersManual_v1.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/Autoware_UsersManual_v1.1.pdf -------------------------------------------------------------------------------- /en/README.md: -------------------------------------------------------------------------------- 1 | # English version of Autoware manuals 2 | -------------------------------------------------------------------------------- /en/docx/Autoware_UsersManual_v1.1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/docx/Autoware_UsersManual_v1.1.docx -------------------------------------------------------------------------------- /en/docx/README.md: -------------------------------------------------------------------------------- 1 | # Word files for the English version of Autoware Manuals 2 | -------------------------------------------------------------------------------- /en/imgs/fig1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig1.png -------------------------------------------------------------------------------- /en/imgs/fig10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig10.png -------------------------------------------------------------------------------- /en/imgs/fig11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig11.png -------------------------------------------------------------------------------- /en/imgs/fig12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig12.png -------------------------------------------------------------------------------- /en/imgs/fig13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig13.png -------------------------------------------------------------------------------- /en/imgs/fig14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig14.png -------------------------------------------------------------------------------- /en/imgs/fig15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig15.png -------------------------------------------------------------------------------- /en/imgs/fig16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig16.png -------------------------------------------------------------------------------- /en/imgs/fig17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig17.png -------------------------------------------------------------------------------- /en/imgs/fig18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig18.png -------------------------------------------------------------------------------- /en/imgs/fig19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig19.png -------------------------------------------------------------------------------- /en/imgs/fig2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig2.png -------------------------------------------------------------------------------- /en/imgs/fig20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig20.png -------------------------------------------------------------------------------- /en/imgs/fig21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig21.png -------------------------------------------------------------------------------- /en/imgs/fig22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig22.png -------------------------------------------------------------------------------- /en/imgs/fig23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig23.png -------------------------------------------------------------------------------- /en/imgs/fig24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig24.png -------------------------------------------------------------------------------- /en/imgs/fig25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig25.png -------------------------------------------------------------------------------- /en/imgs/fig26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig26.png -------------------------------------------------------------------------------- /en/imgs/fig27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig27.png -------------------------------------------------------------------------------- /en/imgs/fig28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig28.png -------------------------------------------------------------------------------- /en/imgs/fig29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig29.png -------------------------------------------------------------------------------- /en/imgs/fig3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig3.png -------------------------------------------------------------------------------- /en/imgs/fig30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig30.png -------------------------------------------------------------------------------- /en/imgs/fig31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig31.png -------------------------------------------------------------------------------- /en/imgs/fig32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig32.png -------------------------------------------------------------------------------- /en/imgs/fig33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig33.png -------------------------------------------------------------------------------- /en/imgs/fig34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig34.png -------------------------------------------------------------------------------- /en/imgs/fig4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig4.png -------------------------------------------------------------------------------- /en/imgs/fig5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig5.png -------------------------------------------------------------------------------- /en/imgs/fig6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig6.png -------------------------------------------------------------------------------- /en/imgs/fig7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig7.png -------------------------------------------------------------------------------- /en/imgs/fig8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig8.png -------------------------------------------------------------------------------- /en/imgs/fig9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/imgs/fig9.png -------------------------------------------------------------------------------- /en/pdfs/ground_filter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/pdfs/ground_filter.pdf -------------------------------------------------------------------------------- /en/pptx/Autoware_QuickStart_v1.1.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/en/pptx/Autoware_QuickStart_v1.1.pptx -------------------------------------------------------------------------------- /en/pptx/README.md: -------------------------------------------------------------------------------- 1 | # PowerPoint files for the English version of Autoware Manuals 2 | -------------------------------------------------------------------------------- /jp/Autoware_DevelopersManual_v0.9JP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/jp/Autoware_DevelopersManual_v0.9JP.pdf -------------------------------------------------------------------------------- /jp/Autoware_GettingStarted_v0.1JP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/jp/Autoware_GettingStarted_v0.1JP.pdf -------------------------------------------------------------------------------- /jp/Autoware_QuickStart_v1.1JP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/jp/Autoware_QuickStart_v1.1JP.pdf -------------------------------------------------------------------------------- /jp/Autoware_UsersManual_v1.0JP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/jp/Autoware_UsersManual_v1.0JP.pdf -------------------------------------------------------------------------------- /jp/README.md: -------------------------------------------------------------------------------- 1 | # 日本語版Autowareマニュアル 2 | -------------------------------------------------------------------------------- /jp/docx/Autoware_DevelopersManual_v0.9JP.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/jp/docx/Autoware_DevelopersManual_v0.9JP.docx -------------------------------------------------------------------------------- /jp/docx/Autoware_UsersManual_v1.0JP.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/jp/docx/Autoware_UsersManual_v1.0JP.docx -------------------------------------------------------------------------------- /jp/docx/README.md: -------------------------------------------------------------------------------- 1 | # 日本語版AutowareマニュアルのWordファイル 2 | -------------------------------------------------------------------------------- /jp/pptx/Autoware_GettingStarted_v0.1JP.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/jp/pptx/Autoware_GettingStarted_v0.1JP.pptx -------------------------------------------------------------------------------- /jp/pptx/Autoware_QuickStart_v1.1JP.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CPFL/Autoware-Manuals/944ced1bfd1d00e7858dbc0490d38546e8fda639/jp/pptx/Autoware_QuickStart_v1.1JP.pptx -------------------------------------------------------------------------------- /jp/pptx/README.md: -------------------------------------------------------------------------------- 1 | # 日本語版AutowareマニュアルのPowerPointファイル 2 | --------------------------------------------------------------------------------