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