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

Problem viewing Turtlebot in Rviz

asked 2013-08-06 04:25:57 -0600

llSourcell gravatar image

updated 2014-01-28 17:17:34 -0600

ngrennan gravatar image

I'm following the turtlebot tutorials and I'm at the 3D visualization part.

So i've SSH'd into the Turtlebot and run the following,

Bring up the turtlebot (GOOD) roslaunch turtlebot_bringup minimal.launch

Start vision system (GOOD) roslaunch openni_launch openni.launch (instead of roslaunch turtlebot_bringup 3dsensor.launch )

Visualize turtlebot in Rviz (PROBLEM) roslaunch turtlebot_rviz_launchers view_robot.launch

Rviz shows up and there is a white blob robot model instead of my turtlebot 2. I can't see the point cloud even though my asus xtion is definitely running and even though the URDF is parsed OK, the robot is not showing up and every robotpart of the model has a red error. A screenshot of Rviz is below

How do i show the point cloud in rviz and my turtlebot 2 model properly?

edit retag flag offensive close merge delete


Can we see your tf graph. Usually, this result is due to a no publication of tf. Please make sure you have the node robot_state_publisher active.

jep31 gravatar image jep31  ( 2013-08-06 05:42:40 -0600 )edit

ok, the output of rosrun tf view_graph as a pdf is here Did rosnode list, robot state publisher is running. Any ideas?

llSourcell gravatar image llSourcell  ( 2013-08-06 08:57:48 -0600 )edit

your tf graph is really incomplete. You should have all the robot tf and more tf even for vision system. Maybe robot state publisher doesn't publish topic because it doesn't receive joint_state. Are you using two computer ? And what happens when you first use $rosnode list before running bringup ?

jep31 gravatar image jep31  ( 2013-08-06 20:45:59 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-11 15:55:55 -0600

llSourcell gravatar image

fixed it randomly by using the default turtlebot 3dsensor.launch instead of openni.launch

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-08-06 04:25:57 -0600

Seen: 2,265 times

Last updated: Aug 06 '13