본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트15k · #11104

telemetry

하는 일

이 스킬은 CARLA 시뮬레이션 안에 있는 한 객체의 현재 상태, 예를 들어 위치, 속도, 방향을 보고합니다. 시뮬레이션 차량이 어떻게 움직이는지 확인하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓주요 테스트 차량이 지금 얼마나 빠르게 가는지 알고 싶을 때.
  • ✓시뮬레이션에서 특정 차량의 위치와 방향이 필요할 때.
  • ✓시뮬레이션이 진행되는 동안 차의 실시간 값을 지켜보고 싶을 때.

스킬 링크

https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/python-api/telemetry/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/python-api/telemetry/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“CARLA 시뮬레이션에서 내 테스트 차량이 지금 얼마나 빠르게 달리고 있고, 어느 방향을 보고 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 시뮬레이션 전체의 스냅샷을 한 번 찍어, 모든 값이 같은 순간에 속하도록 합니다. 그다음 지정한 차량을 찾아 값을 보여 주며, 계속 스트리밍할 수도 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.

자주 묻는 질문

올바른 차량은 어떻게 찾나요?

ID, hero 같은 역할, 색상, 또는 한 지점에서 가장 가까운 차량으로 지정할 수 있습니다.

차량에 대해 어떤 값을 보여 주나요?

위치, 회전, 속도, 가속도, 그리고 차량의 스로틀, 조향, 브레이크 입력값입니다.

조건에 맞는 차량이 두 대 이상이면 어떻게 되나요?

스킬이 멈추고 범위를 좁혀 달라고 요청하므로, 잘못된 차량의 값을 받지 않게 됩니다.

상세 정보

작성자의 원본 설명

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.

repo: carla-simulator/carla

인기도

GitHub 스타
15k
순위
#11104
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬