GithubHelp home page GithubHelp logo

Comments (8)

rbrusu avatar rbrusu commented on May 27, 2024

Thanks for the report Shaun. I believe the main difference between PointXYZRGBA and PointXYZ is that we're simply requesting OpenNI to hand us both RGB and Depth streams. Having an Xtion Pro as the data producer, also indicates that we're asking OpenNI to give us synchronized streams (if you would use a Kinect, the streams would not be in sync, as there's no synchronization enabled in firmware).

I'm thinking OpenNI 1.x is at fault here - and we could verify this by doing a very simple test with one of its basic NISimpleRead-based clients. If it is, this indicates the need to move to OpenNI2 internally.

from pcl.

shaun-edwards avatar shaun-edwards commented on May 27, 2024

Radu, I tried running tests with the NiViewer and NiSimpleRead. The NiSimpleRead did not exhibit the failure, although I assumed that was because it was not "subscribing" to multiple streams. I then tried, the NiViewer. It also continued to run long after the 71 minutes. I assume the NiViewer does use multiple feeds, although the image data does not display correctly. I'm not sure if this rules out the Ni driver, but it probably narrows the source of the problem.

from pcl.

clantos avatar clantos commented on May 27, 2024

Hello,
I also noticed the problem and solved it by re initializing the OpenNIGrabber when the callback stops. Is there any othe possible solutions?
Moreover, I tested Primesense Carmine 1.082 and Primesense Carmine 1.09 which both led to failure after 71 minutes, so probably is not a hardware issue.

from pcl.

rbrusu avatar rbrusu commented on May 27, 2024

So I think the only way to fix this properly is through the new OpenNI2 grabber.

from pcl.

pauldol avatar pauldol commented on May 27, 2024

Hello,

I have a similar issue.
I am using 3 Xtion Pro cameras, Win7 32 bit. PCL 1.7 (manually built the dlls) and OpenNI 1.5.4.
I have three OpenNIGrabbers and I register to each of them a different callback.
Everything runs fine but roughly after an hour one of the callbacks stops working.

Yesterday I used the same framework with the new OpenNI2 grabber.
I used kwaegel's forked PCL repository version for the OpenNI2 grabber.
Again the same happened. Everything seemed to be working fine for an hour and then a callback stops working.

from pcl.

pionex avatar pionex commented on May 27, 2024

I'm still experiencing this problem with OpenNI2 as well. The grabber callback stops receiving frames after exactly 2^32 microseconds (71.5828 minutes). Although the callbacks have stopped, the program apparently keeps allocating memory for frames that don't appear to get deallocated and the program will quickly consume all of the memory in the computer.

Somewhere a 32-bit number must be overflowing and maybe causing a divide by zero. Are there any ideas on whether this is in the Xtion hardware, the asus driver, or OpenNI2?

from pcl.

stale avatar stale commented on May 27, 2024

Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.

from pcl.

kunaltyagi avatar kunaltyagi commented on May 27, 2024

The only common factor is either a core PCL code common to all grabbers or the hardware. The second looks more likely. Closing due to inactivity. Please reopen if you have different hardware and can test on them.

from pcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.