ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to control Kuka robot with Moveit?

asked 2021-01-12 04:07:30 -0500

brahpra gravatar image

I am trying to control KUKA KR10 using MOVEIT. I am now able to control the joints using rqt_joint_trajectory controller. Now I want to send the robot in random position, using Rviz and moveit, and have Gazebo simulation of the robot follow the same path too. I have a controller named arm_position_controller in namespace kuka_kr10. I put them in this namespace, because I could not simulate the robot in Gazebo without it.

However, I cannot control the Robot using rviz only. My guess is, this is because rviz is publishing joint_state to namespace "kr10/joint_state" while the robot waits for messages on "joint_state". I do not know, if this assumption is correct, because when i manually change the joint state using rqt_joint_trajectory_controller, the change is reflected on rviz(however not in gazebo). Now my idea was to simply remap "kr10/joint_state" to "joint_state" and hope it works. Apparently it is not that easy. Does anyone have an idea, how do I go on about doing this?

I found this thread on how to achieve it using EKI but I am using RSI and the second answer mentions robtot_interface_streaming.launch which is not to be found in KUKA Industrial Package. Is there any easy way to do this?

edit retag flag offensive close merge delete


Now can you follow this thread using rsi? I'm trying to do it, but I'm wondering.

PRA008 gravatar image PRA008  ( 2022-06-17 03:50:49 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2021-01-13 01:57:06 -0500

brahpra gravatar image

I managed to solve it following this thread. robot_interface_streaming.launch can be found here. This Discussion helped me troubleshoot the fact, that I was unable to control my robot using rqt_joint_trajectory_controller. If anyone encounters the same problem, feel free to leave a comment. I guess, I kinda understand what was going on now.

edit flag offensive delete link more


Hello @brahpra,

I am facing the same issue. Can you help me to resolve the Kuka issue? I am using Kuka RSI.

Ranjit Kathiriya gravatar image Ranjit Kathiriya  ( 2021-03-25 09:17:31 -0500 )edit

Question Tools



Asked: 2021-01-12 04:07:30 -0500

Seen: 1,049 times

Last updated: Jan 13 '21