navigate-to
Что он делает
Скилл отправляет машину в выбранное место симуляции CARLA. Он нужен тем, кто хочет, чтобы машина сама доехала до конкретной точки.
Когда использовать
- ✓Когда вы хотите, чтобы эго-машина доехала до конкретного места.
- ✓Когда нужно построить маршрут между двумя точками без движения.
- ✓Когда вы хотите, чтобы машина по пути соблюдала или игнорировала светофоры.
Ссылка на скилл
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/python-api/navigate-to/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Доедь эго-машиной до перекрёстка в точке минус 24, минус 57 и остановись, когда приедешь.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент строит маршрут, затем запускает цикл, в котором навигационный агент следует по маршруту, объезжает препятствия и соблюдает светофоры, если вы не попросили их игнорировать. Цикл заканчивается при прибытии или по таймауту.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Navigate a vehicle to a destination
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.
Point-to-point autonomous driving. go drives the ego to a destination with a
navigation agent that plans a route and follows it while avoiding obstacles and
obeying (or ignoring, on request) traffic lights. route just plans the path.
This is distinct from the sibling driving skills: control-vehicle
is manual actuator input; control-traffic is the
Traffic Manager making cars roam; this drives one car to a specific place.
Instructions
Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh), clear FAILs (incl. agents import)
- [ ] Step 2: Have an ego (spawn-vehicles ego) and a destination (world-data/map-waypoints)
- [ ] Step 3: go (drive) — or route (plan only). Runs a tick loop until arrival/timeout
Commands need CARLA_HOST/CARLA_PORT + CARLA_ROOT from scripts/env.sh.
Negative coordinates: use the = form (--to=-24,-57,0.6).
Step 1: Check prerequisites
bash scripts/check_env.sh
FAILs if the agents package isn't importable — set CARLA_ROOT to a carla
checkout so PythonAPI/carla/agents is on PYTHONPATH.
Step 3: Navigate
source scripts/env.sh
# plan a route and draw it (no driving)
python3 scripts/navigate.py route --from=0,0,1 --to=-24,-57,1 --draw
# drive the ego there (BasicAgent, obeys lights)
python3 scripts/navigate.py go --to=-24,-57,1 --speed 25
# a cautious/aggressive style
python3 scripts/navigate.py go --to=-24,-57,1 --agent behavior --behavior aggressive
# ignore lights (e.g. an emergency run) and give it more time
python3 scripts/navigate.py go --to=100,20,1 --ignore-lights --seconds 120
go targets the ego (role hero) by default; --id/--filter for another
vehicle. It blocks until the car arrives (agent.done()) or --seconds elapses.
Examples
Example 1: drive to a spot
User says: "drive the ego to (−24, −57)"
go --to=-24,-57,1. It plans, drives, and prints "arrived" on success.
Example 2: go to a resolved element
User says: "drive to the 4-way junction in the middle"
map-waypoints junctions --arms 4 → pick its centre → go --to=<centre>.
Example 3: just the route
User says: "what's the route from here to the depot?"
route --from=<here> --to=<depot> --draw → maneuver list + drawn path.
Troubleshooting
Problem: cannot import agents
Cause: the agents package (checkout-only) isn't on PYTHONPATH.
Solution: set CARLA_ROOT to a carla checkout; env.sh adds PythonAPI/carla.
Problem: it never arrives / stops at timeout
Cause: unreachable destination, too little time, or stuck in traffic.
Solution: verify the destination is on a road (map-waypoints waypoint), raise
--seconds, or --ignore-vehicles to push through.
Problem: the car doesn't move in sync mode
Cause: go ticks the world itself in sync mode; if another process also ticks,
they fight.
Solution: run one ticker. In async it just drives.
Problem: it stops at every red light forever
Cause: dense traffic / lights.
Solution: --ignore-lights (and/or the control-traffic-lights skill to free them).
Outputs
Server state — the vehicle drives to the destination (or a planned route + drawn
overlay for route). No file. go reports arrival or timeout.
Detail (agent types, route planner, run-step loop, sync interaction) in references/navigation.md.
Частые вопросы
Что будет, если машина так и не приедет?
Цикл завершится по таймауту, поэтому запуск не продлится бесконечно.
Это то же самое, что ручное управление?
Нет. Ручное управление отправляет прямые команды, а этот скилл использует навигационного агента на всём пути.
Как построить маршрут без движения?
Команда маршрута строит путь между двумя точками и не двигает машину.
Подробности
Оригинальное описание автора
Drives a vehicle to a destination autonomously using CARLA's navigation agents (BasicAgent/BehaviorAgent/ConstantVelocityAgent), or plans a route between two points with GlobalRoutePlanner. The agent handles routing, obstacle avoidance and traffic-light obedience. Use when the user asks to "drive the ego to (x,y,z)", "navigate to the junction", "go to that location", "plan a route from A to B", or "make the car drive itself somewhere specific". Manual control is control-vehicle; autopilot roaming is control-traffic.
repo: carla-simulator/carla
Популярность
- Звёзды на GitHub
- 15k
- Место в рейтинге
- #11095
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
create-leaderboard-route
15kПомогает агенту создавать маршруты для CARLA Leaderboard: расставлять путевые точки и триггеры сценариев из камеры симулятора, проверять и упорядочивать их.
package-leaderboard-agent
15kПомогает агенту упаковать агента вождения в Docker-образ для отправки на CARLA Leaderboard: проверить структуру папок и убедиться, что образ загружает агента.
read-leaderboard-results
15kПомогает агенту читать файл результатов CARLA Leaderboard, объяснять оценку и нарушения каждого маршрута и пересчитывать запуск по другой версии правил.
run-leaderboard-evaluation
15kПомогает агенту запустить оценщик CARLA Leaderboard на наборе маршрутов с вашим агентом: проверить настройку, сохранять контрольные точки и продолжать с них.
Похожие скиллы
blucli
394kПомогает агенту находить, включать, ставить на паузу, объединять в группы и регулировать громкость колонок Bluesound и NAD через команду blu.
camsnap
394kПомогает агенту делать снимки, короткие клипы или фиксировать события движения с сетевых камер и локальных веб-камер, которые вы настроили.
eightctl
394kПомогает агенту проверять и контролировать устройство Eight Sleep, включая его температуру, будильники и графики сна.