Skip to content

Commit

Permalink
Add render_mode attribute to PZ env
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasAlegre committed May 28, 2024
1 parent f2d1d87 commit 2a8b6e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sumo_rl/environment/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ def __init__(self, **kwargs):

self.seed()
self.env = SumoEnvironment(**self._kwargs)
self.render_mode = self.env.render_mode

self.agents = self.env.ts_ids
self.possible_agents = self.env.ts_ids
Expand Down

0 comments on commit 2a8b6e5

Please sign in to comment.