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

rviz2 only render boxes

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

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 -0500

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

Super, this works! Thanks!

Katritz gravatar image Katritz  ( 2021-06-18 05:26:27 -0500 )edit

Question Tools

3 followers

Stats

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

Seen: 402 times

Last updated: Mar 16 '21