You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read your source codes and feel confused with your TorcsEnv.step function.
From line 121 to 124,
# Apply the Agent's action into torcs
client.respond_to_server()
# Get the response of TORCS
client.get_servers_input()
You send the action to the Torcs server first and then get the observations from the torcs instantly, which is used to calculate the reward. However, are you sure the server will respond to the actions before you run "client.get_servers_input()"?
The text was updated successfully, but these errors were encountered:
feiyang-cai
changed the title
How can ensure that your step reward is the true reward after the action?
How can you ensure that your step reward is the true reward after the action?
Jul 18, 2018
I read your source codes and feel confused with your TorcsEnv.step function.
From line 121 to 124,
# Apply the Agent's action into torcs
client.respond_to_server()
# Get the response of TORCS
client.get_servers_input()
You send the action to the Torcs server first and then get the observations from the torcs instantly, which is used to calculate the reward. However, are you sure the server will respond to the actions before you run "client.get_servers_input()"?
The text was updated successfully, but these errors were encountered: