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

[ROS2 Foxy]RVIZ crashes when using Nav2- Turtlebot3

asked 2022-06-11 02:29:59 -0500

sdr_tb3 gravatar image

updated 2022-06-13 07:34:19 -0500

Hi everyone,

I am currently working on my masters degree project - I am using Turtlebot3(Raspberry pi 3B+ version)

  • I am using ROS2 Foxy on a ubuntu Dualboot(installed alongside windows)

  • I use this command on my ubuntu to launch the navigation2: ros2 launch turtlebot3_navigation2 map:=/path/to/map This is the default launch file and I haven't made any changes to it.

  • I am facing the following errors when I run the navigation2 with RVIZ. These errors seems to occur randomly.

  • InternalErrorException: Cannot create GL vertex buffer in GLHardwareVertexBuffer::GLHardwareVertexBuffer at /tmp/binarydeb/ros-foxy-rviz-ogre-vendor-8.2.6/obj-x86_64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/RenderSystems/GL/src/OgreGLHardwareVertexBuffer.cpp (line 46)
  • `(min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"' failed. Aborted

  • I also got the same errors when using my ubuntu VM I am new to ROS and some ROS forums suggests to upgrade from Foxy to Galactic. But I was unable to find any resources on upgrading the Turtlebot3 to galactic as the official webpages only list instructions for foxy.

Or is there a simpler solution in foxy itself? If anyone knows please let me know.

I greatly appreciate any help in this regard,

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-06-13 07:42:42 -0500

Joe28965 gravatar image

I'm guessing this is a hardware issue, based on the first error. They can be a pain to resolve.

1st question, does your computer have a dedicated video card? if so, could you check that you're using (I'm assuming it's nvidia) the proprietary nvidia drivers?

If your computer doesn't have a dedicated video card, then it might be that you're asking too much from your computer. In that case, I suggest starting Nav2 without rviz. I'm not seeing a setting for it, so you might need to manually build the tb3 repo and simply remove rviz from the launch file.

edit flag offensive delete link more

Question Tools


Asked: 2022-06-11 01:27:18 -0500

Seen: 251 times

Last updated: Jun 13 '22