Skip to content

Commit

Permalink
Revert "Added typing to agents"
Browse files Browse the repository at this point in the history
This reverts commit 80dca9f.
  • Loading branch information
nandantumu committed Dec 12, 2023
1 parent 1f49d02 commit 8e7035c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gym/f110_gym/envs/base_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
Replacement of the old RaceCar, Simulator classes in C++
Author: Hongrui Zheng
"""
from typing import List
import numpy as np
from f110_gym.envs.dynamic_models import DynamicModel
from f110_gym.envs.action import CarAction
Expand Down Expand Up @@ -407,7 +406,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 = []
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 8e7035c

Please sign in to comment.