Inquiry about abnormal vibration after launching CRTK topics #30
-
Hi Adnan, Hope all is well. I currently come across a question that the robot has abnormal vibration after running launch_CRTK script. To be specific, please refer to my repo: https://github.com/JackHaoyingZhou/surgical_robotics_challenge I collected some data of task2 or 3 using Geomagic haptic device. You can run direct_multi_psm_control.py and modify the file path at https://github.com/JackHaoyingZhou/surgical_robotics_challenge/blob/devel/scripts/surgical_robotics_challenge/teleoperation/direct_multi_psm_control.py#L73 If I run without launching CRTK topics, all movements go very smoothly and can accomplish the task. Nevertheless, if I launch the CRTK topics, it will vibration even though I have modified the "add_joint_errors" option to False at https://github.com/JackHaoyingZhou/surgical_robotics_challenge/blob/devel/scripts/surgical_robotics_challenge/launch_crtk_interface.py#L107 In addition, I also modified the publish rate but it didn't work. Would you mind letting me know how I can modify so that the vibration can disappear? Thanks! Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi Jack, Thanks for bringing this to our attention. Can you record a short clip of both modes (i.e. with and without running launch_crtk interface)? Essentially, I want to see how bad is the vibration and what is the physics frequency. The physics frequency is displayed on the simulator window or it can be collected via the |
Beta Was this translation helpful? Give feedback.
-
Hi Jack, thank you for creating the nice videos. I noticed that you are using the In conclusion, when using |
Beta Was this translation helpful? Give feedback.
Hi Jack, thank you for creating the nice videos. I noticed that you are using the
launch_crtk_interface.py
anddirect_multi_psm_control.py
together. Then I went to yourdirect_multi_psm_control.py
and saw that it uses the methodsservo_cp
which callsservo_jp
to directly control the PSM joint angles. What I believe is happening is that there is infighting going on between thedirect_multi_psm_control.py
andlaunch_crtk_interface.py
as it also directly controls the PSM and ECM joint angles usingservo_jp
.In conclusion, when using
launch_crtk_interface.py
, you should only ever control the PSMs / ECMs using the CRTK ROS topics. Does this make sense? If you want to continue using thedirect_…