Ask Your Question
0

openni_camera os x build

asked 2011-03-08 03:48:31 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi,

Finally got openni_camera and all its dependencies built on OSX Snow Leopard. Unfortunately, the openni_node module when it is started prints 3 times the following message:

Warning:recursive print statement has occurred. Throwing out recursive print.

and then exits

This error is similar to this one: http://answers.ros.org/question/269/o... but i am not sure if its caused by the same reasons Has anyone got the kinect working on os x 10.6, if so, any advices?

EDIT:

Hello again, I have now tried the new stack openni_kinect on osx but still no success although now I think that I am really close... These have been my steps:

  1. I have installed the kinect on osx using the avin sensor and these steps: http://c4c.posterous.com/installing-o... , This works like a charm
  2. I have followed the instructions to install openni_kinect. Initially it did not compile because it did not find a header file from openi, so I have added the option include_libraries(/usr/include/ni), to my Cmakelists.txt
  3. Every thing compiles now smoothly, now I try to run the openni_node, so I run: rosrun openni_camera openni_node and I get this:

    terminate called after throwing an instance of 'openni_wrapper::OpenNIException' what(): unsigned int openni_wrapper::OpenNIDriver::updateDeviceList() @ /Users/alalbiol/Programacion/upvsoft/ros/openni_kinect/openni_kinect/openni_camera/src/openni_driver.cpp @ 114 : number of streams and devices does not match: 2 devices, 3 depth streams, 2 image streams

So I guess that the camera is detected but still something goes wrong, Has anyone experienced similar problems?

Thanks

edit retag flag offensive close merge delete

Comments

can you reply exactly what commands you are issuing and any errors you get. Thanks
blueskin gravatar image blueskin  ( 2011-03-08 05:48:55 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-09-02 11:54:14 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

no activity > 1 month, closing

edit flag offensive delete link more
0

answered 2011-09-02 11:33:12 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Given the age of this question (and the general trickiness of getting thing working on OS X), I'm curious to know if there's been progress on this.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-03-08 03:48:31 -0500

Seen: 320 times

Last updated: Sep 02 '11