Repository navigation
[prototype] StreamServo: Cartesian servo stream on MotionService (do not merge) - #954
Draft
Nick Hehr (HipsterBrown) wants to merge 1 commit into
Draft
Nick Hehr (HipsterBrown) wants to merge 1 commit into
Nick Hehr (HipsterBrown) wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012FAJrCbp5iNrpYMwiGMGmg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prototype, do not merge. This is a reference for the Cartesian servoing scope review (APP-18704), not a proposal to merge as-is. Field names are a starting point.
What this adds
One bidirectional RPC on
MotionService,StreamServo, besideTempStreamArmJointPositions. The stream is the session:Init. Opens a session on one arm with a mode (pose or velocity), limits that may only tighten what the arm reports, and a dead-man timeout.Update. Each is one command, and the latest wins:PoseInFrame), optionally with the target's own velocity as feed-forward;Twist).Startedcomes first, with the effective limits.Statusacknowledges every update in order. It carries the state, the tracking error, whether the update was rejected and why, andlimited_by(joint position, joint speed, TCP speed, singularity).Statusmessages report state changes.Statuscarries the terminal state.Enums:
ServoMode,ServoState,ServoLimit.Companion
The RDK implementation that uses this proto: viamrobotics/rdk#6853 (it pins
go.viam.com/apito this branch's commit).Generated code
Only the motion service's generated Go files changed (
buf generatewith the pinned tools, from tagv0.1.603). The branch is based onv0.1.603to match the RDK version it was built against.🤖 Generated with Claude Code
https://claude.ai/code/session_012FAJrCbp5iNrpYMwiGMGmg