Guidance Parameters#
For calibration math, see Calibration Math.
Overview#
After the diffusion model predicts a pose sequence, a Levenberg-Marquardt
optimizer refines it to be physically plausible and consistent with sensor
readings. The optimizer runs twice: once between denoising steps (inner,
5 iterations) and once after sampling is complete (post, 20 iterations).
IMU Constraints (RoSHI Modes)#
These are added in roshi and roshi_ariahand modes:
Constraint |
Weight |
What it does |
|---|---|---|
Local joint matching |
5.0 |
Each IMU-equipped joint rotation should match its IMU reading |
Pelvis rotation matching |
5.0 |
Frame-to-frame pelvis rotation change should match the pelvis IMU |
Body prior |
0.1 |
Extra prior to keep IMU-guided poses near the diffusion output |
Body smoothness |
10.0 |
Extra temporal smoothing for body joints |
Local joint matching minimizes the geodesic distance between predicted and IMU-derived parent-relative rotations:
Pelvis rotation matching:
Body smoothness penalizes large frame-to-frame rotation changes: