fmirus / torcs-1.3.7

patched version of torcs1.3.7 including the scr-server and a patch to send the game image to another application
GNU General Public License v2.0
37 stars 33 forks source link

modify the properties of other vehicles. #8

Closed Aarnnity closed 3 years ago

Aarnnity commented 3 years ago

Hi, I installed torcs in Ubuntu 16.04. Recently, I want to train DDPG on multiple lanes, but the added other vehicles are always easy to send collisions, so I want to modify the properties of other vehicles, such as their speed. But there has been no progress. Do you know anything about this?

fmirus commented 3 years ago

Hi @Aarnnity , there are plenty of AI-drivers ready to use TORCS already comes with, please check out the folder

torcs-1.3.7/src/drivers

If those drivers are not able to do what you want them to do, you can implement additional drivers yourself. There is a robot tutorial available here. Although this tutorial targets an older version of TORCS, it should work fine with version 1.3.7 as well. Furthermore, you could also use the scr_server to implement very simple drivers in Python for instance. Hence, I do not think that this is really an issue of the current code-base. Therefore, closing this issue.

Aarnnity commented 3 years ago

Hi @Aarnnity , there are plenty of AI-drivers ready to use TORCS already comes with, please check out the folder

torcs-1.3.7/src/drivers

If those drivers are not able to do what you want them to do, you can implement additional drivers yourself. There is a robot tutorial available here. Although this tutorial targets an older version of TORCS, it should work fine with version 1.3.7 as well. Furthermore, you could also use the scr_server to implement very simple drivers in Python for instance. Hence, I do not think that this is really an issue of the current code-base. Therefore, closing this issue.

okey, thank you!