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

Add an initialization of the gripper action command to load current joint position. #425

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

ShotaAk
Copy link
Contributor

@ShotaAk ShotaAk commented Aug 25, 2022

The gripper action controller is missing an initialization of the command_ instance to load current joint position.
This causes that the controller moves focely a joint to 0 position at startup.

This PR adds an initialization to fix it.

This PR solves same problem of #311 with differing approach.

Reference: the init implementation of ROS 1 gripper action controller:
https://github.com/ros-controls/ros_controllers/blob/252d6584b17ae88e614a6c9cd30ba76ef258a193/gripper_action_controller/include/gripper_action_controller/gripper_action_controller_impl.h#L91-L97

Copy link
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

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

Happy with this, waiting for CI

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

Successfully merging this pull request may close these issues.

2 participants