Teenage programmer brings real-life self-driving car technology to the blockbuster game GTA 5
Unmanned cars are considered the future technology and have been attracting the attention of many large companies over the past 5 years, including Apple. It's true that we already have auto cars, but the technology still has many limitations that need to be fixed in the future. In particular, factors to ensure safety for users need to be placed on top. In addition, the price issue is also a major obstacle that makes driverless cars not really able to become popular in the world.
However, all of the above problems will be handled well if you put this technology into . video games. Recently, 15-year-old programmer Leon Hillman used the open source code of Comma.ai - a company specializing in researching unmanned cars, and applying it to the game Grand Theft Auto 5 (GTA 5).
The teen programmer makes his own car-driving technology in the blockbuster game GTA 5.
If you do not know, driving vehicles, especially cars, is an indispensable part of any GTA series. However, the problem is that most players will never obey the traffic rules in these games. As soon as they get in the car, they will immediately fly straight to the task site without regard for the roads or traffic conditions, and sometimes will cause many catastrophic virtual accidents.
That's not to mention some gamers who are too lazy to want to drive a bit at all and accept to spend some money to catch a taxi for fast. But the downside of this feature is that you will not be able to admire the wonderful surroundings that GTA creates, which only those who drive themselves can enjoy. Therefore, Leon's initiative can be considered as a perfect solution, both to help you free hands without driving the car, but you can enjoy the virtual street landscape in GTA 5.
Collisions, car accidents are an indispensable "specialty" in the GTA series.
On the other hand, recently Comma.ai has allowed users to equip specialized software called Openpilot for models of Honda and Toyota. This software has the ability to automatically identify lanes as well as cruise control, perfect for use in normal traffic and on highways. And yet, Openpilot is also an open source so anyone can integrate support for many other types of media.
Inside the car, Comma.ai is equipped with a camera system that displays both the driver's image and the street view function; 1 tablet to give notifications to the driver; and a cable system that helps the media connect to the Openpilot software. On Comma.ai's official website, there is a basic explanation of how the software works: ' Openpilot works by collecting data from the car's built-in radar and incorporating the built-in camera. hard to identify tasks like speeding, braking, or steering . '
Comma.ai is a company specializing in self-driving cars.
Back to our teenage hacker, Leon 'littlemountainman' Hillmann is a programmer living in Munich. He shared the biggest difficulty in integrating Openpilot with GTA 5 is to help these two programs can identify and interact with each other. Openpilot will collect data both from the game camera (the player's perspective) and the camera on the virtual vehicles in the game.
Leon said: ' The vehicles in GTA do not own CAN (control area network) - a type of serial communication protocol that is very effective for real-time control applications with a high level of safety; or module IMU (inertial measurement unit), including accelerometer and rotation sensor. So the first step I had to do was to build a whole new car interface for GTA, based on a 2018 Honda Civic before I could integrate Openpilot into the game . '
Leon spent about two weeks writing code for tasks like braking, filling up or controlling the steering wheel. After that, he continued to handle all that he had programmed to work with the Xbox controller. Now he has his own version of Openpilot for GTA 5.
Leon had to use two different computers and a webcam to carry out his project.
Sharing on GitHub, he said: ' You will need 2 PCs, 1 Windows with full Xbox driver, and 1 Ubuntu 16.04, with a webcam connection to run Openpilot. I think this webcam should have a minimum of 1080p resolution, I personally use Logitech C920, but the quality is not really outstanding . '
The idea of driving self-driving car technology into video games actually came a few years ago. Some companies even apply this method to their AI training. This is a safe plan, to minimize accidents in human life during the trial of this technology.
You should read it
- Take a ride on Tesla's self-driving car and watch the self-driving Tesla car video on the real road
- How to handle frosted glass, blurry mirror for drivers when it is raining
- Computer manufacturing Nvidia can drive automatically
- How to use Cars 4D + automotive screenings and 4D car kits
- Elon Musk: Tesla's self-driving car will amaze the world
- Can self-driving cars solve traffic jams?
- Not only can lighting LEDs, potatoes can be made into a self-driving car running at 7.3m / day.
- New simulation technology significantly improves safety for self-driving cars
- Great way to drive cars safely for women
- How to avoid being mistaken 'brake pedal and accelerator'?
- Is China's self-driving car gradually surpassing its American rivals?
- Which time is reasonable for automobile maintenance?
Maybe you are interested
How to download GTA 5, install Grand Theft Auto V on computers and laptops
When will GTA 6 release? Plot, characters and game configuration
GTA San Andreas code, street robbery command GTA San Andreas game
GTA San Andreas codes for vehicles
GTA Vice City command codes, Grand Theft Auto: Vice City cheats
List of GTA Vice City codes, Grand Theft Auto cheats