-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable running multiple torcs #3
base: master
Are you sure you want to change the base?
Conversation
Thank you for your great work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please specify relaunch_torcs
in line 560 of snakeoil3_gym.py
.
Your Client class expect relaunch_torcs
in C= Client(p=3101)
.
Does it allow to run multiple instances in vision mode? As far as I understood from #10, they use the image from TORCS' gui, so I guess it is complicated to get the image from multiple instances? |
Hey guys, |
This PR enables running multiple torcs instances, each of which is controlled by different
TorcsEnv
instances. It would helpful if you run multiple experiments at the same time, or running parallel RL algorithms.After this PR, if you want to run multiple torcs, just create
TorcsEnv
instances with differentport
values.-title
option totorcs
so that its window title can be changedxdotool
instead ofxte
so that it can specify which window to control by its titleTorcsEnv
andClient
accordingly