Ask Your Question
1

rviz2 only render boxes

asked 2021-03-16 03:36:31 -0600

RandyD gravatar image

Hi,

Been a long time i worked with ROS, so for my new project i installed ROS2 Foxy (clean ubuntu setup) Starting with my URDF and RVIZ2, it seems im only able to render boxes in rviz.

Also tried loading my old robot model, tried examples, cylinders and spheres are not visible.

Is this a known issue?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-04-12 01:53:22 -0600

Tereza gravatar image

Hello, the same happened to me, solved with LC_NUMERIC="en_US.UTF-8"; However this is still a bug as boxes work properly.

edit flag offensive delete link more

Comments

Hey, where did you put the command LC_NUMERIC="en_US.UTF-8";? I have the same problem with the urdf tutorial for ROS2 Foxy. Boxes are visible in rviz2 but nothing else.

Katritz gravatar image Katritz  ( 2021-06-17 10:45:24 -0600 )edit

I run ros2 launch from terminal, so I put it before the run command:

LC_NUMERIC="en_US.UTF-8"; ros2 launch <package> <launch_file>

This will set LC_NUMERIC for subshell where ros2 launch runs.

Tereza gravatar image Tereza  ( 2021-06-18 05:12:58 -0600 )edit

Super, this works! Thanks!

Katritz gravatar image Katritz  ( 2021-06-18 05:26:27 -0600 )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

3 followers

Stats

Asked: 2021-03-16 03:36:31 -0600

Seen: 80 times

Last updated: Mar 16