Diagnosing and Characterizing Actuator Latency and Estimation Mismatch in Low-Cost Servo-Actuated Quadruped Locomotion
Moving a simulation-trained quadruped policy onto a low-cost robot exposes timing and estimation mismatches all along the command-to-foot chain. On the Hiwonder ROSpug, an STM32 co-processor serves only one servo read per request (about 20~ms each, 240~ms for 12 joints), so our 20~Hz (50~ms) controller has to walk open-loop on a software observer. Swapping the nominal 40~ms first-order filter for an unshifted second-order observer halves benchtop prediction error, yet 36 runway trials ($N=4$ seeds) show no statistically detectable gain. We audit the full pipeline to find out why. Direct SDK step tests ($N=480$) reveal an interval-censored pre-motion wait of about 46~ms inside the STM32-to-servo path. At matched voltage, standing load leaves initial timing unchanged ($p=0.892$) but slows the completed 50\% rise by 27.7~ms ($p=0.015$, excluding 9 stalled lifts). Re-scoring 40~Hz bench traces at the instant the policy actually observes the joints, 50~ms after the previous command, exposes a phase-alignment trap: a second-order filter fitted to immediate polls (+14~ms) double-counts the 50~ms tick and trails the nominal filter when unloaded on three of four calves, while under load both sit within 0.02$^\circ$--0.42$^\circ$ of each other, far inside the 3$^\circ$ to 5$^\circ$ linkage play. At 20~Hz, second-order poles on the fast calves are also poorly identifiable because motor lag settles within one zero-order-hold tick; polling at about 40~Hz within each step resolves them. Runway audits further show 84\%--86\% rear-clamp pinning and wide between-seed variance. A counterbalanced ABBA follow-up with widened rear bounds, a corrected back-right curve, post-clamp observer input and rotated IMU axes still finds no detectable observer advantage ($p=0.44$--$0.92$) and reveals degraded attitude under untrimmed swing.
Discussione
Segui questa discussione
Una mail quando qualcuno commenta. Non serve un account.
La newsletter
Iscriviti alla nostra newsletter gratuita per restare aggiornato su tutto ciò che riguarda la robotica.