From a15ca0b2e19ffd9be0f40a267b5f45ef6e8d99ff Mon Sep 17 00:00:00 2001 From: Tucker Date: Thu, 3 Nov 2022 23:32:44 -0400 Subject: [PATCH] Fix envision test --- smarts/core/smarts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smarts/core/smarts.py b/smarts/core/smarts.py index 496b12442f..b74b05f31e 100644 --- a/smarts/core/smarts.py +++ b/smarts/core/smarts.py @@ -1498,7 +1498,7 @@ def _try_emit_envision_state(self, provider_state: ProviderState, obs, scores): mission_route_geometry = ( self._vehicle_index.sensor_state_for_vehicle_id( v.actor_id - ).plan.route.geometry + ).get_plan(self.road_map).route.geometry ) else: actor_type = envision_types.TrafficActorType.SocialAgent