From 35a1b268e442332acc3cb12f22ccfea5072fabe8 Mon Sep 17 00:00:00 2001 From: Saul Field Date: Mon, 1 May 2023 13:12:29 -0400 Subject: [PATCH] Don't reassign agent interface in sensors --- smarts/core/sensors/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/smarts/core/sensors/__init__.py b/smarts/core/sensors/__init__.py index 493d2db7d8..1eb9fddd3f 100644 --- a/smarts/core/sensors/__init__.py +++ b/smarts/core/sensors/__init__.py @@ -285,7 +285,6 @@ def process_serialization_safe_sensors( ) if neighborhood_vehicle_states_sensor: neighborhood_vehicle_states = [] - interface = sim_frame.agent_interfaces.get(agent_id) interest_pattern = ( interface.done_criteria.interest.actors_pattern if interface is not None