Skip to content
cccskills
FreePublished on GitHub

telemetry

Reads a specific actor's live telemetry from a running CARLA server — location and rotation, velocity and speed, acceleration, angular velocity, and for vehicles the control input (throttle/steer/brake), front-wheel steer angle and mass. All kinematics come from one world snapshot so they are frame-consistent. Use when the user asks "how fast is it going", "where/what heading is the car", "show the ego's telemetry", or "stream a vehicle's state". Resolve ambiguous targets with the world-data skill.

The English summary is being prepared. Showing the original description.

See how to install

Files included (5)

  • SKILL.md4.6 KB
  • references/telemetry.md1.9 KB
  • scripts/check_env.sh2.1 KB
  • scripts/env.sh1.1 KB
  • scripts/telemetry.py7.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Read actor telemetry

Paths. scripts/… and references/… below are relative to the directory holding this SKILL.md. Your working directory is the user's project, not that directory, so prefix them with its absolute path or the command is not found.

Report one actor's live state. Kinematics (transform, velocity, acceleration, angular velocity) are read from a single world.get_snapshot() so they belong to the same frame — calling the per-actor getters separately can straddle two frames and give inconsistent numbers.

Target the actor by --id (the reliable way), --role hero, --filter, --color, or --nearest --near-id N. If several still match, it stops and tells you to narrow by a distinguishing attribute or resolve the id with the world-data skill, then pass --id.

Instructions

Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh), clear FAILs
- [ ] Step 2: Resolve the target id (world-data) if the description is ambiguous
- [ ] Step 3: show a snapshot, or watch to stream it

Commands need CARLA_HOST/CARLA_PORT from scripts/env.sh.

Step 1: Check prerequisites

bash scripts/check_env.sh

Step 3: Read

source scripts/env.sh

python3 scripts/telemetry.py show --role hero            # the ego
python3 scripts/telemetry.py show --id 137               # a specific actor
python3 scripts/telemetry.py watch --id 137 --seconds 10 --hz 5    # stream

# resolve first, then read (ambiguous case)
# world-data actors --filter '*prius*' --near-id 100 --nearest   -> id=137
python3 scripts/telemetry.py show --id 137
# or directly by a distinguishing attribute
python3 scripts/telemetry.py show --filter '*prius*' --color 255,0,0

On CARLA 0.10.0 (the UE5 line: 5.5 and 5.8)

get_telemetry_data() and show_debug_telemetry() both still exist on 0.10.0, and everything this skill reads — location, rotation, velocity, acceleration, angular velocity, get_control(), get_wheel_steer_angle() — is unchanged.

The one field it touches on the physics control, mass, is also unchanged. Other physics fields were renamed wholesale by the Chaos rewrite; see [[control-vehicle]] for the mapping if you extend this skill to report them.

Sampling caveat that is not version-specific but bites hardest here: in asynchronous mode get_location() on a just-spawned actor returns the origin until the first tick lands, so a "distance travelled" computed from it is really distance-from-origin. Wait for a tick (or two) after spawning before taking a first sample.

Examples

Example 1: how fast is the ego

User says: "how fast is the ego going?"

show --role hero → speed in km/h (+ full state).

Example 2: one prius among several

User says: "telemetry of the prius near me"

world-data actors --filter '*prius*' --near-id <ego> --nearest → id, then telemetry show --id <id>.

Example 3: watch a vehicle accelerate

User says: "stream the ego's speed for 10 s"

watch --role hero --seconds 10 --hz 5.

Troubleshooting

Problem: "N actors match — disambiguate" Cause: --filter is ambiguous. Solution: use world-data to pick one, then pass --id.

Problem: speed/accel are zero or jumpy Cause: the world isn't advancing (sync mode without ticks), or the actor is idle. Solution: tick the world (set-world-settings) or run async; the snapshot keeps the reads frame-consistent regardless.

Problem: no wheel/control info Cause: the actor isn't a vehicle (walkers/sensors have no VehicleControl). Solution: expected; those show only transform/velocity/acceleration.

Outputs

Text telemetry (one snapshot, or a stream). No world change.

Detail (frame-consistent snapshot reads, the fields, vehicle-specific state) in references/telemetry.md.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Adds a new ROS 2 message type to CARLA's native ROS 2 interface — the hand-written POD struct under LibCarla/source/carla/ros2/types/msg, its Fast-CDR serialize/deserialize pair, the RIHS01 type hash computed in Docker, the CdrTopicInfo registration and the type-hash test. Use when the user asks to "add a ROS message type", "support sensor_msgs/X in CARLA", "add a carla_msgs type", "why is my type hash warning appearing", or needs a message CARLA does not publish yet. There is no IDL codegen — every step is manual.

The English summary is being prepared. Showing the original description.

carla-simulator/carla-agentic-tools4Updated Sep 12, 2026

Adds a new topic to CARLA's native ROS 2 interface — a publisher (BasePublisher + PublisherImpl, topic suffix, QoS, registration in ROS2::GetOrCreateSensor, a ProcessDataFrom* entry point and its call site in the UE4 plugin) or a subscriber that lets ROS drive an actor. Also covers adding a middleware (RMW) behind IPublisherMiddleware. Use when the user asks to "publish X to ROS from CARLA", "add a ROS topic/publisher/subscriber", "make the obstacle/lane-invasion sensor publish", "add odometry to ROS", or "add another RMW".

The English summary is being prepared. Showing the original description.

carla-simulator/carla-agentic-tools4Updated Sep 12, 2026

Reads and summarises ScenarioRunner output — the criteria pass/fail tables from --output/--file, the machine-readable --json and --junit result files, and the criteria JSON written alongside a --record recording — and runs the metrics module (metrics_manager.py) to compute custom measurements over a recorded run offline, without the simulator. Use when the user asks "did the scenario pass", "why did it fail", "summarise these results", "compare these runs", or wants distance/speed/lane metrics from a recording.

The English summary is being prepared. Showing the original description.

carla-simulator/carla-agentic-tools4Updated Sep 12, 2026

Gets actor and level 3D bounding boxes and projects them into a camera image as 2D boxes — the dataset-annotation workflow. Lists box geometry, draws 3D boxes in the world via debug, or captures one camera frame and writes an annotated PNG plus a JSON of 2D boxes for matching actors. Use when the user asks to "get bounding boxes", "draw boxes around the cars", "project boxes onto the camera", or "generate a detection dataset / annotations".

The English summary is being prepared. Showing the original description.

carla-simulator/carla-agentic-tools4Updated Sep 12, 2026

Builds CARLA (branch ue4-dev, Unreal Engine 4.26) from source on Linux end-to-end — UE4 fork, the Carla server (editor C++ modules), the LibCarla Python client wheel, and content — then verifies them against a from-source server. Optionally builds the native ROS 2 interface in (ROS2=1 → --ros2, Fast-DDS/CycloneDDS/Zenoh), which is compile-time only and cannot be enabled later. Use when the user asks to "build CARLA from source", "compile CARLA ue4-dev", "set up CARLA on Ubuntu (incl. 24.04)", "build CARLA with ROS2 support", or "produce a CARLA server + client wheel". Cooking a distributable Dist/ package is a separate skill (package-carla-ue4); running the build is run-carla-server.

The English summary is being prepared. Showing the original description.

carla-simulator/carla-agentic-tools4Updated Sep 12, 2026

Builds CARLA on Unreal Engine 5.8 from the ue58-dev branch using its CMake build system — configure a preset, then build the carla-unreal / carla-unreal-editor / carla-python-api-install / launch targets — with ROS 2, DLSS, RSS and cook-scope options, and the engine-side build of the CarlaUnreal UE 5.8 fork. There is no Makefile and no Util/BuildTools in this tree, so every UE4 `make` recipe is invalid here. Use when the user asks to "build CARLA UE5", "build ue58-dev", "compile CARLA with cmake", "rebuild the Python API", or hits a CMake configure or target failure.

The English summary is being prepared. Showing the original description.

carla-simulator/carla-agentic-tools4Updated Sep 12, 2026

See all skills by carla-simulator

Report a problem with this skill