Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Center Wrist" should execute a more granular trajectory #71

Open
hello-amal opened this issue Jul 10, 2024 · 0 comments
Open

"Center Wrist" should execute a more granular trajectory #71

hello-amal opened this issue Jul 10, 2024 · 0 comments
Assignees

Comments

@hello-amal
Copy link
Collaborator

When the wrist is stowed and an operator tries to center the wrist, whether or not the wrist collides with the mast depends on non-deterministic factors. Specifically, if the joint trajectory server executes yaw first (as it tends to do in 3030), then it won't collide. However, if it executes pitch first (as it seems to do on 2054), then it will collide.

This is a good motivation to send a trajectory with more waypoints than we currently use when centering wrist. There are several ways to do this:

  1. If the gripper is in a "close to mast" state (as determined by arm length, wrist yaw, and wrist pitch), add an intermediate waypoint that pitches the wrist down and yaws the wrist out.
  2. First command the wrist yaw movement and then command the wrist pitch and roll movement.
  3. Linearly interpolate between the start wrist configuration and the goal one, and for the first 1/5th of that motion only move the yaw.

I prefer the first option. The benefit of the second is that it doesn't depend on the current configuration. But the downside of the second and third is that doing yaw first is not guarenteed to be collision free, in case the user pitched the wrist up while near the mast.

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

No branches or pull requests

2 participants