by Drew Owens
Open-source 15-DoF XL330 biped goose robot with Spine molecule PCB, 3D-printed chassis, and Isaac Lab to MuJoCo sim-to-real RL stack
main
Drew Owens
Publish Microgoose Rev A full-stack hardware, CAD, datasheet, and 7-stage RL stack
e843249
"""Domain randomization specifications for Microgoose sim-to-real transfer."""
from __future__ import annotations
from dataclasses import dataclass
from typing import Tuple
@dataclass(frozen=True)
class MicrogooseDomainRandSpec:
"""Bounds matching the Stage 2 Microgoose sim-to-real randomization contract."""
# Torso + battery payload mass multiplier (+-15%)
payload_mass_scale_range: Tuple[float, float] = (0.85, 1.15)
# Link CoM perturbation in meters
torso_com_offset_m_range: Tuple[float, float] = (-0.006, 0.006)
# Webbed foot sole to ground Coulomb friction coefficient
ground_friction_range: Tuple[float, float] = (0.50, 1.25)
# BAM XL330 servo proportional and derivative gain multipliers (+-12%)
kp_scale_range: Tuple[float, float] = (0.88, 1.12)
kd_scale_range: Tuple[float, float] = (0.88, 1.12)
# BMI270 torso IMU mounting pitch/roll alignment offset (+-2 deg = +-0.0349 rad)
imu_mount_offset_rad_range: Tuple[float, float] = (-0.0349, 0.0349)
# XL330 12-bit horn assembly zero-point offset (+-0.03 rad)
motor_zero_offset_rad_range: Tuple[float, float] = (-0.03, 0.03)
# Spine MCU 1 Mbps TTL UART SyncWrite/SyncRead transport delay (1 step = 2 ms)
action_delay_steps_range: Tuple[int, int] = (1, 1)
# External planar velocity impulse disturbances during walking
push_interval_sec_range: Tuple[float, float] = (3.5, 6.0)
push_vel_xy_mps_range: Tuple[float, float] = (-0.22, 0.22)
# Nominal 5.0 V Spine buck rail range under load droop
bus_voltage_v_range: Tuple[float, float] = (4.70, 5.05)
DOMAIN_RAND_SPEC = MicrogooseDomainRandSpec()