replay-recording

Replays CARLA recorder .log files with time windows, speed control, and actor following.

3|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/carla-simulator/carla-agentic-tools --skill replay-recording-carla-simulator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: replay-recording
Source: https://github.com/carla-simulator/carla-agentic-tools/tree/main/skills/python-api/replay-recording
Command: npx skills add https://github.com/carla-simulator/carla-agentic-tools --skill replay-recording-carla-simulator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires carla, and includes scripts (resource) and references (resource) components.

What problem does it solve? Replaying a CARLA recording by hand means juggling the replayer API, clearing the live scene so actors are not duplicated, and restoring the world clock — mistakes leave doubled traffic or a replay that never advances. This Skill encodes that procedure so an agent can play back any recorded run correctly. ## Core Features & Use Cases - Full or partial playback: Replay an entire .log or a time window (--start/--duration), at any speed via --time-factor, with the spectator following a chosen actor. - Scene preparation: Automatically stops resident spawn holders, returns the world to asynchronous mode, and clears existing actors before replaying so the recording is not duplicated. - Sensor and weather regeneration: Re-derive camera or lidar data from a recording with --replay-sensors, and restore recorded weather with --replay-weather. - Use Case: A user says "replay that run following car 87 at quarter speed" — the Skill checks prerequisites, clears the scene, and runs play --file /tmp/run.log --follow 87 --time-factor 0.25. ## Quick Start Ask the agent to replay the CARLA recording at /tmp/run.log, optionally specifying a time window, playback speed, or an actor id for the camera to follow.

Frequently Asked Questions about replay-recording

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replay a CARLA recording from a .log file?▼

Run the replay script's play command with the server-side .log path, for example play --file /tmp/run.log. The server re-creates the recorded scene and prints a summary; use --start and --duration to replay only a time window.

How do I change CARLA replay speed or follow a specific vehicle?▼

Pass --time-factor at play time (2.0 for double speed, 0.25 for quarter speed) or change it live with the speed command. Use --follow with the recorded actor id to make the spectator track that vehicle.

Can CARLA replay regenerate camera or sensor data from a recording?▼

Yes. The recorder stores no images, so re-attach the sensors you want and replay with --replay-sensors; the world is re-simulated and the sensors produce fresh data. --replay-weather additionally restores the recorded weather.

Why does my CARLA replay show duplicated vehicles or nothing at all?▼

A replay recreates the log's actors, so replaying into a live scene duplicates them — the script clears the scene first unless --keep-scene is set. If nothing moves, the world was left synchronous with no ticking client; the script restores asynchronous mode automatically.

What are the requirements for replaying a CARLA recording?▼

You need the carla Python module importable by the active interpreter and a reachable, already-running CARLA server with the .log on its filesystem. UE4_ROOT and a source checkout are not required; tested against CARLA 0.9.16.