cablepilot / configs /planner_learned.yaml
Edgar Moreau
First upload (private preview)
168e232 verified
Raw History Blame Contribute Delete
2.14 kB
# MPPI on Stringman with OUR learned world model (milestone 2): everything as planner.yaml, the model swapped.
# MPPI on Stringman. FAST loop. Rates and their dependencies: docs/SCALING_armpilot.md (armpilot rules, copied).
dt: 0.2 # s per model step = per plan (5 Hz). The host re-sends velocity each tick (key TTL 2 s).
horizon: 10 # T -> 2.0 s of imagination, ~1.8 swing periods (1.09 s in the twin, 1.115 s measured, fw)
samples: 128 # S. Oracle: 41 ms per plan at S=128, T=10 on the M2 (scratch check 2026-10-08)
lam_mode: ess
ess_target: 0.1
lam: 1.0
# exploration std: vx, vy, vz (m/s), wrist rate (rad/s), closure (pinned by the task)
sigma: [0.06, 0.06, 0.03, 0.4, 0.0] # vz 3 cm/s: at 5 cm/s over 2 s, downward samples overshot into the floor and the
# weighted average stayed up (corr(J, vz) = -0.59 at a hover 5 cm over the target, sim 2026-10-08)
noise_corr: 0.9 # AR(1) along the horizon: samples ~ "head somewhere for a while", not white jitter
r_weights: [90.0, 90.0, 90.0, 1.0, 0.0] # x3 the oracle's: with the learned model commands jumped 3.5 cm/s per tick (oracle 1.5) and
# the accel-limited spools turned that into 10-25 deg/s of swing (2026-10-08) # smoothness on (a_k - a_{k-1})^2: Stringman's spools ramp at 0.18 m/s^2
keep_rollouts: 12
step_size: 0.3 # armpilot: < 1 lets the random part of each tick's average cancel across ticks
sigma_scales: [1.0, 0.2] # coarse samples travel, fine ones settle (armpilot)
seed: 0
a_min: [-0.30, -0.30, -0.30, -1.5, 0.0] # per-axis; the host also scales the norm to 0.35 m/s (fw speed_limit)
a_max: [0.30, 0.30, 0.30, 1.5, 1.0]
oracle:
timestep: 0.01 # planning model step; 2 s error vs the 0.004 s plant: median 3.9 mm (3.6 at 0.004, 12 trials)
model:
kind: learned
path: weights/stringman_g1.pt # the GENERAL model (random rooms, room = set_room(mounts)); test 1 ~20 mm / <0.9 deg in unseen rooms
observer_gain: 0.1 # per model step (0.1 s): time constant ~1 s, armpilot's 0.83 s
observer_max_mps: 0.08