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

something wrong with urdf in rviz

asked 2013-11-14 05:40:30 -0500

vigor gravatar image

updated 2013-11-14 10:13:28 -0500

tfoote gravatar image

hello guys

I am new to ROS,and i use hydro-ROS and ubuntu 12.04LTS , i tried to run a navigation demo in "ROS By Example",but when i input

$ rosrun rviz rviz -d rospack find rbx1_nav/sim.rviz

,the robot model in rviz show something wrong

some parts of the urdf model show error like : No transform from[XXX] to [odom]

is something wrong with the sim.rviz?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-11-14 16:46:34 -0500

Thomas gravatar image

Running rviz is not enough to see your robot, you must also provide the body relative position using robot_state_publisher for instance. I recommend you use instead:

roslaunch urdf_tutorial display.launch mode:=robot.urdf

It will load the necessary parameters in the parameter server, start the robot_state_publisher node as well as rviz for you.

See the URDF tutorials for more information.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-11-14 05:40:30 -0500

Seen: 245 times

Last updated: Nov 14 '13