Virtualization of Self-Driving Algorithms by Interoperating Embedded Controllers on a Game Engine for a Digital Twining Autonomous Vehicle
Computer simulation based on digital twin is an essential process when designing self-driving cars. However, designing a simulation program that is exactly equivalent to real phenomena can be arduous and cost-ineffective because too many things must be implemented. In this paper, we propose the meth...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2021-08-01
|
Series: | Electronics |
Subjects: | |
Online Access: | https://www.mdpi.com/2079-9292/10/17/2102 |
_version_ | 1797521516521324544 |
---|---|
author | Heuijee Yun Daejin Park |
author_facet | Heuijee Yun Daejin Park |
author_sort | Heuijee Yun |
collection | DOAJ |
description | Computer simulation based on digital twin is an essential process when designing self-driving cars. However, designing a simulation program that is exactly equivalent to real phenomena can be arduous and cost-ineffective because too many things must be implemented. In this paper, we propose the method using the online game GTA5 (Grand Theft Auto5), as a groundwork for autonomous vehicle simulation. As GTA5 has a variety of well-implemented objects, people, and roads, it can be considered a suitable tool for simulation. By using OpenCV (Open source computer vision) to capture the GTA5 game screen and analyzing images with YOLO (You Only Look Once) and TensorFlow based on Python, we can build a quite accurate object recognition system. This can lead to writing of algorithms for object avoidance and lane recognition. Once these algorithms have been completed, vehicles in GTA5 can be controlled through codes composed of the basic functions of autonomous driving, such as collision avoidance and lane-departure prevention. In addition, the algorithm tested with GTA5 has been implemented with a programmable RC car (Radio control car), DonkeyCar, to increase reliability. By testing those algorithms, we can ensure that the algorithms can be conducted in real time and they cost low power and low memory size. Therefore, we have found a way to approach digital twin technology one step more easily. |
first_indexed | 2024-03-10T08:13:36Z |
format | Article |
id | doaj.art-5be27d5cdcca4b4189b192a1b5fbb80f |
institution | Directory Open Access Journal |
issn | 2079-9292 |
language | English |
last_indexed | 2024-03-10T08:13:36Z |
publishDate | 2021-08-01 |
publisher | MDPI AG |
record_format | Article |
series | Electronics |
spelling | doaj.art-5be27d5cdcca4b4189b192a1b5fbb80f2023-11-22T10:29:57ZengMDPI AGElectronics2079-92922021-08-011017210210.3390/electronics10172102Virtualization of Self-Driving Algorithms by Interoperating Embedded Controllers on a Game Engine for a Digital Twining Autonomous VehicleHeuijee Yun0Daejin Park1School of Electronics Engineering, Kyungpook National University, Daegu 41566, KoreaSchool of Electronics Engineering, Kyungpook National University, Daegu 41566, KoreaComputer simulation based on digital twin is an essential process when designing self-driving cars. However, designing a simulation program that is exactly equivalent to real phenomena can be arduous and cost-ineffective because too many things must be implemented. In this paper, we propose the method using the online game GTA5 (Grand Theft Auto5), as a groundwork for autonomous vehicle simulation. As GTA5 has a variety of well-implemented objects, people, and roads, it can be considered a suitable tool for simulation. By using OpenCV (Open source computer vision) to capture the GTA5 game screen and analyzing images with YOLO (You Only Look Once) and TensorFlow based on Python, we can build a quite accurate object recognition system. This can lead to writing of algorithms for object avoidance and lane recognition. Once these algorithms have been completed, vehicles in GTA5 can be controlled through codes composed of the basic functions of autonomous driving, such as collision avoidance and lane-departure prevention. In addition, the algorithm tested with GTA5 has been implemented with a programmable RC car (Radio control car), DonkeyCar, to increase reliability. By testing those algorithms, we can ensure that the algorithms can be conducted in real time and they cost low power and low memory size. Therefore, we have found a way to approach digital twin technology one step more easily.https://www.mdpi.com/2079-9292/10/17/2102autonomous drivingsimulationdigital twinlane detectiongame engineOpenCV |
spellingShingle | Heuijee Yun Daejin Park Virtualization of Self-Driving Algorithms by Interoperating Embedded Controllers on a Game Engine for a Digital Twining Autonomous Vehicle Electronics autonomous driving simulation digital twin lane detection game engine OpenCV |
title | Virtualization of Self-Driving Algorithms by Interoperating Embedded Controllers on a Game Engine for a Digital Twining Autonomous Vehicle |
title_full | Virtualization of Self-Driving Algorithms by Interoperating Embedded Controllers on a Game Engine for a Digital Twining Autonomous Vehicle |
title_fullStr | Virtualization of Self-Driving Algorithms by Interoperating Embedded Controllers on a Game Engine for a Digital Twining Autonomous Vehicle |
title_full_unstemmed | Virtualization of Self-Driving Algorithms by Interoperating Embedded Controllers on a Game Engine for a Digital Twining Autonomous Vehicle |
title_short | Virtualization of Self-Driving Algorithms by Interoperating Embedded Controllers on a Game Engine for a Digital Twining Autonomous Vehicle |
title_sort | virtualization of self driving algorithms by interoperating embedded controllers on a game engine for a digital twining autonomous vehicle |
topic | autonomous driving simulation digital twin lane detection game engine OpenCV |
url | https://www.mdpi.com/2079-9292/10/17/2102 |
work_keys_str_mv | AT heuijeeyun virtualizationofselfdrivingalgorithmsbyinteroperatingembeddedcontrollersonagameengineforadigitaltwiningautonomousvehicle AT daejinpark virtualizationofselfdrivingalgorithmsbyinteroperatingembeddedcontrollersonagameengineforadigitaltwiningautonomousvehicle |