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

send_gripper_command is interupted by /my_gen3/in/joint_velocity topic #325

Open
AlfaKeNTAvR opened this issue Jun 10, 2024 · 3 comments
Open

Comments

@AlfaKeNTAvR
Copy link

AlfaKeNTAvR commented Jun 10, 2024

Description

Kinova Gen3 (firmware 2.5.2) gripper stops any movement initiated by send_gripper_command service call if publishing to /my_gen3/in/joint_velocity topic. Depending on the publishing rate the gripper might start some motion: almost closes on rate 1Hz, twitches a bit on >10Hz.

Version

ROS distribution :

Branch and commit you are using : noetic-devel 085b694

Steps to reproduce

roslaunch kortex_driver kortex_driver.launch ip_address:=192.168.1.12 start_rviz:=false start_moveit:=false gripper:=robotiq_2f_85 robot_name:="my_gen3"

rostopic pub -r 10 my_gen3/in/joint_velocity kortex_driver/Base_JointSpeeds "joint_speeds:
- joint_identifier: 0
  value: 0.0
  duration: 0
duration: 0" 

rosservice call /my_gen3/base/send_gripper_command "input:
  mode: 3
  gripper:
    finger:
    - finger_identifier: 0
      value: 0.0
  duration: 0"

rosservice call /my_gen3/base/send_gripper_command "input:
  mode: 3
  gripper:
    finger:
    - finger_identifier: 0
      value: 1.0
  duration: 0" 

Code example (if necessary)

    # paste code here #

Expected behavior

On another Kinova Gen3 (older) which runs 2.3.0 firmware the behavior is as expected. Publish to the topic does not have any effect on the gripper service call. I have tested with both arms, same ros_kortex, just changed the IP in the terminal.

Any other information

Kinova Gen3 (older) firmware 2.3.0 - works as expected.
Kinova Gen3 (purchased Summer 2023) firmware 2.4.0 - 2.5.2 does not work.

Maybe it is related to the ros_kortex version? It seems to work on my colleagues PC, I think he uses older ros_kortex version, but then it shouldn't work with the older Kinova too in my system.

@AlfaKeNTAvR
Copy link
Author

UPD1: Downgrading the firmware to 2.3.0 solved the issue, so the problem lies somewhere in later updates.

@martinleroux
Copy link
Contributor

Hi @AlfaKeNTAvR

We will test this and report the bug to our engineering department if we can replicate it. However, looking at the source code of firmware 2.5.2, there are no changes in the communication layer, so in theory there should be no impact. Is there a change the act of updating your firmware solved the issue? If you re-updated to 2.5.2 does the issue reappear?

@AlfaKeNTAvR
Copy link
Author

Hey @martinleroux,

I don't believe the act of reuplading the firmware solved it, because the robot came with 2.4.0 originally and I have noticed this issue, so I updated to 2.5.2, but the issue still existed, hence I moved to 2.3.0 which our other Kinova Gen3 is running and it doesn't have the issue and it was fixed.

I can give a try and update the other Kinova from 2.3.0 to 2.5.2 to see if it might be the new arms' issue.

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