ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to solve opengl2.1 support problem on PR2?

asked 2014-10-30 10:10:34 -0600

sam gravatar image

updated 2014-11-22 17:05:54 -0600

ngrennan gravatar image

I use ROS groovy on PR2.

I try to run:

ssh -X pr2admin@
roslaunch moveit_setup_assistant setup_assistant.launch

But it says:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Your graphics driver does not support OpenGL 2.1. Please enable software rendering before running RViz (e.g. type 'export LIBGL_ALWAYS_SOFTWARE=1').

And I follow its solution two ways but never work.


ssh -X pr2admin@
roslaunch moveit_setup_assistant setup_assistant.launch


ssh -X pr2admin@
roslaunch moveit_setup_assistant setup_assistant.launch

I found that another laptop can run this launch with PR2 without any problem.

How could I solve it?

Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-30 11:30:38 -0600

ahendrix gravatar image

Don't run graphical software on the PR2. Instead, set your ROS_MASTER_URI to point to the ros master on the PR2 and run graphical programs locally.

edit flag offensive delete link more


Thank you~ I try to run scp pr2admin@ . to copy urdf file to my laptop so that I can run it on my laptop with graphics.

sam gravatar image sam  ( 2014-10-30 23:53:37 -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

1 follower


Asked: 2014-10-30 10:10:34 -0600

Seen: 535 times

Last updated: Oct 30 '14