Skip to content
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

Refactor for donkeycar #5

Open
GoldenWings opened this issue Apr 7, 2019 · 3 comments
Open

Refactor for donkeycar #5

GoldenWings opened this issue Apr 7, 2019 · 3 comments

Comments

@GoldenWings
Copy link

GoldenWings commented Apr 7, 2019

I am trying to refactor the code to work with 1/10 car http://donkeycar.com.
But i wanted to know few things in gym_torcs.py line 72
action_torcs = client.R.d and line 127 obs = client.S.d is n't those actions are the same or i am missing something?

@GoldenWings
Copy link
Author

Also i wanted to know what is the use of rewards i cant see where it is been used except for writing it to desk.

@avisingh599
Copy link
Owner

Reward are not really used in any way by the algorithm, they are only used for tracking the progress of the algorithm.

@avisingh599
Copy link
Owner

I wrote the code a long time ago, so I don't clearly remember the TORCS interface, but I am guessing that that line 72 is used for applying an action to the car, while line 127 is used for obtaining a complete observation (from which images are later extracted) from the current game state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants