From 0c6b13967db3c0d19a78a03f108bc30adbe2fec4 Mon Sep 17 00:00:00 2001 From: Tucker Date: Tue, 11 Apr 2023 10:17:43 -0400 Subject: [PATCH] Fix changed method name. --- smarts/core/actor_capture_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smarts/core/actor_capture_manager.py b/smarts/core/actor_capture_manager.py index c378978956..c7d88cf44b 100644 --- a/smarts/core/actor_capture_manager.py +++ b/smarts/core/actor_capture_manager.py @@ -89,7 +89,7 @@ def __make_new_social_vehicle(sim, agent_id, initial_speed): social_agent_spec, social_agent_model, ) - vehicles = sim.vehicle_index.vehicles_by_actor_id(agent_id) + vehicles = sim.vehicle_index.vehicles_by_owner_id(agent_id) return vehicles[0] if len(vehicles) else None