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

Robot in Rviz flashes..

asked 2014-08-12 07:55:18 -0600

sumanth gravatar image

updated 2014-08-12 07:56:11 -0600

I am using my URDF file (for my custom robot) for simulation in rviz, then publishing state (based on the odo data coming from real robot) robot moves in RVIZ in accordance with real robot, but the robot in rviz keeps on flashing..?

any reason why this happens..?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-08-12 08:19:03 -0600

Ugo gravatar image

This might be due to a bad tf issue (if you have 2 different parent for the robot for example). Can you make sure the published tf are OK?

rosrun tf view_frames    # then look at the generated frames.pdf
roswtf                   # might also tell you if there's an issue with the tf tree.
edit flag offensive delete link more

Comments

When I run roswtf I get the following error:

ERROR TF multiple authority contention: * node [/my_state_publisher_temp] publishing transform [base_link] with parent [odom] already published by node [/odometry_publisher] * node [/odometry_publisher] publishing transform [base_link] with parent [odom] already published by node [/my_state_publisher_temp]

sumanth gravatar image sumanth  ( 2014-08-13 00:08:29 -0600 )edit

Now I got the problem, If I stop the /odometry_publisher node, the robot is moving fine in rviz.

sumanth gravatar image sumanth  ( 2014-08-13 00:18:53 -0600 )edit

Thanks for the insights

sumanth gravatar image sumanth  ( 2014-08-13 00:36:21 -0600 )edit

great, can you accept the answer to close the thread?

Ugo gravatar image Ugo  ( 2014-08-13 02:20:41 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-08-12 07:55:18 -0600

Seen: 2,202 times

Last updated: Aug 12 '14