Open yanpanlau opened 8 years ago
Hi yanpanlau,
In my code, still it's ugly, I used xautomation to automatically start the race in TORCS. "autostart.sh" defines race start commands in TORCS, so you will be able to start your race by modifying autostart.sh appropriately.
Hi yanpanlau, I ran into the same problem even in practice mode and I really got no idea about that. Have you solved that problem?
@yanpanlau Hi yanpanlau, When I try to train the model implemented by you, sometimes gym_torcs crash spontaneously. To be more specific, It seems that the Client or Server crashs, so there is no more information from the Simulator side to Agent. Did you ever meet this problem?
The terminal information is like this:
('Ep:', 4, 'St:', 1234, 'Ac:', [-1.0, 0.0, 0.0], 'Re: 0.0', 'Loss: 0', 'Sp: -0.0') ****Now we apply the brake*** . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hi~Currently I can run snakeoil3_gym.py in Practice mode. Can I ask how can I run snakeoil3_gym.py in other racing mode? I start torcs --> Race --> Non-Championship Race --> New Race
Then on another terminal I run python snakeoil3_gym.py but I got the following error
ben@i5:~/torcs_race$ python snakeoil3_gym.py Waiting for server on 3101............ Count Down : 5 Waiting for server on 3101............ Count Down : 4
The above procedure works for Practice Mode...
Thanks