> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/autorope/donkeycar/llms.txt
> Use this file to discover all available pages before exploring further.

# Donkeycar Documentation

> Build autonomous robots with Python, deep learning, and computer vision

<div className="relative bg-gradient-to-br from-[#695751] via-[#5a4943] to-[#4a3c37] dark:from-[#0f1117] dark:via-[#1a1d27] dark:to-[#242838] py-20 overflow-hidden">
  <div className="absolute inset-0 bg-[url('/grid.svg')] opacity-10" />

  <div className="relative max-w-7xl mx-auto px-6 sm:px-8">
    <div className="grid grid-cols-1 lg:grid-cols-12 gap-12 items-center">
      <div className="lg:col-span-7">
        <h1 className="text-4xl sm:text-5xl lg:text-6xl font-bold text-white mb-6">
          Build self-driving robots with Python
        </h1>

        <p className="text-lg sm:text-xl text-gray-200 dark:text-gray-300 max-w-2xl mb-8">
          A minimalist and modular framework for building autonomous vehicles. From hobbyist RC cars to research platforms, Donkeycar makes robotics accessible.
        </p>

        <div className="flex flex-wrap gap-4">
          <a href="/quickstart" className="inline-flex items-center px-6 py-3 rounded-lg bg-[#f15a40] hover:bg-[#d64a30] text-white font-semibold transition-colors">
            Get Started

            <svg className="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
              <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 7l5 5m0 0l-5 5m5-5H6" />
            </svg>
          </a>

          <a href="/introduction" className="inline-flex items-center px-6 py-3 rounded-lg border border-white/30 bg-white/10 hover:bg-white/20 text-white font-semibold transition-colors">
            Learn More
          </a>
        </div>
      </div>

      <div className="lg:col-span-5 hidden lg:block">
        <div className="relative">
          <div className="absolute inset-0 bg-gradient-to-r from-[#695751]/50 to-transparent blur-3xl" />
        </div>
      </div>
    </div>
  </div>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="text-center mb-12">
    <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">
      Quick Start
    </h2>

    <p className="text-base text-gray-600 dark:text-gray-400">
      Get your autonomous car up and running in minutes
    </p>
  </div>

  <Steps>
    <Step title="Install Donkeycar">
      Install the Donkeycar framework on your development machine or directly on your Raspberry Pi or Jetson Nano.

      ```bash theme={null}
      pip install donkeycar[pc]
      ```

      <Note>Use `donkeycar[pi]` for Raspberry Pi or `donkeycar[nano]` for Jetson Nano</Note>
    </Step>

    <Step title="Create your car application">
      Use the CLI to create a new car project with your preferred template.

      ```bash theme={null}
      donkey createcar --path ~/mycar --template complete
      ```

      This generates a complete application structure with configuration files, training scripts, and the vehicle loop.
    </Step>

    <Step title="Configure and calibrate">
      Edit `myconfig.py` to match your hardware setup, then calibrate your steering and throttle.

      ```bash theme={null}
      cd ~/mycar
      python manage.py drive
      ```

      Access the web interface at `http://<your-car-ip>:8887` to drive manually and collect training data.
    </Step>

    <Step title="Train your autopilot">
      Train a deep learning model on the data you collected.

      ```bash theme={null}
      donkey train --tub ./data --model ./models/mypilot.h5
      ```

      Deploy the trained model back to your car and watch it drive autonomously!
    </Step>
  </Steps>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="text-center mb-12">
    <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">
      Explore by Topic
    </h2>

    <p className="text-base text-gray-600 dark:text-gray-400">
      Everything you need to build, train, and deploy autonomous vehicles
    </p>
  </div>

  <CardGroup cols={2}>
    <Card title="Core Concepts" icon="sitemap" href="/concepts/architecture">
      Understand the part-based architecture, vehicle loop, and memory system that powers Donkeycar.
    </Card>

    <Card title="Build Your Car" icon="screwdriver-wrench" href="/guides/hardware-setup">
      Step-by-step guides for assembling hardware, wiring components, and creating your car application.
    </Card>

    <Card title="Training & Autopilots" icon="brain" href="/training/overview">
      Learn about deep learning, computer vision, and GPS-based navigation for autonomous driving.
    </Card>

    <Card title="Parts Reference" icon="puzzle-piece" href="/parts/overview">
      Explore the extensive library of pre-built parts for cameras, controllers, actuators, and sensors.
    </Card>

    <Card title="CLI Reference" icon="terminal" href="/cli/overview">
      Complete command-line reference for creating cars, training models, and debugging.
    </Card>

    <Card title="API Reference" icon="code" href="/api/vehicle">
      Detailed API documentation for the Vehicle class, Memory system, and all parts.
    </Card>
  </CardGroup>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="text-center mb-12">
    <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">
      Key Features
    </h2>
  </div>

  <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
    <div className="p-6 rounded-2xl border border-gray-200 dark:border-[#27272a] bg-white dark:bg-[#1a1d27]">
      <div className="w-12 h-12 rounded-lg bg-[#695751]/10 dark:bg-[#695751]/20 flex items-center justify-center mb-4">
        <svg className="w-6 h-6 text-[#695751]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />
        </svg>
      </div>

      <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Modular Architecture</h3>
      <p className="text-sm text-gray-600 dark:text-gray-400">Part-based design lets you mix and match components to build exactly the vehicle you need.</p>
    </div>

    <div className="p-6 rounded-2xl border border-gray-200 dark:border-[#27272a] bg-white dark:bg-[#1a1d27]">
      <div className="w-12 h-12 rounded-lg bg-[#695751]/10 dark:bg-[#695751]/20 flex items-center justify-center mb-4">
        <svg className="w-6 h-6 text-[#695751]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" />
        </svg>
      </div>

      <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Multiple Autopilot Modes</h3>
      <p className="text-sm text-gray-600 dark:text-gray-400">Choose from deep learning, computer vision, or GPS-based navigation for your use case.</p>
    </div>

    <div className="p-6 rounded-2xl border border-gray-200 dark:border-[#27272a] bg-white dark:bg-[#1a1d27]">
      <div className="w-12 h-12 rounded-lg bg-[#695751]/10 dark:bg-[#695751]/20 flex items-center justify-center mb-4">
        <svg className="w-6 h-6 text-[#695751]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
        </svg>
      </div>

      <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Built-in Simulator</h3>
      <p className="text-sm text-gray-600 dark:text-gray-400">Test and train your models in a virtual environment before deploying to real hardware.</p>
    </div>

    <div className="p-6 rounded-2xl border border-gray-200 dark:border-[#27272a] bg-white dark:bg-[#1a1d27]">
      <div className="w-12 h-12 rounded-lg bg-[#695751]/10 dark:bg-[#695751]/20 flex items-center justify-center mb-4">
        <svg className="w-6 h-6 text-[#695751]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4" />
        </svg>
      </div>

      <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Hardware Flexibility</h3>
      <p className="text-sm text-gray-600 dark:text-gray-400">Supports Raspberry Pi, Jetson Nano, and a wide range of cameras, sensors, and actuators.</p>
    </div>

    <div className="p-6 rounded-2xl border border-gray-200 dark:border-[#27272a] bg-white dark:bg-[#1a1d27]">
      <div className="w-12 h-12 rounded-lg bg-[#695751]/10 dark:bg-[#695751]/20 flex items-center justify-center mb-4">
        <svg className="w-6 h-6 text-[#695751]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
        </svg>
      </div>

      <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">TensorFlow & PyTorch</h3>
      <p className="text-sm text-gray-600 dark:text-gray-400">Train models using either framework with support for transfer learning and custom architectures.</p>
    </div>

    <div className="p-6 rounded-2xl border border-gray-200 dark:border-[#27272a] bg-white dark:bg-[#1a1d27]">
      <div className="w-12 h-12 rounded-lg bg-[#695751]/10 dark:bg-[#695751]/20 flex items-center justify-center mb-4">
        <svg className="w-6 h-6 text-[#695751]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />
        </svg>
      </div>

      <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Active Community</h3>
      <p className="text-sm text-gray-600 dark:text-gray-400">Join thousands of makers, students, and researchers building autonomous vehicles worldwide.</p>
    </div>
  </div>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="rounded-2xl border border-gray-200 dark:border-[#27272a] bg-gradient-to-br from-[#695751] to-[#4a3c37] dark:from-[#1a1d27] dark:to-[#242838] p-8 sm:p-12 text-center">
    <h2 className="text-2xl sm:text-3xl font-bold text-white mb-4">
      Ready to build your autonomous vehicle?
    </h2>

    <p className="text-base sm:text-lg text-gray-200 dark:text-gray-300 mb-8 max-w-2xl mx-auto">
      Join the Donkeycar community and start building self-driving robots with Python, deep learning, and computer vision.
    </p>

    <div className="flex flex-wrap justify-center gap-4">
      <a href="/quickstart" className="inline-flex items-center px-6 py-3 rounded-lg bg-white hover:bg-gray-100 text-[#695751] font-semibold transition-colors">
        Get Started Now

        <svg className="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 7l5 5m0 0l-5 5m5-5H6" />
        </svg>
      </a>

      <a href="https://github.com/autorope/donkeycar" className="inline-flex items-center px-6 py-3 rounded-lg border border-white/30 bg-white/10 hover:bg-white/20 text-white font-semibold transition-colors">
        <svg className="mr-2 w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
          <path fillRule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clipRule="evenodd" />
        </svg>

        View on GitHub
      </a>
    </div>
  </div>
</div>
