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

unable to use image_view with eletric

asked 2011-11-04 02:37:04 -0500

andreas gravatar image

Hi all,

I seem to have the same problem as described here http://comments.gmane.org/gmane.science.robotics.ros.user/14394

I run uvc_cam and then try to view the image but end up with

  rosrun image_view image_view image:=/camera/image_raw
init done 
opengl support available 

(<unknown>:2222): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkWidget'

(<unknown>:2222): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'

(<unknown>:2222): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

It works fine in diamondback. Any ideas?

Cheers, Andreas

edit retag flag offensive close merge delete

Comments

Sounds like a bug to me. Maybe in opencv2, perhaps in cv_bridge or image_view.
joq gravatar image joq  ( 2011-11-04 05:43:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2011-11-04 12:14:49 -0500

Patrick Mihelich gravatar image

updated 2011-11-04 12:15:13 -0500

Hi Andreas,

This does look like a bug. Please open a ticket to track it.

In your ticket include:

  • What OS and version are you using?
  • What desktop environment (Gnome/KDE/other?). In particular do you have Qt installed?
  • Did you install image_pipeline with the Debian packages or from source?
  • Likewise for OpenCV - did it come from the debs or did you build it yourself?

It looks like your OpenCV is using its new Qt backend for HighGUI, while image_view is wrongly assuming the GTK backend. This is a bug in image_view, but I don't understand why it's showing up - in our debs, OpenCV links against GTK but not Qt.

edit flag offensive delete link more

Comments

Hi Patrick, thanks for the hint. I built OpenCV myself because I needed the GPU version of the libraries. I now built them without Qt and it works. So it's no bug. Cheers
andreas gravatar image andreas  ( 2011-11-08 21:02:42 -0500 )edit

Question Tools

Stats

Asked: 2011-11-04 02:37:04 -0500

Seen: 992 times

Last updated: Nov 04 '11