CARNEGIE MELLON · BIOROBOTICS LAB · ONGOING
Teaching snake robots
to measure torque.
Developing a repeatable calibration process, from automated testing and firmware integration to validation and training other researchers.
The challenge
Our modular snake robots need to estimate joint torque from the deflection of their series elastic elements. I was tasked with designing and automating a testing procedure, determining whether each module needed its own calibration, and implementing the resulting coefficients on the modules.
Starting with an existing test fixture, I led the development of the calibration workflow. The robots are being developed for applications including search and rescue and pipe inspection.
My approach
I developed Python code to automate torque sweeps, collect force-sensor readings through Arduino alongside HEBI encoder feedback, and fit polynomial relationships between deflection and measured torque. I checked each calibration against a separate set of test measurements.
Comparing modules showed that each required its own coefficients. I built a workflow to save those coefficients on the modules and organize the calibration data for continued testing.
Resolving the unexpected
Temperature and repeatability
Temperature-related changes caused discrepancies between calibration curves and later test measurements. I investigated the mismatch and introduced a warm-up procedure before calibration. Validation RMSE improved from approximately 0.3–0.5 Nm to 0.02–0.1 Nm across the modules tested.
Working with HEBI
I communicated directly with HEBI engineers to understand the firmware’s torque-estimation equation and configure higher torque output. I resolved a sign-convention mismatch, aligned the polynomial fitting with the firmware’s negative-deflection input in radians, and increased available test torque from approximately 4 to 8.5 Nm.
This expanded the range I could test and allowed me to implement the calibration coefficients successfully on the modules.

Results and handoff
I completed calibration for 16 modules, enough for one complete snake, and successfully saved the coefficients on the modules. I trained three other lab members who now run tests independently, and calibration continues for additional snakes.
The first snake is still being assembled; these results demonstrate module-level calibration, with assembled-robot testing still ahead.
What I learned
This project taught me how to turn an open-ended research need into a repeatable test process. I learned to investigate test conditions when measurements disagree, communicate technical questions with hardware engineers, and make a workflow clear enough for others to use independently.
Additional lab work
I have also assembled modules for two snake robot iterations, including gearboxes, electrical connections, bearings, pins, and reamed housing holes. Alongside assembly, I conducted a literature review on replacing steel gears with titanium gears.