This series of articles focuses on the theme of "system development." Based on FORUM8's track record in system development, we will introduce various topics each time. In this 18th installment, we will explain how to integrate UC-win/Road with Linux (ROS) applications.

Methods for integrating UC-win/Road with Linux (ROS) applications
As an example, let's consider autonomous driving simulations using Autoware

■ Introduction

Autonomous driving is a cutting-edge field in automotive technology, with research and development progressing worldwide, and actual operation already underway in some regions. Various simulations are necessary for the societal implementation of autonomous driving. Building systems that operate across different platforms without relying on specific operating system software may lead to more rational and effective results.

In this instance, we will use autonomous driving simulation as an example to explain the integration between our 3-dimensional real-time software "UC-win/Road," which runs on Windows, and "Autoware," which operates on Linux, along with the middleware known as the Robot Operating System (ROS).

■ What is ROS?

● Overview

ROS is a middleware developed by the American company Willow Garage, and it has been used in robotics research worldwide since its initial release in 2007. Although "OS" is included in its name, it is different from operating systems like Windows or MacOS. ROS includes development tools and libraries, and it is positioned as middleware between the OS and applications (Figure 1).

A key feature is that processing is executed on a distributed system. Windows operates as a centralized management system, where the main processor (CPU) handles all processing and instructions. In contrast, a distributed processing system utilizes multiple processors to perform processing and execute instructions, which can lead to improved processing speed and more stable operation, making it well-suited for controlling robots.

Even in autonomous driving, ROS is more suitable because it can handle constantly changing vehicle operation information and data acquisition from sensors and cameras, and provide appropriate driving instructions based on this information.


▲Figure 1: System conceptual diagram

■ Autoware Features

● Overview

Autoware is an application developed for autonomous driving simulations using ROS. It was primarily developed by Nagoya University and released in 2015. The Autoware.AI development project has ended, and since 2018, the Autoware.Auto project has been under development, with its source code publicly available on GitLab*. .AI is geared towards research and development, while .Auto is largely based on C++, which provides high performance and stability.

● Features of each function

A summary of each function inAutoware is provided in Table 1. Essentially, these functions can be broadly categorized into three areas: 1. perception of the vehicle's surroundings, 2. route planning, and 3. path following.

High-precision three-dimensional maps are map data created through highly accurate measurements, such as point cloud data and surveys conducted by surveying companies. They represent information that accurately reflects the actual road conditions. Figure 2 shows a sample dataset for Nagoya City Moriyama Ward provided by Autoware. This dataset contains coordinates of the centerlines of each lane, arranged approximately every 1 meter, which are used as a basis for path planning and trajectory following.

In addition to pre-measured data, the system can also transmit information from cameras and LiDAR (laser sensors) that are being collected in real time while the vehicle is moving to Autoware, enabling functions for detecting and recognizing surrounding road conditions.

High-precision three-dimensional maps

Signal detection

Self-localization estimation

Signal recognition

Environmental awareness

Route planning

Sensor fusion

Obstacle avoidance

Clustering

Parking plan

Path tracking

▲Table 1: Autoware's various functions


▲Figure 2: Sample data of high-precision three-dimensional maps (Nagoya City Moriyama Ward)※2

■Methods for integrating ROS (Linux) with UC-win/Road

This document describes the specific methods for integrating UC-win/Road and Autoware. We propose a system that uses UC-win/Road to prepare the data necessary for simulations in a virtual environment, and then transmits this data to Autoware to enable autonomous driving (Figure 3).

Even on Windows PCs, it is possible to operate the Linux GUI from within Windows by using WSL (Windows Subsystem for Linux), which is provided by Microsoft. This allows the use of Autoware, a software package for Linux. Furthermore, through a ROS module called ROS Bridge, data communication with systems other than ROS becomes possible, enabling integration between UC-win/Road (Windows) and Autoware (Linux).

Autoware uses the received data to estimate its own position, plan a route, and follow that route. It then sends driving information such as steering angle, accelerator pedal amount, and brake pressure to UC-win/Road.


▲Figure 3: An illustration showing the integration between UC-win/Road (Windows) and ROS・Autoware (Linux)

UC-win/Road simulates driving within a virtual space based on the received driving information. While Autoware visualizes simulation data such as point cloud data and high-precision three-dimensional maps, UC-win/Road allows for the visualization of driving in a virtual space that closely reflects real space, enabling more practical displays and boasting excellent presentation capabilities.

■ Advantages of performing autonomous driving simulations using UC-win/Road

Autoware's autonomous driving simulations often involve using real-world roads and having vehicles equipped with GPS, cameras, lidar sensors, etc., actually drive on those roads.

However, obtaining the necessary permits to use actual roads can be a difficult process, and depending on the weather conditions on the day of the experiment, it may not always be possible to obtain satisfactory results. Furthermore, developing the actual vehicles used in the experiments, as well as cameras and LiDAR sensors, incurs significant time and financial costs.

Therefore, it is effective to repeatedly perform simulations in a VR space beforehand, extract and resolve issues identified during the simulation, and then incorporate those findings into real-world simulations. Furthermore, UC-win/Road offers an "ADAS package" specifically for autonomous driving simulations, which includes features such as lane detection and vehicle proximity sensing (Figure 4). A significant advantage is that by customizing the functions of laser sensors and camera sensors, and transmitting VR data from the virtual space created in UC-win/Road to Autoware as Lidar and camera images, it can serve as a substitute for real-world measurements and recordings.


▲Figure 4: List of functions for the UC-win/Road autonomous driving and ADAS package

■ Conclusion

In this session, we introduced ROS and Autoware running on Linux, and explained how to integrate them with Windows applications using our product, UC-win/Road, as an example. There are several ways to connect software even when the operating systems are different, and it is possible to build a system that leverages the strengths of each piece of software. We look forward to future developments.

● Notes

※1 https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto

※2 The data is displayed using Vector Map Builder (https://tools.tier4.jp/vector_map_builder/). Sample data can be obtained from the following source.
https://autoware-ai.s3.us-east-2.amazonaws.com/sample_moriyama_data.tar.gz
https://autoware-ai.s3.us-east-2.amazonaws.com/sample_moriyama_150324.tar.gz


(Featured in the Spring issue of Up&Coming '22)



Previous page
    
Index
    
Next page


Up&Coming

LOADING