Skip to content

Commit

Permalink
Update typing gym/f110_gym/envs/base_classes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luigiberducci authored Dec 26, 2023
1 parent 64605ba commit 685c57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym/f110_gym/envs/base_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def __init__(
self.ego_idx = ego_idx
self.params = params
self.agent_poses = np.empty((self.num_agents, 3))
self.agents: List[RaceCar] = []
self.agents: list[RaceCar] = []
self.collisions = np.zeros((self.num_agents,))
self.collision_idx = -1 * np.ones((self.num_agents,))
self.model = model
Expand Down

0 comments on commit 685c57a

Please sign in to comment.