-
Notifications
You must be signed in to change notification settings - Fork 324
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
Configure gripper speed and effort with hardware interface #1002
Configure gripper speed and effort with hardware interface #1002
Conversation
000891b
to
2f0d850
Compare
66a9b7f
to
d19c800
Compare
63d50fc
to
e52efc0
Compare
@pac48 can you include a temporary change on this pr to update the I believe that should turn Rolling Semi-Binary Build - main / semi_binary / rolling main (pull_request) green. Once your ros-controls/control_msgs#99 is approved an merged we'll need to update the .repos to pull in |
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 still need to pull this down and test but here are some high level suggestions.
...pper_controller/include/antipodal_gripper_controller/antipodal_gripper_action_controller.hpp
Outdated
Show resolved
Hide resolved
...pper_controller/include/antipodal_gripper_controller/antipodal_gripper_action_controller.hpp
Outdated
Show resolved
Hide resolved
using GripperCommandAction = control_msgs::action::AntipodalGripperCommand; | ||
using GoalHandle = rclcpp_action::ServerGoalHandle<GripperCommandAction>; |
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.
Do we need to define these again, they are already in the header antipodal_gripper_action_controller.hpp
.
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 think it is needed here because it is defined inside a class in antipodal_gripper_action_controller.hpp
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1002 +/- ##
==========================================
- Coverage 71.86% 71.31% -0.56%
==========================================
Files 41 41
Lines 3650 3374 -276
Branches 1794 1627 -167
==========================================
- Hits 2623 2406 -217
+ Misses 707 667 -40
+ Partials 320 301 -19
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
…roller_parameters.yaml Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
…8/ros2_controllers into pr-add-gripper-velocity-target-main
…roller_parameters.yaml Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
…8/ros2_controllers into pr-add-gripper-velocity-target-main
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
Signed-off-by: Paul Gesel <paulgesel@gmail.com>
@bmagyar It looks like the renaming to |
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.
Spotted one last piece of commented code, otherwise looks good!
...r_controller/include/parallel_gripper_controller/parallel_gripper_action_controller_impl.hpp
Outdated
Show resolved
Hide resolved
…r/parallel_gripper_action_controller_impl.hpp Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
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. After discussions in the ros2_control WG meeting, the best strategy to achieve this goal while allowing backporting to Humble is to add a new controller that specifically supports this and deprecate the old controller.
This PR adds a controller called
antipodal_gripper_controllers
which has parameters to optionally claim the hardware interfacesJOINT_NAME/gripper_effort
andJOINT_NAME/gripper_speed
, which will be used to set the gripper speed and effort if enabled.This PR requires: