Ask Your Question

Robot model not showing in rviz

asked 2017-07-13 12:10:22 -0500

Borob gravatar image

I am trying to work with this repository:

I did all the initial steps that are mentioned in the repo but have troubles showing the robot urdf in rviz. Since the people over there can't help I hope that someone here can point me in the right direction.

When I just want to load the urdf in rviz like this (in individual shells):

rosrun rviz rviz
roslaunch kuka_arm load_urdf.launch

I just see the gripper. You can see this in the first photo attached.

The urdf to me looks fine and there are no errors anywhere.

When I run the whole demo, like this:

rosrun kuka_arm

I can verify that the model is correctly loaded in gazebo as you can see in the second screenshot. I tried this on two computers, one in a VM, one natively and with integrated graphics and dedicated nvidia card.

Can anyone else please check the urdf and help me out in determining what the problem here is?

image description image description

edit retag flag offensive close merge delete


Do you have the robot description on the VM? Which computer is not showing the model?

allenh1 gravatar image allenh1  ( 2017-07-13 12:35:47 -0500 )edit

I set up everything like it says in the readme on both. And it is not showing on either.

Borob gravatar image Borob  ( 2017-07-13 12:37:11 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-09 16:58:44 -0500

dhood gravatar image

updated 2018-07-09 16:59:37 -0500

Some rviz users have encountered a similar issue on newer ubuntu/debian versions e.g. ROS Lunar on Ubuntu Artful or ROS Melodic on Ubuntu Bionic (see for example: ). The issue may be related to your locales.

If that's the underlying issue, modifying the following environment variable will fix it for you:

export LC_NUMERIC="en_US.UTF-8".

edit flag offensive delete link more


This was a lifesaver, thank you!

diogoa gravatar image diogoa  ( 2019-01-04 10:37:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-07-13 12:10:22 -0500

Seen: 2,148 times

Last updated: Jul 09 '18