Skip to content

Reset the velocity integral when a position or velocity frame follows another mode - #3

Open
Jepson2k wants to merge 2 commits into
Source-Robotics:bootloader-versionfrom
Jepson2k:pr/velocity-integral-reset
Open

Jepson2k wants to merge 2 commits into
Source-Robotics:bootloader-versionfrom
Jepson2k:pr/velocity-integral-reset

Conversation

@Jepson2k

@Jepson2k Jepson2k commented Oct 3, 2026

Copy link
Copy Markdown

Reset the velocity integral when a position or velocity frame follows another mode

  • After a current-mode frame (a release), the first position or velocity frame re-applied the wind-up of the push before it: about 850 mA and a 0.65° slam on a 4:1 wrist. The integral is zeroed when such a frame arrives from any other mode; position and velocity keep it.
  • Setpoints, reset and mode change inside one short PRIMASK section so no control interrupt runs between them.
  • Observed on the arm 2026-09-23; the fix has run on six drives since.

Opened by Claude Code on behalf of @Jepson2k.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RMGrmJzkcZMnKrjm7HGjv9

… another mode

Wind-up from before a current-mode release re-applied on the next frame
(~850 mA, 0.65 deg slam on a 4:1 wrist). Setpoints, reset and mode change
inside one PRIMASK section.

Prepared by Claude Code on behalf of Jepson2k.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMGrmJzkcZMnKrjm7HGjv9
@Jepson2k
Jepson2k marked this pull request as ready for review October 3, 2026 01:06
Prepared by Claude Code on behalf of Jepson2k.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMGrmJzkcZMnKrjm7HGjv9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant