telemetry
하는 일
이 스킬은 CARLA 시뮬레이션 안에 있는 한 객체의 현재 상태, 예를 들어 위치, 속도, 방향을 보고합니다. 시뮬레이션 차량이 어떻게 움직이는지 확인하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓주요 테스트 차량이 지금 얼마나 빠르게 가는지 알고 싶을 때.
- ✓시뮬레이션에서 특정 차량의 위치와 방향이 필요할 때.
- ✓시뮬레이션이 진행되는 동안 차의 실시간 값을 지켜보고 싶을 때.
스킬 링크
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/python-api/telemetry/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“CARLA 시뮬레이션에서 내 테스트 차량이 지금 얼마나 빠르게 달리고 있고, 어느 방향을 보고 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 시뮬레이션 전체의 스냅샷을 한 번 찍어, 모든 값이 같은 순간에 속하도록 합니다. 그다음 지정한 차량을 찾아 값을 보여 주며, 계속 스트리밍할 수도 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Read actor telemetry
Paths.
scripts/…andreferences/…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.
댓글
- …
이 저장소의 다른 스킬
create-leaderboard-route
15k카메라 화면에서 웨이포인트와 시나리오 트리거를 배치하고, 확인하고, 순서를 정해 CARLA 리더보드 경로 파일을 만들도록 에이전트를 돕습니다.
package-leaderboard-agent
15k주행 에이전트를 CARLA Leaderboard 제출용 Docker 이미지로 패키징하고, 폴더 구조를 확인하며 이미지가 에이전트를 로드하는지 테스트하도록 돕습니다.
read-leaderboard-results
15kCARLA Leaderboard 결과 파일을 읽고 경로별 점수와 위반 사항을 설명하며, 다른 규칙 버전에서 실행을 다시 채점하도록 에이전트를 돕습니다.
run-leaderboard-evaluation
15k주행 에이전트로 경로 세트에 대한 CARLA Leaderboard 평가를 실행하도록 돕습니다. 먼저 설정을 확인하고, 재개할 수 있는 체크포인트를 저장합니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.