diff --git a/smarts/core/vehicle.py b/smarts/core/vehicle.py index 8222b4abc3..d29ca93af7 100644 --- a/smarts/core/vehicle.py +++ b/smarts/core/vehicle.py @@ -570,7 +570,10 @@ def attach_sensors_to_vehicle(sim, vehicle, agent_interface, plan): lookahead = agent_interface.signals.lookahead vehicle.attach_signals_sensor( SignalsSensor( - vehicle=vehicle, road_map=sim.road_map, lookahead=lookahead + vehicle=vehicle, + road_map=sim.road_map, + lookahead=lookahead, + include_foes=agent_interface.include_foes, ) )