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

Robot model not showing in rviz

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

Borob gravatar image

I am trying to work with this repository: https://github.com/udacity/RoboND-Kin...

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):

roscore
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 safe_spawner.sh

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

Comments

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 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
10

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

dhood gravatar image

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

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: https://github.com/ros-visualization/... ). 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

Comments

This was a lifesaver, thank you!

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

Question Tools

3 followers

Stats

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

Seen: 7,116 times

Last updated: Jul 09 '18