前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >自动驾驶模拟调研

自动驾驶模拟调研

作者头像
用户1908973
发布2018-07-24 16:32:45
3260
发布2018-07-24 16:32:45
举报
文章被收录于专栏:CreateAMindCreateAMind

https://github.com/openai/universe

https://www.vg247.com/2017/01/12/gta-5-is-being-used-to-train-and-test-self-driving-cars-although-you-do-have-to-switch-off-the-violence/

但是universe在gta上好像停止合作了。

udacity 模拟:

https://github.com/udacity/self-driving-car-sim

self-driving car simulator built with Unity https://unity3d.com/unity

微软模拟:

https://www.microsoft.com/en-us/research/project/aerial-informatics-robotics-platform/

https://github.com/Microsoft/AirSim




Using Python programming to Play Grand Theft Auto 5

Explorations of Using Python to play Grand Theft Auto 5, mainly for the purposes of creating self-driving cars and other vehicles.

We read frames directly from the desktop, rather than working with the game's code itself. This means it works with more games than just GTA V, and it will basically learn (well, attempt to learn...) whatever you put in front of it based on the frames as input and key presses as output.

Pull requests are welcomed.

Currently, to use the latest version of this AI, you will need to run first "create_training_data.py," then balance this data with "balance_Data.py."

When creating training data, this works when you have the game in windowed mode, 800x600 resolution, at the top left of your screen. You need this for both training and testing. Eventually we can go off the window's name, but, for now, the current code wants the window in the corner.

Do this for as many files/training samples as you wish. I suggest 100K+ after balancing, but the more the merrier.

Next, Train the model with train_model.py.

Finally, use the model in game with test_model.py.

...you'll probably want to poke into the tutorials here: https://pythonprogramming.net/game-frames-open-cv-python-plays-gta-v/. If you need tutorials on deep learning, or tensorflow, or tflearn, see here: https://pythonprogramming.net/tensorflow-introduction-machine-learning-tutorial/

视频介绍:

https://www.youtube.com/playlist?list=PLQVvvaa0QuDeETZEOy4VdocT7TOjfSA8a

gta相关资源:

gta windows: https://github.com/crosire/scripthookvdotnet

This is an ASI plugin for Grand Theft Auto V, based on the C++ ScriptHook by Alexander Blade, which allows running scripts written in any .NET language in-game.

https://www.gtamodding.com/wiki/Native_function

in-game tasks (such as manipulating peds, vehicles, displaying texts, etc),

http://dev-c.com/nativedb/

https://www.gtamodding.com/wiki/List_of_native_functions_(GTA_V)

http://www.dev-c.com/gtav/

https://gist.github.com/BeauBouchard/c496fcd231c3d06fced5

gtx install run in ubuntu

gta现在只能视觉,无激光雷达,ros可以激光雷达模拟。

招聘信息请公众号回复招聘

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2017-05-10,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 CreateAMind 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Using Python programming to Play Grand Theft Auto 5
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档