navigate-to
Qué hace
La skill envía un coche a un lugar elegido en una simulación de CARLA. Está pensada para personas que quieren que un coche se conduzca solo hasta un punto concreto.
Cuándo usarla
- ✓Cuando quieres que el coche ego conduzca hasta una ubicación concreta.
- ✓Cuando quieres planificar una ruta entre dos puntos sin conducir.
- ✓Cuando quieres que el coche obedezca o ignore los semáforos durante el trayecto.
Link de la skill
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/python-api/navigate-to/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Conduce el coche ego hasta el cruce en menos 24, menos 57, y para cuando llegue.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente planifica una ruta y después ejecuta un bucle en el que el agente de navegación sigue la ruta, evita obstáculos y obedece los semáforos, salvo que le pidas ignorarlos. El bucle termina al llegar o cuando se agota el tiempo.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes
¿Qué pasa si el coche nunca llega?
El bucle termina al agotarse el tiempo, así que la ejecución no continúa indefinidamente.
¿Es lo mismo que la conducción manual?
No. El control manual envía órdenes directas, mientras que esta skill usa un agente de navegación para todo el trayecto.
¿Cómo planifico una ruta sin conducir?
El comando de ruta planifica el camino entre dos puntos y no mueve el coche.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 15 mil
- Posición en el ranking
- #11095
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
create-leaderboard-route
15 milAyuda a tu agente a crear rutas para el Leaderboard de CARLA, colocando puntos de paso y disparadores de escenario desde la cámara del simulador.
package-leaderboard-agent
15 milAyuda a tu agente a empaquetar un agente de conducción en una imagen de Docker para el Leaderboard de CARLA, y comprueba que la imagen lo carga.
read-leaderboard-results
15 milAyuda a tu agente a leer los resultados del Leaderboard de CARLA, explicar la puntuación e infracciones de cada ruta y recalcular la ejecución con otra versión de las reglas.
run-leaderboard-evaluation
15 milAyuda a tu agente a ejecutar el evaluador del Leaderboard de CARLA en un conjunto de rutas, revisando antes la configuración y guardando puntos de control.
Skills parecidas
blucli
394 milAyuda a tu agente a buscar, reproducir, pausar, agrupar y ajustar el volumen de los altavoces Bluesound y NAD con el comando blu.
camsnap
394 milAyuda a tu agente a capturar fotos, clips cortos o eventos de movimiento de cámaras de red y cámaras web locales que hayas configurado.
eightctl
394 milAyuda a tu agente a consultar y controlar un pod de Eight Sleep, incluida su temperatura, sus alarmas y sus horarios de sueño.