← Commit history
README.md+2
@@ -69,6 +69,8 @@ The parametric OCCT/CadQuery generator ([mechanical/build_microgoose_cad.py](mec  ## 3. 7-Stage NVIDIA GTC Sim-to-Real Locomotion Stack +> **Narrated Training Walkthrough ([training-walkthrough/README.md](training-walkthrough/README.md)):** Watch the `2m 08s` narrated video walkthrough covering CAD-to-MJCF/URDF/USD generation, `XL330` BAM servo identification (`0.036 deg` RMSE `[simulated]`), `16,384`-env Isaac Lab 3.0 + Newton GPU PPO (`75,311` steps/s `[measured]`), `3.04M`-step full-DR training (`13m 55s` `[measured]`), `policy.onnx` dual-engine (`MuJoCo 4.0.1` + `MIT/TRI Drake 1.58.0`) push recovery, and hardware validation.+ Microgoose implements the complete open sim-to-real recipe highlighted in Jensen Huang's GTC Berlin keynote:  1. **Stage 1: CAD-Exact MJCF/URDF & BAM Actuator Identification** ([rl/assets/microgoose.xml](rl/assets/microgoose.xml), [rl/bam/fit_xl330.py](rl/bam/fit_xl330.py)): Ingests exact OCCT per-link mass, CoM, and inertia tensors (`0.5575 kg`) alongside fitted `XL330-M288-T` BAM friction, reflected rotor armature (`3.443e-4 kg m^2`), `2 ms` bus delay, and `5 V` bus droop (`0.036 deg` validation RMSE).
training-walkthrough/README.mdadded+66
@@ -0,0 +1,66 @@+# How the Microgoose Walking Policy Is Trained++Back to [Microgoose Overview](/drew2/microgoose) | Related: [Project Build and Validation Timeline](/drew2/microgoose/files/timeline/README.md) | [Physical Test Plan](/drew2/microgoose/files/docs/validation/PHYSICAL_TEST_PLAN.md)++::adom-video{src="/drew2/microgoose/render/training-walkthrough/microgoose-training-walkthrough.video.json"}++Download directly: [microgoose-training-walkthrough.mp4](/drew2/microgoose/files/training-walkthrough/microgoose-training-walkthrough.mp4) (`1920x1080`, `2m 08s`), [WebVTT captions](/drew2/microgoose/files/training-walkthrough/microgoose-training-walkthrough.vtt), [SRT captions](/drew2/microgoose/files/training-walkthrough/microgoose-training-walkthrough.srt), and [chapters JSON](/drew2/microgoose/files/training-walkthrough/microgoose-training-walkthrough.chapters.json).++This two-minute walkthrough traces how Microgoose's `50 Hz` bipedal walking controller goes from parametric mechanical CAD and Dynamixel `XL330-M288-T` actuator identification to GPU-parallel PPO training, self-contained `policy.onnx` export, dual-engine (`MuJoCo 4.0.1` + `MIT/TRI Drake 1.58.0`) verification, and pre-fabrication electrical and thermal stress checks. Every number in the video and tables below is tagged `[simulated]`, `[measured]`, `[calculated]`, or `[datasheet]` directly from the repository's verification reports.++![Six-chapter visual overview of the Microgoose walking policy training walkthrough](training-walkthrough/pipeline-overview.png)+*Six-stage training and validation pipeline rendered from the real Microgoose CAD meshes, actuator fits, GPU training logs, and dual-engine rollouts.*++## Video Chapters and Evidence Index++| Time | Chapter | Key Quantities (with Provenance) | Primary Repo Evidence |+|---|---|---|---|+| `00:00` | **1. The Robot: CAD & 15 XL330 Servos** | `284.0 mm` standing height, `557.5 g` CAD mass (`550.2 g` walk MJCF) `[calculated]`; `15`x `XL330-M288-T` (`0.52 N*m` stall `[datasheet]`); `0` OCCT solid collisions across `2,145` pairs `[calculated]`; `200 Hz` `STM32G431` bus sync + `50 Hz` `Radxa Zero 3W` (`0.160 ms` ONNX inference `[measured]`) | [microgoose-hero.glb](/drew2/microgoose/files/docs/3d/microgoose-hero.glb), [build_microgoose_cad.py](/drew2/microgoose/files/mechanical/build_microgoose_cad.py), [kinematics_mass_props.json](/drew2/microgoose/files/mechanical/kinematics_mass_props.json), [interference-report.json](/drew2/microgoose/files/mechanical/interference-report.json) |+| `00:19` | **2. Servo ID: XL330 BAM Actuator Model** | Rhoban BAM pendulum sweep (`50 g`, `100 g`, `180 g` loads): `3.443e-4 kg*m^2` armature, `0.024 N*m` stiction, `0.00673 N*m*s/rad` viscous damping, `0.255 deg` (`4.45 mrad`) gear backlash, `2.0 ms` UART delay, `5.0 V` rail sag, and `0.036 deg` held-out `100 g` validation RMSE `[simulated]` | [fit_xl330.py](/drew2/microgoose/files/rl/bam/fit_xl330.py), [xl330_bam_params.json](/drew2/microgoose/files/rl/bam/xl330_bam_params.json), [xl330_electromech.py](/drew2/microgoose/files/rl/bam/xl330_electromech.py), [bam_xl330_fit.png](/drew2/microgoose/files/docs/rl/bam_xl330_fit.png) |+| `00:36` | **3. Sim Model: CAD to MJCF, URDF & USD** | `60` MuJoCo STL meshes, `44` Drake Wavefront OBJ meshes, and Newton USD articulation; all `351,579` sim mesh vertices sit within `0.09 um` of the hero GLB with `1.0000` (3/4) and `0.9988` (side) silhouette IoU `[measured]` | [build_mjcf.py](/drew2/microgoose/files/rl/build_mjcf.py), [microgoose.xml](/drew2/microgoose/files/rl/assets/microgoose.xml), [microgoose.urdf](/drew2/microgoose/files/rl/assets/microgoose.urdf), [cad_vs_sim_alignment.png](/drew2/microgoose/files/docs/validation/cad_vs_sim_alignment.png) |+| `00:53` | **4. GPU PPO Training, DR & Rewards** | DR across `+-20%` mass, `0.40-1.30` friction, `0.11-0.69 deg` backlash, `0-8 ms` latency, `6.0-8.4 V` `2S` battery sag, and `+-8.5 deg` slopes `[simulated]`; `16,384` parallel geese in Isaac Lab 3.0 + Newton at `75,311` steps/s `[measured]`; `3.04M` full-DR CUDA PPO steps in `13m 55s` (`0.232` GPU-h `[measured]`), `100%` eval survival `[simulated]` | [isaaclab_microgoose/](/drew2/microgoose/files/rl/isaaclab_microgoose/README.md), [train_ppo_cuda.py](/drew2/microgoose/files/rl/train_ppo_cuda.py), [training_metrics.json](/drew2/microgoose/files/rl/checkpoints/training_metrics.json), [isaaclab_newton_short_validation.json](/drew2/microgoose/files/validation/isaaclab_newton_short_validation.json) |+| `01:17` | **5. ONNX Export & Dual-Engine Sim-to-Sim** | `234.6 KB` opset-17 `policy.onnx` (`1.43e-6` max PyTorch diff `[measured]`); `50 Hz` CPU MuJoCo walk covers `1.55 m` forward (`+X`) and `1.80 m` straight-line in `10.0 s` with `+0.18 m/s` push recovery at `4.0 s` (`87.06 / 100` Policy Arena, `32/32` survival `[simulated]`); MIT/TRI Drake `1.58.0` passes all `5` upright scenarios within `0.010 m/s` `[simulated]` | [export_onnx.py](/drew2/microgoose/files/rl/export_onnx.py), [policy.onnx](/drew2/microgoose/files/rl/checkpoints/policy.onnx), [sim2sim_report.json](/drew2/microgoose/files/rl/checkpoints/sim2sim_report.json), [arena_scorecard.json](/drew2/microgoose/files/rl/arena/arena_scorecard.json), [sim2sim_cross_engine_report.json](/drew2/microgoose/files/validation/sim2sim_cross_engine_report.json) |+| `01:43` | **6. Hardware Checks & Physical Bring-Up** | Peak walking torque `0.366 N*m` (MuJoCo) / `0.467 N*m` (Drake) `[simulated]` vs `0.52 N*m` stall `[datasheet]`; `39.25 degC` 10-min knee winding `[simulated]` vs `75.0 degC` shutdown `[datasheet]`; `2.70 A` walk mean vs `11.88 A` uncapped get-up collapsing `5V_BUS` to `2.47 V` `[simulated]` without a `3.75 rad/s` slew cap | [mechanical_validation_report.json](/drew2/microgoose/files/validation/mechanical_validation_report.json), [electrical_validation_report.json](/drew2/microgoose/files/validation/electrical_validation_report.json), [PHYSICAL_TEST_PLAN.md](/drew2/microgoose/files/docs/validation/PHYSICAL_TEST_PLAN.md) |++---++## Stage-by-Stage Technical Notes++### 1. CAD Assembly and 15-Servo Topology+Microgoose splits `15` Dynamixel `XL330-M288-T` actuators across two `5-DoF` carbon-slate `PETG-CF` legs (`hip_yaw`, `hip_roll`, `hip_pitch`, `knee_pitch`, `ankle_pitch` on IDs `1..5` and `6..10`), a `4-DoF` counter-balancing S-neck and sensor cranium (`neck_pitch`, `head_pitch`, `head_yaw`, `head_roll` on IDs `11..14`), and a `15th` independent lower mandible (`beak_pitch`, ID `15`). Inside the printed torso shell, an underslung `2S` `NP-F550` battery sled sits below the `70.0 x 70.0 mm` `microgoose-spine` Molecule PCB (`STM32G431CBT6` running `200 Hz` `1 Mbps` Sync Read/Write) and an upper `Radxa Zero 3W` mezzanine executing the `50 Hz` ONNX walking policy (`0.160 ms` mean inference time `[measured]`).++### 2. XL330 BAM Actuator Identification+Small `288.4:1` spur-geared servos cannot be modeled as ideal torque sources. Using the Rhoban BAM multi-mass pendulum procedure ([fit_xl330.py](/drew2/microgoose/files/rl/bam/fit_xl330.py)) across `50 g`, `100 g`, and `180 g` loads on a `110 mm` arm, the actuator model fits reflected rotor inertia (`3.443e-4 kg*m^2` `[simulated]`), Coulomb stiction (`0.024 N*m` `[simulated]`), viscous damping (`0.00673 N*m*s/rad` `[simulated]`), gear backlash (`0.255 deg` `[simulated]`), `2.0 ms` half-duplex UART transport lag, and coupled `5.0 V` Spine bus droop ([xl330_electromech.py](/drew2/microgoose/files/rl/bam/xl330_electromech.py)), reaching `0.036 deg` validation RMSE on the held-out `100 g` multi-sine sweep `[simulated]`. The physical 3D-printed pendulum calibration rig ships on Bambu Plate 3 so bench hardware sweeps drop directly into the same fitter.++![XL330-M288-T BAM pendulum identification and held-out 100 g validation error](docs/rl/bam_xl330_fit.png)+*Fitted `XL330-M288-T` BAM model tracking `50 g` and `180 g` sweeps, held-out `100 g` multi-sine validation (`0.036 deg` RMSE `[simulated]`), and `5.0 V` Spine bus sag operating envelope.*++### 3. CAD-Exact MJCF, URDF, and USD Generation+Rather than approximating links with boxes or cylinders, [build_mjcf.py](/drew2/microgoose/files/rl/build_mjcf.py) transforms the OpenCascade CAD solids at the reference joint pose (`T_world(q_cad)^(-1)`) into `microgoose.xml` (`60` STL meshes for MuJoCo), `microgoose.urdf` (`44` Wavefront OBJ+MTL meshes for MIT/TRI Drake), and `microgoose_walk.usda` (for Isaac Lab 3.0 and Newton). Every single one of the `351,579` simulation mesh vertices lies within `0.09 um` of the published hero GLB `[measured]`, achieving a `1.0000` silhouette IoU in the 3/4 view `[measured]`. Visual CAD meshes carry `contype = conaffinity = 0`, keeping contact physics fast and bit-exact on the dedicated sole colliders.++### 4. GPU-Parallel PPO Training, Domain Randomization, and Rewards+Training randomizes link mass (`+-20%`), ground friction (`0.40` to `1.30`), spur-gear backlash (`0.11` to `0.69 deg`), UART bus latency (`0` to `8.0 ms`), `2S` battery open-circuit voltage (`6.0` to `8.4 V` with live `LMR33640` droop), terrain slopes (`-8.5` to `+8.5 deg`), IMU mount alignment (`+-6.0 deg`), and external planar torso pushes `[simulated]`. Rewards combine linear and angular velocity tracking, upright torso posture, and `30+ mm` swing foot clearance against penalties on action rate, jerk, squared joint torque, foot slip, joint limits, and self-collision.++- **Native Isaac Lab 3.0 + Newton (`MuJoCo-Warp`) GPU Scale** ([rl/isaaclab_microgoose/](/drew2/microgoose/files/rl/isaaclab_microgoose/README.md)): The `IsaacContrib-Velocity-Flat-MicroGoose` task (`[1, 64] -> [1, 15]` actor, `79`-float privileged critic, `2x` sagittal symmetry) steps `16,384` Microgoose robots in parallel on an RTX 4090 Laptop GPU at `75,311` environment steps/s `[measured]` (`31.46M` steps across `80` iterations in `417.7 s` `[measured]`, `88.37%` full `20.0 s` episode survival `[simulated]`).+- **Full-DR + Slope CUDA PPO Checkpoints** ([train_ppo_cuda.py](/drew2/microgoose/files/rl/train_ppo_cuda.py), [training_metrics.json](/drew2/microgoose/files/rl/checkpoints/training_metrics.json)): Across Stage 1 flat training (`2.016M` steps in `443.49 s` `[measured]`) and Stage 2/3 full domain-randomization and `+-8.5 deg` slope fine-tuning (`+1.024M` steps in `391.44 s` `[measured]`), cumulative GPU training totaled `3,040,000` steps in `13m 55s` (`0.232` GPU-hours `[measured]`), achieving `100.0%` survival (`12/12` deterministic rollouts, `0.039 m/s` velocity MAE `[simulated]`).++![RTX 4090 CUDA PPO training reward, survival, velocity error, and policy entropy](docs/rl/training_curves.png)+*Cumulative `3.04M`-step CUDA PPO training curves (`13m 55s` measured GPU wall-clock) across full domain randomization and `+-8.5 deg` slopes.*++### 5. ONNX Export, Push Recovery, and Dual-Engine Sim-to-Sim+[export_onnx.py](/drew2/microgoose/files/rl/export_onnx.py) folds running observation normalization (`(obs - mean) / std`, clipped to `[-5, +5]`) into a single `234.6 KB` opset-17 [policy.onnx](/drew2/microgoose/files/rl/checkpoints/policy.onnx) (`[1, 61] -> [1, 14]`), matching PyTorch within `1.43e-6` max absolute difference across `1,000` test inputs `[measured]`.++- **Zero-Shot CPU MuJoCo Rollout & Policy Arena** ([sim2sim_report.json](/drew2/microgoose/files/rl/checkpoints/sim2sim_report.json), [arena_scorecard.json](/drew2/microgoose/files/rl/arena/arena_scorecard.json)): Over a `10.0 s` (`500`-step) `50 Hz` rollout commanded at `0.16 m/s`, the policy covers `1.55 m` forward (`+X`) and `1.80 m` straight-line planar distance (`30.3 mm` left / `33.2 mm` right swing clearance `[simulated]`), absorbs a `+0.18 m/s` lateral impulse at `t = 4.0 s` without falling (`15.33 deg` max tilt `[simulated]`), and scores `87.06 / 100` with `32/32` survival across the Policy Arena benchmark `[simulated]`.+- **Second-Engine Cross-Check (`MuJoCo 4.0.1` vs `MIT/TRI Drake 1.58.0`)** ([sim2sim_cross_engine_report.json](/drew2/microgoose/files/validation/sim2sim_cross_engine_report.json)): Executing the identical `policy.onnx` in Drake's Featherstone `MultibodyPlant` with discrete SAP convex contact passes `500/500` steps across all five upright scenarios (stand, `0.16 m/s` forward walk at `+1.55 m` MuJoCo vs `+1.83 m` Drake, walk + yaw turn, 3-impulse push recovery up to `0.26 m/s`, and `+8.0 deg` uphill ramp), matching mean forward speed within `0.010 m/s` `[simulated]`.++![Dual-engine MuJoCo 4.0.1 vs MIT/TRI Drake 1.58.0 cross-validation](docs/rl/dual_engine_sim2sim.png)+*Cross-engine verification of `policy.onnx` across `MuJoCo 4.0.1` and `MIT/TRI Drake 1.58.0`, including upright gaits, `+8.0 deg` ramp climbing, and stand-up current-limit diagnostics.*++### 6. What Simulation Tells the Hardware (and What Still Needs a Real Robot)+Coupling dual-engine joint trajectories into `scikit-fem` 3D tetrahedral FEA ([mechanical_validation_report.json](/drew2/microgoose/files/validation/mechanical_validation_report.json)), `400 kHz` `ngspice-42` switching transients ([electrical_validation_report.json](/drew2/microgoose/files/validation/electrical_validation_report.json)), and `adom-fields` electro-thermal copper solves verified steady-walk margins and caught three real design traps before ordering or printing hardware:++1. **Torque and 10-Minute Thermal Headroom (`PASS`)**: Peak walking torque reaches `0.366 N*m` in MuJoCo and `0.467 N*m` in Drake `[simulated]`, staying below the `0.52 N*m` `XL330` stall rating `[datasheet]`. Across a continuous `10.0`-minute (`600 s`) simulated walk at `25 degC` ambient, the hottest stator coil (`left_knee_pitch`) stabilizes at `39.25 degC` `[simulated]`, leaving `35.75 degC` margin `[calculated]` below the `75.0 degC` thermal shutdown `[datasheet]`.+2. **Stand-Up Bus Foldback Trap (`CAUGHT`)**: Steady walking draws `2.70 A` mean (`4.36 A` peak `[simulated]`), holding the `4.0 A` `LMR33640DDDAR` `5V_BUS` rail at `4.89 V` min in `ngspice-42` `[simulated]`. However, an uncapped simultaneous 15-servo stand-up demands `11.88 A` `[simulated]`, folding `5V_BUS` down to `2.47 V` `[simulated]` and browning out compute. `Rev A` enforces a `<= 3.75 rad/s` firmware slew cap with active `INA226` current guard; `Rev B` isolates `5V_SBC` onto a dedicated `2 A` buck and splits the legs across dual `6 A` servo bucks.+3. **Prone-Fall Neck Stress & Beak Stop Stall (`CAUGHT`)**: 3D FEA showed a `108.4 N` stiff-servo prone beak strike drives upright-printed PLA S-neck root stress to `102.8 MPa` `[calculated]` (`SF_XY = 0.41x`), prompting an IMU fall-detection limp mode (`0.15x` `kp`) and a split-flat `PETG-CF` neck with a `TPU 95A` bumper. Similarly, clamping `beak_pitch` `q_target >= 0.03 rad` eliminates a `1.01 A` RMS closed-stop stall `[simulated]`.++**What still requires physical hardware** ([PHYSICAL_TEST_PLAN.md](/drew2/microgoose/files/docs/validation/PHYSICAL_TEST_PLAN.md)): FDM interlayer bond strength and bearing press-fit creep, batch-to-batch `XL330` breakaway stiction and H-bridge dead-time spread, `1 Mbps` half-duplex `USART3` reflections under real motor spikes, `NP-F550` spring-contact bounce on foot impacts, `VL53L5CX` floor glare on glossy tile, and wire-bundle fatigue across thousands of strides.
training-walkthrough/microgoose-training-walkthrough-poster.jpgadded
⋯ 1 unchanged line ⋯
training-walkthrough/microgoose-training-walkthrough.chapters.jsonadded+26
@@ -0,0 +1,26 @@+[+  {+    "t": 0.0,+    "title": "1. The Robot: CAD & 15 XL330 Servos"+  },+  {+    "t": 18.83,+    "title": "2. Servo ID: XL330 BAM Actuator Model"+  },+  {+    "t": 35.84,+    "title": "3. Sim Model: CAD to MJCF, URDF & USD"+  },+  {+    "t": 53.06,+    "title": "4. GPU PPO Training, DR & Rewards"+  },+  {+    "t": 77.28,+    "title": "5. ONNX Export & Dual-Engine Sim-to-Sim"+  },+  {+    "t": 102.67,+    "title": "6. Hardware Checks & Physical Bring-Up"+  }+]
training-walkthrough/microgoose-training-walkthrough.mp4added
⋯ 1 unchanged line ⋯
training-walkthrough/microgoose-training-walkthrough.srtadded+104
@@ -0,0 +1,104 @@+1+00:00:00,320 --> 00:00:07,332+Microgoose is an open 15-DoF biped,+284.0 mm tall at 557.5 g from CAD.++2+00:00:07,462 --> 00:00:12,963+15 XL330 servos drive 5 joints per leg,+4 in the neck, plus the beak.++3+00:00:13,093 --> 00:00:18,696+Inside the torso, a Spine PCB runs bus+sync at 200 Hz under a 50 Hz Radxa host.++4+00:00:18,986 --> 00:00:24,244+Before policy training, simulation must+match how a geared XL330 pushes back.++5+00:00:24,374 --> 00:00:29,727+The Rhoban BAM pendulum method sweeps+50, 100, and 180 g tip loads.++6+00:00:29,857 --> 00:00:35,708+With 2 ms delay and 5 V sag, the+simulated fit hits 0.036 deg error.++7+00:00:35,998 --> 00:00:42,210+build_mjcf exports CAD mass and inertia+to MJCF, URDF, and USD.++8+00:00:42,340 --> 00:00:47,926+Measured at the CAD pose, every sim vertex+sits within 0.09 um of the GLB.++9+00:00:48,056 --> 00:00:52,934+Visual CAD meshes disable contacts, so+sole physics runs fast and bit-exact.++10+00:00:53,224 --> 00:00:59,230+PPO randomizes mass, friction, backlash,+bus latency, slopes, and battery voltage.++11+00:00:59,360 --> 00:01:04,157+Rewards track speed, upright posture, and+foot clearance, penalizing jerk and slip.++12+00:01:04,287 --> 00:01:10,581+Isaac Lab on Newton steps 16,384 geese+at 75,311 steps/s on GPU, measured.++13+00:01:10,711 --> 00:01:17,150+3.04M DR steps took 13m 55s measured,+with 100% eval survival.++14+00:01:17,440 --> 00:01:24,205+policy.onnx bakes normalization within+1.43e-6 of PyTorch, measured.++15+00:01:24,335 --> 00:01:31,265+In 50 Hz MuJoCo, the simulated walk covers+1.55 m forward and 1.80 m straight-line.++16+00:01:31,395 --> 00:01:37,530+It recovers a +0.18 m/s push at 4 s+simulated, scoring 87.06 in Arena.++17+00:01:37,660 --> 00:01:42,535+Cross-checked in Drake 1.58, it passes+all 5 upright tests, simulated.++18+00:01:42,825 --> 00:01:49,707+Simulated peak torque is 0.37 N*m (MuJoCo)+and 0.47 (Drake), below 0.52 stall.++19+00:01:49,837 --> 00:01:55,926+In a 10-min simulated walk, knee coils+plateau at 39.3 C vs 75 C max.++20+00:01:56,056 --> 00:02:02,988+Uncapped stand-up pulls 11.88 A simulated,+dropping 5V_BUS to 2.47 V without a cap.++21+00:02:03,118 --> 00:02:08,108+Layer strength, batch stiction, 1 Mbps+bus noise, and glare await real hardware.
training-walkthrough/microgoose-training-walkthrough.video.jsonadded+32
@@ -0,0 +1,32 @@+{+  "video": "/drew2/microgoose/render/training-walkthrough/microgoose-training-walkthrough.mp4",+  "title": "How the Microgoose 15-DoF Walking Policy Is Trained",+  "poster": "/drew2/microgoose/render/training-walkthrough/microgoose-training-walkthrough-poster.jpg",+  "chapters": [+    {+      "t": 0.0,+      "title": "1. The Robot: CAD & 15 XL330 Servos"+    },+    {+      "t": 18.83,+      "title": "2. Servo ID: XL330 BAM Actuator Model"+    },+    {+      "t": 35.84,+      "title": "3. Sim Model: CAD to MJCF, URDF & USD"+    },+    {+      "t": 53.06,+      "title": "4. GPU PPO Training, DR & Rewards"+    },+    {+      "t": 77.28,+      "title": "5. ONNX Export & Dual-Engine Sim-to-Sim"+    },+    {+      "t": 102.67,+      "title": "6. Hardware Checks & Physical Bring-Up"+    }+  ],+  "captions": "WEBVTT\n\n00:00:00.320 --> 00:00:07.332\nMicrogoose is an open 15-DoF biped,\n284.0 mm tall at 557.5 g from CAD.\n\n00:00:07.462 --> 00:00:12.963\n15 XL330 servos drive 5 joints per leg,\n4 in the neck, plus the beak.\n\n00:00:13.093 --> 00:00:18.696\nInside the torso, a Spine PCB runs bus\nsync at 200 Hz under a 50 Hz Radxa host.\n\n00:00:18.986 --> 00:00:24.244\nBefore policy training, simulation must\nmatch how a geared XL330 pushes back.\n\n00:00:24.374 --> 00:00:29.727\nThe Rhoban BAM pendulum method sweeps\n50, 100, and 180 g tip loads.\n\n00:00:29.857 --> 00:00:35.708\nWith 2 ms delay and 5 V sag, the\nsimulated fit hits 0.036 deg error.\n\n00:00:35.998 --> 00:00:42.210\nbuild_mjcf exports CAD mass and inertia\nto MJCF, URDF, and USD.\n\n00:00:42.340 --> 00:00:47.926\nMeasured at the CAD pose, every sim vertex\nsits within 0.09 um of the GLB.\n\n00:00:48.056 --> 00:00:52.934\nVisual CAD meshes disable contacts, so\nsole physics runs fast and bit-exact.\n\n00:00:53.224 --> 00:00:59.230\nPPO randomizes mass, friction, backlash,\nbus latency, slopes, and battery voltage.\n\n00:00:59.360 --> 00:01:04.157\nRewards track speed, upright posture, and\nfoot clearance, penalizing jerk and slip.\n\n00:01:04.287 --> 00:01:10.581\nIsaac Lab on Newton steps 16,384 geese\nat 75,311 steps/s on GPU, measured.\n\n00:01:10.711 --> 00:01:17.150\n3.04M DR steps took 13m 55s measured,\nwith 100% eval survival.\n\n00:01:17.440 --> 00:01:24.205\npolicy.onnx bakes normalization within\n1.43e-6 of PyTorch, measured.\n\n00:01:24.335 --> 00:01:31.265\nIn 50 Hz MuJoCo, the simulated walk covers\n1.55 m forward and 1.80 m straight-line.\n\n00:01:31.395 --> 00:01:37.530\nIt recovers a +0.18 m/s push at 4 s\nsimulated, scoring 87.06 in Arena.\n\n00:01:37.660 --> 00:01:42.535\nCross-checked in Drake 1.58, it passes\nall 5 upright tests, simulated.\n\n00:01:42.825 --> 00:01:49.707\nSimulated peak torque is 0.37 N*m (MuJoCo)\nand 0.47 (Drake), below 0.52 stall.\n\n00:01:49.837 --> 00:01:55.926\nIn a 10-min simulated walk, knee coils\nplateau at 39.3 C vs 75 C max.\n\n00:01:56.056 --> 00:02:02.988\nUncapped stand-up pulls 11.88 A simulated,\ndropping 5V_BUS to 2.47 V without a cap.\n\n00:02:03.118 --> 00:02:08.108\nLayer strength, batch stiction, 1 Mbps\nbus noise, and glare await real hardware.\n"+}
training-walkthrough/microgoose-training-walkthrough.vttadded+85
@@ -0,0 +1,85 @@+WEBVTT++00:00:00.320 --> 00:00:07.332+Microgoose is an open 15-DoF biped,+284.0 mm tall at 557.5 g from CAD.++00:00:07.462 --> 00:00:12.963+15 XL330 servos drive 5 joints per leg,+4 in the neck, plus the beak.++00:00:13.093 --> 00:00:18.696+Inside the torso, a Spine PCB runs bus+sync at 200 Hz under a 50 Hz Radxa host.++00:00:18.986 --> 00:00:24.244+Before policy training, simulation must+match how a geared XL330 pushes back.++00:00:24.374 --> 00:00:29.727+The Rhoban BAM pendulum method sweeps+50, 100, and 180 g tip loads.++00:00:29.857 --> 00:00:35.708+With 2 ms delay and 5 V sag, the+simulated fit hits 0.036 deg error.++00:00:35.998 --> 00:00:42.210+build_mjcf exports CAD mass and inertia+to MJCF, URDF, and USD.++00:00:42.340 --> 00:00:47.926+Measured at the CAD pose, every sim vertex+sits within 0.09 um of the GLB.++00:00:48.056 --> 00:00:52.934+Visual CAD meshes disable contacts, so+sole physics runs fast and bit-exact.++00:00:53.224 --> 00:00:59.230+PPO randomizes mass, friction, backlash,+bus latency, slopes, and battery voltage.++00:00:59.360 --> 00:01:04.157+Rewards track speed, upright posture, and+foot clearance, penalizing jerk and slip.++00:01:04.287 --> 00:01:10.581+Isaac Lab on Newton steps 16,384 geese+at 75,311 steps/s on GPU, measured.++00:01:10.711 --> 00:01:17.150+3.04M DR steps took 13m 55s measured,+with 100% eval survival.++00:01:17.440 --> 00:01:24.205+policy.onnx bakes normalization within+1.43e-6 of PyTorch, measured.++00:01:24.335 --> 00:01:31.265+In 50 Hz MuJoCo, the simulated walk covers+1.55 m forward and 1.80 m straight-line.++00:01:31.395 --> 00:01:37.530+It recovers a +0.18 m/s push at 4 s+simulated, scoring 87.06 in Arena.++00:01:37.660 --> 00:01:42.535+Cross-checked in Drake 1.58, it passes+all 5 upright tests, simulated.++00:01:42.825 --> 00:01:49.707+Simulated peak torque is 0.37 N*m (MuJoCo)+and 0.47 (Drake), below 0.52 stall.++00:01:49.837 --> 00:01:55.926+In a 10-min simulated walk, knee coils+plateau at 39.3 C vs 75 C max.++00:01:56.056 --> 00:02:02.988+Uncapped stand-up pulls 11.88 A simulated,+dropping 5V_BUS to 2.47 V without a cap.++00:02:03.118 --> 00:02:08.108+Layer strength, batch stiction, 1 Mbps+bus noise, and glare await real hardware.
training-walkthrough/pipeline-overview.pngadded
⋯ 1 unchanged line ⋯