-
Notifications
You must be signed in to change notification settings - Fork 6
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
Linux Version #8
Comments
Currently, it is Windows-only. I did try once to install it on Linux using Proton and it was working fine, but we still need to test the plugin interface and adapt the command issuing, which currently uses vJoy (Windows-only). We are planning to implement this at some point, but if you would like to contribute, you are more than welcome! |
I see, thanks for the quick reply! Yes I also just downloaded the game and it was working fine, currently trying to make the plugin work using uinput but still in progress. Will let you know if it works! |
I wonder what is the range of the input when setting: env.set_actions(np.array([steer, throttle, brake])). Is it all -1 to 1 or something else? I noticed that there are several conversions being done when mapping the raw input to self.steer, self.acc and self.brake in car_control.py |
For the Steering:Each car has a fixed maximum steering wheel angle that, as far as I know, cannot be changed. For example, the GT3 car has a maximum steering angle of +-320 degrees, while the Dallara has a maximum of +-240 degrees. In In our experiments, we initially scaled the steering input to constrain it slightly. In ac_client.py: self.scale_steer = 0.6 # An input of 1 was scaled to this value However, this scaling didn’t have much effect, so you can safely ignore and remove it. Therefore, in When working with human demonstations, we needed a mapping information to correctly load the demonstrations (i.e., to map the steering wheel angle read from telemetry to actions). These values are specified in the configuration file. For the Throttle and Brake:The throttle and brake inputs map To Debug:To debug, check the following variables to get feedback directly from AC, not from
|
I see, thank you so much! I will take a closer look at them during winter break. The current setup on linux works for me right now:
|
Wow, this is great news!
|
|
Cool! It's doing a slightly slower lap time for some reason. I’ll give it a try. Maybe training from scratch.
I’ll merge this and add you as a contributor. Or, if you prefer, go ahead and make a pull request. Thanks! |
|
Thanks for the amazing work! I am wondering is there a way to run this game and this repo in linux OS? It seems that the current setup is on windows.
Looking forward to your reply!
The text was updated successfully, but these errors were encountered: