navigate-to

Drives a CARLA vehicle to a destination using navigation agents or plans routes with GlobalRoutePlanner.

3|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/carla-simulator/carla-agentic-tools --skill navigate-to-carla-simulator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: navigate-to
Source: https://github.com/carla-simulator/carla-agentic-tools/tree/main/skills/python-api/navigate-to
Command: npx skills add https://github.com/carla-simulator/carla-agentic-tools --skill navigate-to-carla-simulator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires carla, and includes scripts (resource) and references (resource) components.

What problem does it solve? Getting a vehicle in a CARLA simulation to a specific location requires wiring up route planning, agent control loops, and sync-mode ticking by hand. This Skill packages that procedure so an agent can drive a car to a destination or plan a route without improvising against the PythonAPI. ## Core Features & Use Cases - Autonomous point-to-point driving: The go command drives the ego vehicle to a destination using BasicAgent, BehaviorAgent, or ConstantVelocityAgent, handling obstacle avoidance and traffic-light obedience. - Route planning without driving: The route command uses GlobalRoutePlanner to compute a waypoint path between two points, summarize the maneuver sequence, and optionally draw it in the world. - Driving style and rule control: Choose cautious/aggressive behavior, set target speed, or ignore traffic lights, vehicles, and stop signs for scenarios like emergency runs. - Use Case: A user asks to "drive the ego to the 4-way junction" — the Skill resolves the junction center via map-waypoints, then runs go --to=<center> and reports arrival or timeout. ## Quick Start Ask the agent to drive the ego vehicle to coordinates (-24, -57, 1) in the running CARLA server using the navigate-to skill.

Frequently Asked Questions about navigate-to

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I drive a CARLA vehicle to a specific location autonomously?▼

Use the navigate.py `go` command with a destination like `--to=-24,-57,1`. It creates a BasicAgent that plans a route, follows it, avoids obstacles, and obeys traffic lights, ticking the world until the vehicle arrives or the time budget expires.

How to plan a route between two points in CARLA without driving?▼

Run `navigate.py route --from=X,Y,Z --to=X,Y,Z` which calls GlobalRoutePlanner's trace_route and prints the waypoint count and maneuver sequence. Add `--draw` to render the path as debug points in the world.

What is the difference between BasicAgent and BehaviorAgent in CARLA?▼

BasicAgent follows a planned route, brakes for vehicles and pedestrians, and obeys traffic lights. BehaviorAgent adds driving styles (normal, cautious, aggressive) with car-following, overtaking, and speed adaptation, selected via `--agent behavior --behavior aggressive`.

Why does CARLA fail with 'cannot import agents'?▼

The agents package ships only in the CARLA source checkout at PythonAPI/carla/agents, not in the installed carla wheel. Set CARLA_ROOT to a CARLA checkout so env.sh adds PythonAPI/carla to PYTHONPATH.

Why does the CARLA vehicle never reach its destination?▼

The destination may be off-road, the time budget too short, or traffic may block progress. Verify the destination is on a road with map-waypoints, raise `--seconds`, or use `--ignore-vehicles` and `--ignore-lights` to push through.

Can navigate-to run in CARLA synchronous mode?▼

Yes, but only one process may tick the world. The go command waits for ticks rather than ticking a clock owned by another client, so avoid running a second ticker concurrently or commands will be dropped.