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

Mimic Joint velocity command interface is not getting two consecutive commands #344

Closed
BarisYazici opened this issue Jun 17, 2024 · 2 comments

Comments

@BarisYazici
Copy link

I can't send two consecutive velocity commands to the mimic joint gripper. I prepared a minimal reproducible version of the demo code difference

After I start the mimic gripper example with this command:
ros2 launch ign_ros2_control_demos gripper_mimic_joint_example.launch.py

I send positive velocity which closes the gripper with the following command.
ros2 topic pub /gripper_controller/commands std_msgs/msg/Float64MultiArray "data: [1.0]"

When I send negative velocity there is no change in the gripper position.
ros2 topic pub /gripper_controller/commands std_msgs/msg/Float64MultiArray "data: [-1.0]"

@christophfroehlich
Copy link
Contributor

I was able to reproduce your issue with humble+gazebo fortress, I was even able to reproduce it with position interface and set data: [1.0]. It seems that it gets stuck in the end stop (1.0 is beyond the limit).

btw: This does not happen on rolling+harmonic.

@christophfroehlich
Copy link
Contributor

See #165, where this was already reported.

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