carla hardware-in-the-loop chil · 2020. 3. 30. · - we can visualise lidar in real time using...

17
CHIL CARLA HARDWARE-IN-THE-LOOP AMALNNATH PARAMESWARAN | SAVAN PATEL | JUSTIN KAIPADA | GEORGE ZAKHAROV 1

Upload: others

Post on 17-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

CHIL CARLA HARDWARE-IN-THE-LOOP

AMALNNATH PARAMESWARAN | SAVAN PATEL | JUSTIN KAIPADA | GEORGE ZAKHAROV 1

Page 2: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

OBJECTIVE- To develop and design a platform for autonomous vehicle research- To develop and design a testing bench to perform integration testing on existing vehicle

components (Instrument Cluster, Infotainment System, etc)- Designed to be modular and cost effective

2

Page 3: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

WHAT IS CARLA?- An open-sourced simulator for autonomous driving research

3

Page 4: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

OVERVIEW OF FEATURES- Lane Assist- Instrument Cluster Integration- Steering Wheel Kit Integration- Obstacle Detection- Infotainment Unit Integration- Driver Monitoring System- Custom Map (In Progress)

4

Page 5: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

Existing Solutions● Costly● Non-Modular● Closed Loop● Proprietary● Vehicle-Specific● Immobile Platforms

5

Page 6: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

Solution ArchitectureDiagram

6

Page 7: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

LANE ASSIST- Uses OpenCV to find the lines before-hand to make sure the car is in the middle of the two

lines

- PROCESSING- Grayscale- Gaussian Blur - Used to blur the result to get more defined lines- Canny Edge Detection - Detects all the edges of an item- Region of Interest - Cut out a window for where to detect lines- Hough Lines - Detects lines

7

Page 8: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

OBSTACLE DETECTION using LiDAR- LiDAR in CARLA is simulated using ray tracing and simulated rotational effects. - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis.- We can export captured data and view it in depth(Eg: using Blender) for detailed analysis.

Obstacle detection

- Detect object using a bounding box based collision system, simple and effective algorithm.

- Monitor and area anywhere near the car, if any unusual points appear above the ground that could be a possible obstacle, warn the user or apply breaks.

8

Page 9: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

INFOTAINMENT UNIT- Eonon GA2176 (Android 9.0)- Interface over ADB- Mimic backup camera using HDMI converter

9

Page 10: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

INFOTAINMENT INTEGRATION- Launch applications via ADB

- Maps, AVIN (Backup Camera), Custom Alert Indicator App

- Geo-spoof our location via ADB- Preset list of coordinates which are iterated and spoofed on head unit to simulate movement of vehicle

- Simulate a backup camera- Treats infotainment unit as a 2nd display and displays CARLA backup camera in an OpenCV window in 2nd screen

10

Page 11: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

DRIVER MONITORING SYSTEM- Searches for facial features that it can detect (eyes, nose, chin, etc.) to identify a face- Uses eye tracking algorithm to check if user is facing the road- If the user is not facing the road, it will launch a warning to the user after 3 seconds of not

detecting the eyes and face- Uses a standard webcam - Logitech C920, can use any webcam that has a RGB sensor

11

Page 12: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

CUSTOM MAP- Design using RoadRunner application- Export map file and compile it with CARLA server source code

12

Page 13: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

Custom Map Issues● CARLA not a finished product, builds are not stable.● Windows based building of executable has issues, fails.● Need to re-build executable with special plugins for importing custom maps.● No open-source alternatives available for custom maps.● Black-box nature of this feature leaves limited options.

13

Page 15: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

Technologies

15

Page 16: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

THE ENDANY QUESTIONS?

16

Page 17: CARLA HARDWARE-IN-THE-LOOP CHIL · 2020. 3. 30. · - We can visualise LiDAR in real time using PyGame, this is done in 2D by dropping the Z-axis. - We can export captured data and

Trailer Video Linkhttps://youtu.be/lZmZKLm0mFg

17