자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · design vision...

35
자율 이동로봇을 위한 센서퓨젼 및 네비게이션 알고리즘 개발 김종헌, MathWorks

Upload: others

Post on 26-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발김종헌, MathWorks

Page 2: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Smart Autonomous Package Delivery

1

②Warehouse

Automation

① Autonomous

Driving

③ Last Mile Delivery

Manufacturer

Consumer

Page 3: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Capabilities of an Autonomous System

Perception

Some common perception tasks

▪ Design localization algorithms

▪ Design environment mapping algorithms

▪ Design SLAM algorithms

▪ Design fusion and tracking algorithms

▪ Label sensor data

▪ Design deep learning networks

▪ Design radar algorithms

▪ Design vision algorithms

▪ Design lidar algorithms

▪ Generate C/C++ code

Perception

Page 4: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Capabilities of an Autonomous System

Learning Algorithms

Optimization

Planning

Perception

Some common planning tasks

▪ Visualize street maps

▪ Connect to HERE HD Live Map

▪ Design local and global path planners

▪ Design vehicle motion behavior planners

▪ Design trajectory generation algorithms

▪ Generate C/C++ code

Planning

3

Page 5: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Capabilities of an Autonomous System

Planning

Control

Perception

Some common control tasks

▪ Connect to recorded and live CAN

data

▪ Design reinforcement learning

networks

▪ Model vehicle dynamics

▪ Automate regression testing

▪ Prototype on real-time hardware

▪ Design path tracking controllers

▪ Design model-predictive controllers

▪ Generate production C/C++ code

▪ Generate AUTOSAR code

▪ Certify for ISO26262

Control

4

Page 6: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

5

Perception

Planning

Control

In This Talk, You Will Learn

Reference workflow for autonomous navigation

systems development

MATLAB and Simulink capabilities to design, simulate,

test, deploy algorithms for sensor fusion and

navigation algorithms

• Perception algorithm design

• Fusion sensor data to maintain situational

awareness

• Mapping and Localization

• Path planning and path following control

Page 7: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

6

Scenario Definition and Sensor

Simulation

Ownship

Trajectory

Generation

INS (IMU, GPS)

Sensor

Simulation

Sensor DataMulti-object

Trackers

Actors/

Platforms

Lidar, Radar, IR,

& Sonar Sensor

Simulation

Fusion for

orientation and

position

rosbag data

Many Options to Bring Sensor Data to Perception Algorithms

SLAM

Visualization

&

Metrics

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Page 8: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Simulate sensorsDefine scenarios

Live Data Can Be Augmented for a More Robust Testbench

Planning

Control

Perception

• Tracking

• Localization

• Mapping

7

Page 9: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Autonomous Systems Can Track Objects from Lidar Point Clouds

Track Objects Using Lidar: From Point Cloud to Track List

Track surrounding objects during automated lane change

Planning

Control

Perception

• Tracking

• Localization

• Mapping

8

Page 10: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

2D radar Can Be Used to Track Position, Size, and Orientation

Planning

Control

Perception

• Tracking

• Localization

• Mapping

9

Page 11: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Fusing Multiple Sensor Modalities Provides a Better Result

Planning

Control

Perception

• Tracking

• Localization

• Mapping

10

Page 12: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Radar and Lidar Fusion Can Increase Tracking Performance

11

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Ground truth

False trackby LIDAR

Track LevelFusion

Page 13: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Radar and Lidar Fusion Can Increase Tracking Performance

12

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Page 14: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Estimate the Pose Using Monte Carlo Localization

13

Particle Filter

Planning

Control

Perception

• Tracking

• Localization

• MappingMotion Model

(Odometry readings)

Sensor Model

(Lidar scan) Known Map

Page 15: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

– Support dynamic environment changes

– Synchronization between global and local maps

What is the World Around Me?Egocentric occupancy maps

Dynamic Environment

Planning

Control

Perception

• Tracking

• Localization

• Mapping

14

Page 16: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

15

3D map for UAV motion planning

3D map for Autonomous Driving

Planning

Control

Perception

• Tracking

• Localization

• Mapping

What is the World Around Me?3D Occupancy Map

Page 17: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Build a map of an unknown environment while simultaneously

keeping track of robot’s pose.

SLAM

Where Am I in the Unknown Environment?Simultaneous Localization and Mapping (SLAM)

2D Lidar SLAM

16

Page 18: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Simultaneous Localization and MappingSLAM Map Builder App (2D only)

App enables more interactive and user-friendly workflow

17

Planning

Control

Perception

• Tracking

• Localization

• Mapping

SLAM

Page 19: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Point Cloud Processing

Local MappingLoop Closure

DetectionPose Graph Optimization

Map representation

Computer Vision Navigation

Simultaneous Localization and Mapping3D Lidar SLAM

18

Planning

Control

Perception

• Tracking

• Localization

• Mapping

SLAM

Page 20: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Simultaneous Localization and Mapping3D Monocular Visual SLAM (ORB-SLAM)

Planning

Control

Perception

• Tracking

• Localization

• Mapping

SLAM

Page 21: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Plan a path from start to destination

Planning

Control

Perception

• Tracking

• Localization

• MappingInitial

LocationGoal

Location

Global

Planning

Local Re-

planning

20

Page 22: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

21

Plan a Path from Start to Destination

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Global Planning Behavior Planning Local Re-planning

Path planning

algorithms

High-level decision

making

Trajectory

generation

Page 23: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Urban Driving Needs Planning on Multiple LevelsGlobal, behavior, and local planners

Generate optimal trajectories for local re-planning and merge back with the global plan

22

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Page 24: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

23

Simulate shortest path to change lanes on a highway

Simulate trajectory generation and the lane change maneuver

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Page 25: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

24

Mission planning for UAV leads to last mile delivery

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Page 26: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

25

Choose a path planner based on your application

Sampling-based planners such as RRT* Use path metrics to compare different paths

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Page 27: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Computes angular

velocity from this desired

curvature

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Compute Control Commands for Ground Vehicles

Compute linear and angular velocity commands for a mobile robot

26

Page 28: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Send Control Commands to the Vehicle to Follow the Planned Path

Calculate the steering angle and vehicle velocity to track the trajectories

28

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Page 29: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

29

Control Lane Change Maneuver for Highway Driving

Longitudinal and Lateral Controllers to adjust the acceleration and steering

Planning

Control

Perception

• Tracking

• Localization

• Mapping

Page 30: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

30

Simulate High-Fidelity UAV Model with Waypoint Following

Approximate High-Fidelity Model with Low-Fidelity Model

Roll Angle

Air Speed

Height

Simulate GPS and IMU sensor models Waypoint following controller

Page 31: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Test Sensor Fusion and Navigation Algorithms

by Deploying Them to Hardware

31

Perception

Planning

Control

HDL

Code

C/C++

Code

GPU

Code

Processors

FPGAs GPUs

ROS Node(roscpp code)

Page 32: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Full Model Based Design Workflow for Autonomous Systems

Autonomous Algorithms

Sensor Fusion and

Tracking Toolbox

Automated Driving

Toolbox

Computer Vision

Toolbox

Model Predictive

Control Toolbox

Reinforcement

Learning Toolbox

Stateflow

Navigation

Toolbox

Platform MATLAB Simulink

Verification & Validation

Robotics System

Toolbox

Connect / Deploy Code Generation

AUTOSAR BlocksetROS Toolbox

Perceive

Sense

Plan &

Decide

ControlImage Acquisition

Toolbox

32

Page 33: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

There Are Many Resources to Get Started with

Demos

33

https://www.youtube.com/chann

el/UC6Zjgg_0PQBm96aHeiXrjXQ

Whitepapers

Tech Talks in YoutubeProduct pages

Page 34: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product

Control

In This Talk, We Learnt About..

PlanningPerception

Tracking

Mapping

Localization

Path Following / TrackingLocal Re-planning

Global/Mission Planning

34

Page 35: 자율이동로봇을위한센서퓨젼및네비게이션알고리즘개발€¦ · Design vision algorithms ... 3D map for Autonomous Driving Planning Control Perception ... Product