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

rosrun UWSim

asked 2013-03-25 06:36:39 -0600

Marija-123 gravatar image

updated 2013-03-25 11:35:13 -0600

Hy, i'm trying to run UWSim but when I type rosrun UWSim UWSim it shows me this:

Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.

Segmentation fault (core dumped)

i'm following installing instructions and don't understand where is the problem

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2013-03-25 17:16:08 -0600

It sounds like you're running from within a virtual machine. UWSim requires OpenGL and a fairly recent graphics card. You'll need to make sure your Virtual Machine is set up to provide hardware-accelerated access to the graphics card. Not all VM environments support this. See the discussion here for more details. If you're using VirtualBox, see these instructions for how to configure Hardware Accelerated Graphics.

Similar errors are often produced when trying to run rviz from a remote X-server or in a Virtual Machine, if the 3D graphics aren't set up correctly.

You can try using glxinfo or glxgears to test and see if your 3D environment is working correctly.

edit flag offensive delete link more
0

answered 2013-03-26 12:13:56 -0600

Marija-123 gravatar image

Thanks, problem solved

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-25 06:36:39 -0600

Seen: 832 times

Last updated: Mar 26 '13