From 8e7035c9e5a9c7d595977967030e6481251f52f6 Mon Sep 17 00:00:00 2001 From: nandantumu Date: Tue, 12 Dec 2023 16:21:51 -0500 Subject: [PATCH] Revert "Added typing to agents" This reverts commit 80dca9fe66523b561961b7caf9c8e70aba52144c. --- gym/f110_gym/envs/base_classes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gym/f110_gym/envs/base_classes.py b/gym/f110_gym/envs/base_classes.py index e352fd80..055817f8 100644 --- a/gym/f110_gym/envs/base_classes.py +++ b/gym/f110_gym/envs/base_classes.py @@ -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 @@ -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