[ROS2 Foxy]RVIZ crashes when using Nav2- Turtlebot3
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 navigation2.launch.py 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
Asked by sdr_tb3 on 2022-06-11 01:27:18 UTC
Answers
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.
Asked by Joe28965 on 2022-06-13 07:42:42 UTC
Comments