0
$\begingroup$

Rosanswers logo

hello guys, I'd like to ask you some question about using joint_state_publisher for real robot. I'm using arm robot and I want to control it using joint_state_publisher. but I have a question :

  1. how to visualize and control real robot (especially manipulator) movement by RViz (not moveit)?
  2. I still confuse about JointState and can I using it to get Pose (with geometry_msgs)?

thank you!


Originally posted by DheaSafitri on ROS Answers with karma: 1 on 2020-06-19

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Which robot/manipulator are you using? Provided that there is a driver available, you need a URDF of your robot to visualize it in RVIZ (http://wiki.ros.org/urdf).

You can use the robot_state_publisher (http://wiki.ros.org/robot_state_publisher) to track the joint positions of your robot.

For coordinate system transformation, you can use tf2 (http://wiki.ros.org/tf2), which is already available by using the previously mentioned packages. You can get the pose of a specific joint or tcp by looking up the Transformation in tf.

To control the robot through a GUI, you can use the joint_state_publisher_gui package (The joint_state_publisher with the argument use_gui worked for me as well, but it seems to be deprecated now).

Maybe this question is helpful for you.


Originally posted by christianlandgraf with karma: 16 on 2020-06-22

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.