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 →
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:
- 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. - Unified
ESP32-P4firmware & V3 Cyclops optic: One firmware tree now builds verified binaries for V1 (direct 8-ch ADC, no mux), V2, and V3 “Killdozer” (including the panoramic2.8"ILI9341Cyclops optic). - V3 “Killdozer” self-leveling crawler feet & trained RL: Standardized V3 around
DS3225 PROHV coreless servos, spiral knee springs, servo-saver rods, and double-parallelogram self-leveling ankles (<= 0.27°error at0.31 m/s). - 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. - Standalone
@ainekio/[email protected]: Extracted the shared ECS, Three.js, Rapier, WebRTC multiplayer, and audio core intoGreg-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.io | Actuators & Mechanics | Neural 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-bar | MicroDuck v19 + compiled ESP32-P4 WASM firmware | NeuralPose 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 ankles | v3-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 |

v1-microduck-p4 neural gait, 128 × 64 OLED mirror, 8 interactive servo gauges, and AprilTag/cone agility course.
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 at10 Hz(pose, model, joint angles, level, and expression) and render as full articulated V1, V2, or V3 “Killdozer” meshes at60 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.

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×MG90Sservos onPCA9685channels0..7, renders the0.96"128 × 64I2C OLED, and reads all 8 fourth-wire servo potentiometers on 8 directESP32-P4ADC pins with zero analog multiplexer. - V2 (
v2-12servo, default): Drives the active650 g12-servo floor robot withCD74HC406712-channel mux feedback,1.9"ST7789LCD, and on-chip50 HzMicroDuck. - V3 “Killdozer” (
v3-12servo): Drives 12×DS3225 PROHV coreless servos (35 kg·cm,800 deg/son direct2S), the recessed2.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:
- Automated 4th-wire + IMU servo calibration: Replaces manual per-joint offset tweaking with a guided Body Control workflow supporting
floormode (full 4th-wire sweep + IMU 4-leg leveling) andlegs_freemode (unloaded sweep), protected by a25.0°tilt abort guard with one-clickApplyandRestore. - Virtual Simulation Manager (
:8792): Replaces legacy bridge scripts by servingsimulator.ainek.iolocally, minting scoped virtual robot tokens, generating#hashlaunch URLs andainekio-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. - Zero-pinning auto-follow & unified room chat: Removed
robotIdpinning in Ainekio OS so Body Control solely owns active robot attachment—automatically following whichever physical or virtual body connects without restarting (1,000 msbase /2,500 mscapped reconnect). Added direct text input in Cockpit HUD, unified Comms Feed + Tap to Talk insimulator.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