-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add velocity to gripper command #99
Add velocity to gripper command #99
Conversation
8d6f801
to
b891826
Compare
b891826
to
cbf637d
Compare
bool stalled # True iff the gripper is exerting max effort and not moving | ||
bool reached_goal # True iff the gripper position has reached the commanded setpoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there value in reporting reached_goal
or stalled
in the feedback topic? If the feedback was a JointState
the caller could inspect the joint velocity and I would suggest changing reached_goal
to something like percent complete over a bool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure why those are here. I can actually understand stalled because some users might want to monitor stalled and send a cancel goal after it has been stalled too long. But I don't know why the goal term would be in the feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vote we remove both of these options from the feedback topic.
b8d4e2d
to
1f4905a
Compare
target_velocity
to gripper command# position refers to the gap size (in meters). | ||
# Optional: velocity refers to the Cartesian velocity of the finger right finger. | ||
# effort refers to the current effort exerted (in Newtons) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# position refers to the gap size (in meters). | |
# Optional: velocity refers to the Cartesian velocity of the finger right finger. | |
# effort refers to the current effort exerted (in Newtons) | |
# position refers to the position of each joint (radians or meters). | |
# Optional: velocity of each joint (radians or meters / Second). | |
# Optional: effort of each joint (Newtons or Newton-meters) |
As we discussed I don't think it makes sense to command distance
between the fingers because its not a physical joint on the robot and the result can be interpenetrated in many different ways (especially if the user is able to manufacture custom fingers).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
bool stalled # True iff the gripper is exerting max effort and not moving | ||
bool reached_goal # True iff the gripper position has reached the commanded setpoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vote we remove both of these options from the feedback topic.
Signed-off-by: Paul Gesel <[email protected]>
1f4905a
to
1b36b4f
Compare
@MarqRazz Okay, I removed the extra fields from the feedback topic and updated the comments |
Co-authored-by: Marq Rasmussen <[email protected]>
Signed-off-by: Paul Gesel <[email protected]>
Signed-off-by: Paul Gesel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will wait for someone else approving
Co-authored-by: Christoph Fröhlich <[email protected]>
@Mergifyio backport to humble |
❌ No backport have been created
GitHub error:
|
(cherry picked from commit d4be560)
(cherry picked from commit d4be560) Co-authored-by: Paul Gesel <[email protected]>
Many robot grippers support effort, position, and velocity controls. The current technique to set the velocity involves reading a hardcoded value from the URDF. This is problematic when the user wants to change the gripper velocity at runtime. I propose a new gripper action message that supports a target_velocity field.
This PR is related to the controller developed in ros-controls/ros2_controllers#1002