Ask Your Question
0

How to solve opengl2.1 support problem on PR2?

asked 2014-10-30 10:10:34 -0500

sam gravatar image

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

ngrennan gravatar image

I use ROS groovy on PR2.

I try to run:

ssh -X pr2admin@192.168.2.101
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.

first:

ssh -X pr2admin@192.168.2.101
export LIBGL_ALWAYS_SOFTWARE=1
roslaunch moveit_setup_assistant setup_assistant.launch

second:

export LIBGL_ALWAYS_SOFTWARE=1
ssh -X pr2admin@192.168.2.101
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
1

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

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

Comments

Thank you~ I try to run scp pr2admin@192.168.2.101:/etc/ros/groovy/urdf/robot_calibrated_2014_05_08_18_23.xml . 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 -0500 )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

Stats

Asked: 2014-10-30 10:10:34 -0500

Seen: 489 times

Last updated: Oct 30 '14