Skip to content

Commit

Permalink
quick fix to simplified flag
Browse files Browse the repository at this point in the history
  • Loading branch information
andycui97 committed Apr 9, 2018
1 parent 6eb0f3b commit 406883b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym_urbandriving/envs/urbandriving_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _step(self, action, background_simplified=False,supervisor=False):
### GET ALL ACTIONS ####

for agent in self.current_state.bg_agents['background_cars']:
background_car_actions.append(agent.eval_policy(self.current_state,simplified=background))
background_car_actions.append(agent.eval_policy(self.current_state,simplified=background_simplified))

for agent in self.current_state.bg_agents['traffic_lights']:
background_traffic_actions.append(agent.eval_policy(self.current_state))
Expand Down

0 comments on commit 406883b

Please sign in to comment.