Inference/viewer script output showing a policy checkpoint being rolled out against the simulated arm, bow, and erhu — bow held between the A and D strings against the sound box.
Overview
I play the erhu, and expressive bowing on string instruments is still an open problem for robots. HuArm is a 5-DoF arm I designed to bow it, with the long-term goal of playing alongside people.
The policy is trained in MuJoCo MJX, starting from teleoperated demos. Bowing technique, like keeping the bow flat and close to the sound box, is written into the reward, and physics and sensor noise are randomized to prepare for transfer to a real arm. That transfer is the next step.
What I built
Tracks bow force and velocity in simulation with RMS errors of 1.0 N and 0.042 m/s over arbitrary trajectories.
Tuned MJX solver and contact settings to cut compile time from 33 min to 1 min while keeping bow–string contact soft.
Built an iPhone teleoperation pipeline for recording bowing demos with contact. Training with them improved the velocity-tracking reward by 20%.