duckietown / gym-duckietown

Self-driving car simulator for the Duckietown universe
http://duckietown.org
Other
45 stars 16 forks source link

Fix bug : compute_reward parameter 'self.robot_speed' to 'self.speed' #158

Closed chuyj closed 5 years ago

chuyj commented 5 years ago

self.robot_speed is a constant value set to 1.2 The reward was computed without taking the actual speed into consideration. The argument for the parameter "speed" of function "compute_reward" should be self.speed.

bhairavmehta95 commented 5 years ago

Thanks!