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

rviz setup error

asked 2014-08-07 06:32:07 -0500

Eric.long gravatar image

According to Tutorial setup (Ubuntu10.04 ROS ELECTRIC version)

first run rosdep install rviz rosmake rviz rosrun rviz rviz rviz not work ??

run command output : rviz revision number 1.6.7 ogre_tools revision number 1.6.3 compiled against OGRE version 1.7.3 (Cthugha) Loading general config from [/home/robot/.rviz/config] Loading display config from [/home/robot/.rviz/display_config] RTT preferred mode is PBbuffer The program 'rviz' received an X Window System error. This probably reflects a bug in the program. The error was 'Baddrawable (Details: serial 17 error_code 16 request_code 153 minor_code 17) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

glxinfo gives me this:

robot@robot:~$ glxinfo |grep version server glx version string: 1.2 client glx version string: 1.4 GLX version: 1.2 OpenGL version string: 2.1 Mesa 7.7.1 OpenGL shading language version string: 1.20

Any ideas what I might be doing wrong? Thanks.( I can success rosrun turtlesim turtlesim_node )

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2014-08-07 13:07:58 -0500

ahendrix gravatar image

Several things:

  • You're using very old versions of ROS and Ubuntu. These are not supported any more.
  • The old version of rviz that you're using probably doesn't work well without a dedicated graphics card. Do you have an Nvidia graphics card, and have you tried installing the drivers for it?
edit flag offensive delete link more

Comments

do you know how to update GLX version ? for example :server glx version string: 1.4 client glx version string: 1.4 GLX version: 1.4

Eric.long gravatar image Eric.long  ( 2014-08-07 13:26:35 -0500 )edit

Do you have an Nvidia graphics card, and have you tried installing the drivers for it?

ahendrix gravatar image ahendrix  ( 2014-08-07 13:30:29 -0500 )edit

no, which you are using ros and ubuntu verison

Eric.long gravatar image Eric.long  ( 2014-08-07 13:37:32 -0500 )edit

The old versions of rviz don't work very without a graphics card. I recommend upgrading to one of the newer versions of rviz in ROS Hydro and Ubuntu 12.04, or ROS Indigo and Ubuntu 14.04.

ahendrix gravatar image ahendrix  ( 2014-08-07 14:12:37 -0500 )edit

thanks for your help I SELECT ROS Hydro and Ubuntu 12.04 , but this version not support
pr2 ?

Eric.long gravatar image Eric.long  ( 2014-08-08 09:37:36 -0500 )edit

You made no mention of PR2 before. The most recent version of ROS with full support for the PR2 was ROS Groovy.

ahendrix gravatar image ahendrix  ( 2014-08-08 11:53:05 -0500 )edit
0

answered 2014-08-07 06:34:12 -0500

Eric.long gravatar image

Help me THANKS

edit flag offensive delete link more

Comments

adding an answer to your own question makes it look answered from the main page, decreasing the chances that someone will read your question an answer it.

ahendrix gravatar image ahendrix  ( 2014-08-07 13:03:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-08-07 06:32:07 -0500

Seen: 332 times

Last updated: Aug 07 '14