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

Rviz unstable rendering

asked 2020-11-09 09:54:17 -0500

sisko gravatar image

updated 2021-04-24 02:54:33 -0500

miura gravatar image

I am learning URDF creation and having arrived at the end of the R2D2 tutorial, I found Rviz unstable and "gittery" in how it's rendering my robot simulation. I am using the Joint-State-Publisher GUI to publish data to the continueous and revolt joints but the movements are far from smooth and hindering proper testing.

Link to a short video showing the unhelpful behaviour I am trying to resolve.

UPDATE:

Thank you @gvdhoorn You are correct!

The rosnode list output does show is a joint_state_publisher node and a joint_state_publisher_gui node.

image description

RQT-Graph output: image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-11-09 09:59:11 -0500

gvdhoorn gravatar image

updated 2020-11-09 11:02:25 -0500

It's likely you have one instance of joint_state_publisher and another joint_state_publisher_gui.

Please verify with rosnode list and rqt_graph.

Even if this is not the cause in this case, what you show/describe is not a "rendering issue", but you're feeding RViz two streams of data (via the robot_state_publisher, which publishes TF based on the JointState msgs):

  • one which tells it all joints are always at zero, and
  • one which tells it, no header_joint is at 0.76

it should be obvious those two will conflict.

edit flag offensive delete link more

Comments

Thank you. I corrected my mistake according to your input and all is now well in the Rviz-nivser.

sisko gravatar image sisko  ( 2020-11-09 11:02:00 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-11-09 09:54:17 -0500

Seen: 239 times

Last updated: Nov 09 '20