navigate-to
Was er macht
Der Skill schickt ein Auto in einer CARLA-Simulation zu einem gewählten Ort. Er richtet sich an Menschen, die wollen, dass ein Auto selbstständig zu einer bestimmten Stelle fährt.
Wann du ihn nutzt
- ✓Wenn das Ego-Auto zu einem bestimmten Ort fahren soll.
- ✓Wenn du eine Route zwischen zwei Punkten planen willst, ohne zu fahren.
- ✓Wenn das Auto unterwegs Ampeln beachten oder ignorieren soll.
Link zum Skill
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/python-api/navigate-to/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Fahre das Ego-Auto zur Kreuzung bei minus 24, minus 57, und bleib stehen, wenn es ankommt.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent plant eine Route und startet dann eine Schleife, in der der Navigationsagent der Route folgt, Hindernissen ausweicht und Ampeln beachtet, sofern du das nicht ausschaltest. Die Schleife endet bei Ankunft oder bei einem Zeitlimit.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen
Was passiert, wenn das Auto nie ankommt?
Die Schleife endet bei einem Zeitlimit, sodass der Lauf nicht endlos weiterläuft.
Ist das dasselbe wie manuelles Fahren?
Nein. Bei manueller Steuerung gehen direkte Eingaben raus. Dieser Skill nutzt einen Navigationsagenten für die ganze Fahrt.
Wie plane ich eine Route ohne zu fahren?
Der Routenbefehl plant den Weg zwischen zwei Punkten und bewegt das Auto nicht.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 15k
- Platz im Ranking
- #11095
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
create-leaderboard-route
15kHilft deinem Agenten, Routendateien für das CARLA Leaderboard zu erstellen, indem er Wegpunkte und Szenarien aus der Simulatorkamera setzt und prüft.
package-leaderboard-agent
15kHilft deinem Agenten, einen Fahragenten für die CARLA-Leaderboard-Einreichung in ein Docker-Image zu packen und zu prüfen, ob es ihn lädt.
read-leaderboard-results
15kHilft deinem Agenten, eine Ergebnisdatei des CARLA Leaderboards zu lesen, Punkte und Verstöße je Route zu erklären und Läufe neu zu bewerten.
run-leaderboard-evaluation
15kHilft deinem Agenten, die CARLA-Leaderboard-Bewertung auf vielen Routen auszuführen, mit vorheriger Prüfung und Checkpoints zum Fortsetzen.
Ähnliche Skills
blucli
394kHilft deinem Agenten, Bluesound- und NAD-Lautsprecher über den Befehl blu zu finden, abzuspielen, zu pausieren, zu gruppieren und in der Lautstärke anzupassen.
camsnap
394kHilft deinem Agenten, Schnappschüsse, kurze Clips oder Bewegungsereignisse von Netzwerkkameras und lokalen Webcams aufzunehmen, die du eingerichtet hast.
eightctl
394kHilft deinem Agenten, ein Eight-Sleep-Pod zu prüfen und zu steuern, einschließlich Temperatur, Wecker und Schlafplänen.