Skip to content

Write motor configuration to servo hardware (LeRobot-style: PID, acceleration, gripper overload protection) #23

Description

Consolidates salvageable ideas from #7 and #8 (both closed as stale), plus the already-documented acceleration_degs_per_sec_per_sec follow-up in CLAUDE.md.

Currently acceleration_degs_per_sec_per_sec is validated and stored on the hardware arm but never written to the servos (see CLAUDE.md "Gotchas"). More broadly, we don't push LeRobot-style motor tuning to the STS3215 registers.

Ideas to pull from the closed PRs

Scope

  • Write acceleration_degs_per_sec_per_sec through to the servo maximum_acceleration register (closes the existing CLAUDE.md TODO).
  • Extra gripper load/overload protection registers.
  • EEPROM writes require torque disabled first — do this in the init path before enabling torque.
  • Re-target against feetech-servo v0.6.0 (both source PRs predate it); confirm register-name/helper APIs.

Neither source branch is worth reviving directly (heavy conflicts, stale feetech), but the register maps and sequencing are a useful reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions