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

Conrado Miranda's profile - activity

2022-02-03 12:24:37 -0500 received badge  Great Question (source)
2017-12-05 14:36:41 -0500 received badge  Good Question (source)
2013-04-22 16:23:46 -0500 received badge  Notable Question (source)
2013-04-22 16:23:46 -0500 received badge  Famous Question (source)
2012-08-16 01:18:24 -0500 received badge  Famous Question (source)
2012-08-16 01:18:24 -0500 received badge  Notable Question (source)
2012-08-09 16:57:21 -0500 received badge  Popular Question (source)
2012-06-27 21:38:25 -0500 received badge  Popular Question (source)
2012-02-26 05:59:37 -0500 commented question Possible bug in rviz

I'm in a notebook without any GPU. I'm using a default Ubuntu 11.10 installation.

2012-02-25 14:08:33 -0500 received badge  Editor (source)
2012-02-25 13:48:13 -0500 asked a question Possible bug in rviz

I got the following message when I try to run rviz through urdf_tutorials:

(rviz:3447): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(rviz:3447): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(rviz:3447): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(rviz:3447): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
The program 'rviz' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 22 error_code 9 request_code 137 minor_code 3)
  (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.)

The log says

[ INFO] [1330220460.687401287]: rviz revision number 1.6.7
[ INFO] [1330220460.687490754]: ogre_tools revision number 1.6.2
[ INFO] [1330220460.687512474]: compiled against OGRE version 1.7.3 (Cthugha)
[ INFO] [1330220460.790543031]: Loading general config from [/home/conrado/.rviz/config]
[ INFO] [1330220460.791031850]: Loading display config from [/home/conrado/.rviz/display_config]
[ INFO] [1330220460.859120679]: RTT Preferred Mode is PBuffer.

The most strange of all that is that it runs perfectly when I first run it (sometimes it works when I wait a long time before running again or lock the screen after the error but the ruslaunch command still executing). If I close and try to reopen, it gives that error. I checked and there is no program running in background that could cause some problem. I'm using Ubuntu 11.10. I'll keep searching for the source of the problem, as it seems related to the X library itself.

2012-02-24 15:16:01 -0500 commented answer Race conditions in callbacks

I thought that ROS ran in parallel, but just wanted to be sure. It's much better this way =] Thanks!

2012-02-24 15:14:25 -0500 received badge  Scholar (source)
2012-02-24 15:14:24 -0500 received badge  Supporter (source)
2012-02-24 03:39:46 -0500 received badge  Nice Question (source)
2012-02-24 02:37:27 -0500 received badge  Student (source)
2012-02-23 18:50:31 -0500 asked a question Race conditions in callbacks

Hi, there!

I've been using ROS for a while and I just faced a possible bug. A service is called about the same time a topic got published and that topic is subscribed by the same node that implements the server.

When they run, I get a race condition, as they both use the same variable. Is it expected? I'm using python.

An example of output would be

0 1 [0.2, 0.2] 2 3 4

The list is printed inside callback for the topic and the sequence of numbers is called in the callback for the service. The service is filling the list accessed. I should be able to provide some code quite soon, as my priority is to get this working and later look for the reason (will use mutex for now).