Skip to main content
V1 · V2 · V3 Dated experiment

Unified ESP32-P4 Firmware (V1·V2·V3), All Three Robots & PeerJS Multiplayer in simulator.ainek.io, Automated Servo Calibration & V3 Panoramic Cyclops

November 21–23 milestone: unifying V1, V2, and V3 Killdozer inside one ESP32-P4 firmware tree and live MuJoCo WASM simulator at simulator.ainek.io; adding V3's self-leveling crawler feet and panoramic Cyclops optic; launching PeerJS multiplayer and the 19 m Robotics Lab; and shipping Auto-Calibration, the Virtual Simulation Manager, and @ainekio/engine v0.1.0.

Dated workbench entry from . See where the robot stands today →

On this page (3 sections)
  1. 1. All Three Generations (V1 · V2 · V3), 19 m Robotics Lab & PeerJS Multiplayer
  2. 2. Unified Multi-Model ESP32-P4 Firmware & V3 Panoramic Cyclops Optic
  3. 3. Body Control Auto-Calibration, Virtual Simulation Manager & Unified Comms

Over November 21–23, development converged across the entire stack—turning simulator.ainek.io into a three-generation multiplayer testbed, unifying V1, V2, and V3 “Killdozer” into one ESP32-P4 firmware tree, and overhauling Body Control and Ainekio OS:

  1. All three robots live in simulator.ainek.io + PeerJS multiplayer: Hot-switch between V1, V2, and V3 “Killdozer”, host or join WebRTC multiplayer rooms, and drive across six worlds anchored by a 19 m Robotics Lab obstacle course.
  2. Unified ESP32-P4 firmware & V3 Cyclops optic: One firmware tree now builds verified binaries for V1 (direct 8-ch ADC, no mux), V2, and V3 “Killdozer” (including the panoramic 2.8" ILI9341 Cyclops optic).
  3. V3 “Killdozer” self-leveling crawler feet & trained RL: Standardized V3 around DS3225 PRO HV coreless servos, spiral knee springs, servo-saver rods, and double-parallelogram self-leveling ankles (<= 0.27° error at 0.31 m/s).
  4. Auto-Calibration, Virtual Simulation Manager & zero-pinning bridge: Shipped closed-loop 4th-wire + IMU calibration (25° tilt guard), a dedicated Virtual Simulation Manager (:8792, Quick Pair, 24/7 headless runner), and zero-pinning robot auto-following in Ainekio OS.
  5. Standalone @ainekio/[email protected]: Extracted the shared ECS, Three.js, Rapier, WebRTC multiplayer, and audio core into Greg-Aster/ainekio-engine.

1. All Three Generations (V1 · V2 · V3), 19 m Robotics Lab & PeerJS Multiplayer#

Two days after launching with V2 alone, simulator.ainek.io now runs all three Ainekio generations side-by-side at 500 Hz MuJoCo WASM (50 Hz control) directly in a browser Web Worker with zero install:

Model in simulator.ainek.ioActuators & MechanicsNeural Gait (50 Hz)Neural Pose (Lazy-Loaded)Face & Camera
Ainekio V1 (#model=v1)8-servo spider (hip yaw + vertical knees, clock-springs)v1-microduck-p4 (3.0 Hz CPG, 8/8 suites)neural_pose_v1 (8 motions: stand, sit, lay down, crouch, bow, stretch, waves)128 × 64 OLED + Arducam B0066
Ainekio V2 (#model=v2, default)12-servo closed-chain four-barMicroDuck v19 + compiled ESP32-P4 WASM firmwareNeuralPose v7 (14 curated motions)1.9" ST7789 320 × 170 LCD + chin OV5647
Ainekio V3 “Killdozer” (#model=v3)12-servo DS3225 PRO Option A-1 + self-leveling crawler anklesv3-microduck-p4 (0.31 m/s trot, <= 0.27° ankle error)neural_pose_v3 (8 motions, 0.28°–1.11° MAE)2.8" ILI9341 Panoramic Cyclops (WASM) + Arducam B0066
Live capture from simulator.ainek.io showing the 8-servo Ainekio V1 quadruped with cobalt sculpted spiked legs standing on the glowing home pad of the 19 m Robotics Lab Obstacle Course, running v1-microduck-p4 at 1.40 ms/step with 8 live servo gauges.
Ainekio V1 live in the 19 m Robotics Lab: v1-microduck-p4 neural gait, 128 × 64 OLED mirror, 8 interactive servo gauges, and AprilTag/cone agility course.
Live capture from simulator.ainek.io showing the red 12-servo Ainekio V2 quadruped on the home calibration pad of the upgraded 19 m Robotics Lab Obstacle Course with orange slalom cones, yellow cable strips, AprilTags, red vision target sphere, and glowing diagnostic telemetry screens.
Upgraded 19 m Multi-Zone Robotics Lab: 7 proving zones, 128 MuJoCo colliders, dynamic AprilTags, Macbeth ColorChecker, SLAM checkerboard, and live lab screens.

PeerJS Multiplayer Rooms, Mobile Optimization & World Upgrades#

  • WebRTC P2P multiplayer: Click Multiplayer in the top bar to host or join a room, share a ?room=<name> link, jump to another peer’s world, and chat live. Remote robots sync at 10 Hz (pose, model, joint angles, level, and expression) and render as full articulated V1, V2, or V3 “Killdozer” meshes at 60 FPS, wire-compatible with @ainekio/[email protected].
  • Six upgraded worlds & mobile data savings: Upgraded 19 m Robotics Lab, Solitude (Stonehenge Plain) (rolling grass heightfield + firefly), Miranda Wreck (zero-G debris & dying star), Astral House (Sci Fi Room) (Chronos-Orrery & Escher stairs), Yggdrasil (3 spatial-audio wells), and distance-streamed Observatory chunks—plus a dedicated mobile HUD (<= 900 px), halved ambient audio payloads, lazy neural-pose loading, and immutable CDN caching.
Live capture from simulator.ainek.io showing Ainekio V3 standing inside Solitude (Stonehenge Plain) with glowing ancient stone arches, rolling green terrain, the floating golden firefly, the panoramic Cyclops optic HUD, and the PeerJS Multiplayer Rooms panel open.
Solitude (Stonehenge Plain) + PeerJS Multiplayer Rooms: Ainekio V3 “Killdozer” with its panoramic Cyclops HUD and WebRTC room panel beside the glowing archway and floating firefly.

2. Unified Multi-Model ESP32-P4 Firmware & V3 Panoramic Cyclops Optic#

Rather than maintaining three separate forks, Slave/firmware/esp32p4-wifi6/ now compiles all three robot models from one ESP32-P4 codebase:

  • V1 (v1-8servo): Drives 8× MG90S servos on PCA9685 channels 0..7, renders the 0.96" 128 × 64 I2C OLED, and reads all 8 fourth-wire servo potentiometers on 8 direct ESP32-P4 ADC pins with zero analog multiplexer.
  • V2 (v2-12servo, default): Drives the active 650 g 12-servo floor robot with CD74HC4067 12-channel mux feedback, 1.9" ST7789 LCD, and on-chip 50 Hz MicroDuck.
  • V3 “Killdozer” (v3-12servo): Drives 12× DS3225 PRO HV coreless servos (35 kg·cm, 800 deg/s on direct 2S), the recessed 2.8" MSP2807 (ILI9341) SPI TFT, and the new panoramic Cyclops optic—a luminous outer iris ring with 24 mechanical aperture ticks, radial fibers, glossy pupil with dual specular glints, eyelid shutters, flanking radar arcs, and a 16-second ambient glance/autofocus cycle shared between P4 firmware and simulator WASM.

V3 “Killdozer” Self-Leveling Crawler Feet & Trained RL Results#

Updated to 406.4 × 236.5 × 385.6 mm (125 mm belly clearance, ~2.97 kg est.), each V3 leg pairs the Option A-1 four-bar (54 / 22 / 46 / 56 / 135 mm) with a PETG spiral knee spring (0.167 N·m/rad), a 22 N preloaded PETG servo-saver rod, and a 2-stage double-parallelogram self-leveling crawler foot (±27.5° range + compliant damper).

In MuJoCo qualification, v3-microduck-p4 cleared 8/8 scenarios with <= 0.27° dynamic ankle level error (0.31 m/s forward trot, 97 mm stride, 40 mm lift, ±1.33 rad/s turns, ±0.15 m/s crab), and neural_pose_v3 cleared 8/8 postures at 0.28°–1.11° MAE (0.0 L↔R reflection error). V1’s v1-microduck-p4 (17.2M steps) and neural_pose_v1 also cleared 8/8 gait and 8/8 posture suites.


3. Body Control Auto-Calibration, Virtual Simulation Manager & Unified Comms#

Three major host-side upgrades landed across Body Control and Ainekio OS:

  1. Automated 4th-wire + IMU servo calibration: Replaces manual per-joint offset tweaking with a guided Body Control workflow supporting floor mode (full 4th-wire sweep + IMU 4-leg leveling) and legs_free mode (unloaded sweep), protected by a 25.0° tilt abort guard with one-click Apply and Restore.
  2. Virtual Simulation Manager (:8792): Replaces legacy bridge scripts by serving simulator.ainek.io locally, minting scoped virtual robot tokens, generating #hash launch URLs and ainekio-pair: Quick Pair codes (local WS or Cloudflare relay), and supervising a 24/7 headless Chromium runner so autonomous virtual robots stay online when operator tabs close.
  3. Zero-pinning auto-follow & unified room chat: Removed robotId pinning in Ainekio OS so Body Control solely owns active robot attachment—automatically following whichever physical or virtual body connects without restarting (1,000 ms base / 2,500 ms capped reconnect). Added direct text input in Cockpit HUD, unified Comms Feed + Tap to Talk in simulator.ainek.io, and spoken-text metadata on downward robot TTS packets so spoken replies echo cleanly into Cockpit and multiplayer room chat.

Related guides: Gateway & 3D Simulator · Ainekio V3 “Killdozer” · Ainekio V1 · Ainekio Cockpit

Unified ESP32-P4 Firmware (V1·V2·V3), All Three Robots & PeerJS Multiplayer in simulator.ainek.io, Automated Servo Calibration & V3 Panoramic Cyclops
https://ainek.io/posts/2026-11-23-unified-p4-firmware-v1-v3-simulator-multiplayer-and-auto-calibration/
Author
Ainekio
Published at
2026-11-23
License
CC BY-NC-SA 4.0