AxleLab just got a major upgrade! Meet your AI robotics co-pilot, simulate three rovers together, and export detailed engineering reports with ease.

By (@shaurya) · · AI Agents

We just shipped a major upgrade to AxleLab, turning our interactive 3D robotics workbench into a complete AI-assisted hardware and multi-rover simulation platform. Whether you are prototyping an Arduino UNO or ESP32 rover, you can now generate custom firmware with AI, test autonomous multi-agent navigation in 3D, and export full engineering documentation in one click.

Key Update Features:

• AI Robotics Co-Pilot (Powered by Gemini): Type natural-language commands to generate custom Arduino `.ino` sketches, tune obstacle-avoidance distance thresholds and motor speed, highlight 3D wiring harnesses, and inject code directly into Step 9 (`3 · AI Custom`).

• 3-Rover Swarm Fleet Mode: Spawn three autonomous rovers simultaneously in the 3 × 3 m Arena with `V-Formation` and `Independent Avoid` behaviors, inter-rover radar avoidance, and an automatic aerial overview camera.

• Live D3 Multi-Rover Telemetry & Logs: Track real-time `Battery %`, `Drain %/s`, and `Sonar cm` across all three rovers on a live D3 chart and download session logs as CSV or JSON.

• Engineering Project Dossier Exporter: Export a full build spec sheet with itemized BOM SKUs and USD pricing, UNO vs. ESP32 pin mapping, active firmware code, a shareable QR code, Print PDF, and Markdown download.

• Bright Studio Arena Upgrade: Fixed hardware WebGL rendering so the tiled 3 × 3 m Arena board and obstacles render crisp, bright, and clear across all browsers.

Tech stack

  • Gemini

Prompt steps

  1. Step 1

    Upgrade the 3D robotics workbench app with two major engineering features: a server-side AI Robotics Co-Pilot and an Engineering Project Dossier Exporter.
    
    1. Server-Side AI Co-Pilot (`/api/copilot` + Slide-Out Drawer):
    - Add an Express server entry point (`server.ts`) running Vite in development and exposing `POST /api/copilot` powered by the `@google/genai` SDK on the server (no API keys in client code or UI).
    - Configure structured JSON output returning: an engineering explanation, a custom Arduino `.ino` sketch title and code, an obstacle threshold in centimeters (`thresholdCm`), target throttle percentage (`speedPct`), and a 3D wiring group to highlight.
    - Build a slide-out `AI Co-Pilot` drawer accessible from the top header with natural-language prompt input, one-click preset recipes (e.g., 20 cm fast-brake alert and Figure-8 LED choreography), and a "Load into Step 9" action that injects the generated code into a new `3 · AI Custom` firmware tab while updating live simulator parameters.
    
    2. Engineering Project Dossier Modal (`Export Dossier`):
    - Add an `Export Dossier` button in the header opening a tabbed modal with:
      a) BOM Pricing table showing SKU codes, quantities, pa…
  2. Step 2

    Upgrade Step 10 (3 × 3 m Drive Arena) with Multi-Rover Swarm Simulation, real-time D3 fleet telemetry, and crisp bright studio 3D rendering:
    
    1. Decoupled Multi-Rover Swarm Physics & Unit Tests:
    - Extend the pure simulation engine (`src/sim/physics.ts`) with `createInitialSwarmAgents` and `stepSwarmAgents` supporting 3 simultaneous autonomous rovers (`R1 Leader` Emerald, `R2 Wing` Amber, `R3 Scout` Cyan).
    - Implement two selectable swarm behaviors: `V-Formation` (wingmen track offset formation targets behind the leader while avoiding obstacles) and `Independent Avoid` (rovers patrol autonomously).
    - Include inter-rover collision separation, sibling obstacle awareness for ultrasonic raycasting, and custom `thresholdCm` support from the AI Co-Pilot. Cover these behaviors and CSV/JSON formatters with `node:test` unit tests.
    
    2. 3D Swarm Rendering, Minimap & D3 Telemetry Dashboard:
    - Instantiate two color-coded wingman rover rigs in `WorkbenchCanvas.tsx` with glowing deck beacon rings and colored ultrasonic radar cones. Automatically pull the Arena camera into a wide aerial overview when Swarm Mode is active so all 3 rovers remain clearly visible.
    - Update the 2D Arena Minimap to rend…

1 like

Explore more on Prompted