All work

EMBEDDED × CONTROL

Laika quadruped firmware

Predictable timing, reliable communication, and a controlled first movement.

STM32H7FreeRTOSCAN FDC/C++
ROLE

Firmware team member · CMU Robotics Club

WHEN

Oct 2026 — present

STATUS

Validated on a two-joint test leg

Two-joint Laika test leg with ODrive motors on the bench rig

THE IDEA

Making the control loop count.

As a member of CMU Robotics Club’s Laika firmware team, I work on the embedded path between an STM32H723 and ODrive motor controllers. My contribution covers CAN bring-up and integration of the joint torque controller into FreeRTOS, with validation on a two-joint test leg.

MY CONTRIBUTION

What I worked on

01

Four CAN buses

Brought up three on-chip FDCAN peripherals and an SPI-attached MCP2518FD. Configured the clock tree and 1 Mbps bit timing to match the ODrive’s 87.5% sample point.

02

A 1 kHz joint controller

Integrated a PD joint torque controller into the FreeRTOS loop, linking joint feedback to motor torque commands.

03

Deliberate bring-up behavior

Added bumpless start, an ODrive watchdog feed, and a zero-torque dry-run mode, then checked the integrated controller on a two-joint leg.

ENGINEERING CHALLENGE

Make the first control cycle predictable

A controller needs more than the right gain values. Communication settings, feedback, startup behavior, and watchdog timing all affect the physical result. I treated bring-up as a system task: establish the CAN links, exercise the zero-torque path, and validate the PD loop on the test leg.

RESULTS & SCOPE

What the work shows

Communication

Four buses configured for ODrive communication at 1 Mbps.

Control

1 kHz PD joint torque controller integrated into FreeRTOS.

Bench validation

Two-joint test leg; bumpless start, watchdog feed, and dry-run path.

Current boundaries

The validation described here is on a two-joint test leg. It does not establish full-quadruped walking performance. This is a team project; the contributions above describe my firmware work.

KEEP EXPLORING

32-channel HD-EMG interface