Skip to content

dual arm teleop & smoothing#5898

Open
clintpurser wants to merge 23 commits intomainfrom
clint/go-to-inputs
Open

dual arm teleop & smoothing#5898
clintpurser wants to merge 23 commits intomainfrom
clint/go-to-inputs

Conversation

@clintpurser
Copy link
Copy Markdown
Member

@clintpurser clintpurser commented Mar 31, 2026

Made the teleop pipeline accept 2 arm poses in the same planning pipeline, to enable bimanual teleoperation.

Also added smoothing to further clean up gutters rigid movement.

@clintpurser clintpurser added safe to test This pull request is marked safe to test from a trusted zone static-ignore-tests Build static binaries from PR and ignore tests labels Mar 31, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 31, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 31, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 31, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 31, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 1, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 1, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 1, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 1, 2026
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Apr 3, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 10, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 10, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 10, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 10, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 10, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 10, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 10, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 13, 2026
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Apr 13, 2026
@clintpurser clintpurser changed the title draft: test build dual arm teleop & smoothing Apr 14, 2026
Copy link
Copy Markdown
Member

@dgottlieb dgottlieb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of code changes! Little dense to grok with just a glance. So I just left some surface level feedback before realizing I needed more context to review: can you add to the PR description the updated sequence of API calls an example run might make? Where the example is perhaps:

  • User pushes in right trigger
  • Moves right arm
  • Pushes in left trigger
  • Moves left and right arm
  • Lets go of left trigger
  • Closes right gripper
  • Lets go of right trigger

That'll help aid me in understanding the inputs to each of these teleop invocations.

// the arm's built-in interpolation is enabled for smooth motion. Default 0.005.
TeleopSmallMoveRad float64 `json:"teleop_small_move_rad"`
// TeleopInterpolateOverride when true forces interpolation ON for all teleop
// movements regardless of size. Useful for testing.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does testing mean here? Doesn't seem to be for unit testing.

Why is "testing" in the office different than a real demo?

// TeleopInterpolateOverride when true forces interpolation ON for all teleop
// movements regardless of size. Useful for testing.
TeleopInterpolateOverride bool `json:"teleop_interpolate_override"`
// TeleopSmoothAlpha is the EMA smoothing factor for joint positions (0-1).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's EMA?

TeleopInterpolateOverride bool `json:"teleop_interpolate_override"`
// TeleopSmoothAlpha is the EMA smoothing factor for joint positions (0-1).
// Lower = smoother but more latency, higher = more responsive but less smooth.
// 0 = frozen, 1 = no smoothing. Default 0.5.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really about how many points to batch up before sending to planning/smooth? I think we can afford to be more transparent with how the tradeoff works in the documentation. Even if the 0->1 slider will always be opaque.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test This pull request is marked safe to test from a trusted zone static-ignore-tests Build static binaries from PR and ignore tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants