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

Robopreneur's profile - activity

2015-09-24 04:01:44 -0600 received badge  Famous Question (source)
2015-08-27 11:54:17 -0600 received badge  Notable Question (source)
2015-08-11 08:47:48 -0600 received badge  Popular Question (source)
2015-07-29 22:57:42 -0600 asked a question Kinect 2 : Failed to create opengl window

HI,

I'm trying to follow the iai_kinect2 tutorial https://github.com/code-iai/iai_kinect2 which uses kinect 2 for ROS.

I encountered a problem when executing rosrun kinect2_bridge kinect2_bridge where I have the following output:

parameter: base_name: kinect2 sensor: fps_limit: -1 calib_path: /home/roma/kinect2_ws/src/iai_kinect2/kinect2_bridge/data/ use_png: false jpeg_quality: 90 png_level: 1 depth_method: opengl depth_device: -1 reg_method: opencl reg_devive: -1 max_depth: 12 min_depth: 0.1 queue_size: 2 bilateral_filter: true edge_aware_filter: true publish_tf: false base_name_tf: kinect2 worker_threads: 4

[OpenGLDepthPacketProcessor] Failed to create opengl window.

The main problem seems to be on the package of libfreenect2 which is a dependency of iai_kinect2.

I successfully installed libfreenect2 https://github.com/OpenKinect/libfree... , however, when executing ./bin/Protonect in the designated folder, I get the following information:

[Freenect2Impl] enumerating devices... [Freenect2Impl] 12 usb devices connected [Freenect2Impl] found valid Kinect v2 @4:7 with serial 034427151247 [Freenect2Impl] found 1 devices [OpenGLDepthPacketProcessor] Failed to create opengl window.

It seems that the core problem is with opengl, but I downloaded an Opengl tutorial from http://www.opengl-tutorial.org/ and can launch at least an blank opengl window without any problem.

Does anyone have any idea of what is happening here?

Thanks in advance!

Qianli