Comments (8)
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.
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.
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.
So I think the only way to fix this properly is through the new OpenNI2 grabber.
from pcl.
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.
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.
Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.
from pcl.
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)
- [compile error] "PointXYZINormal not supported by visualization" HOT 1
- collect2: error: ld returned 1 exit status HOT 3
- error: ‘variate_generator’ is not a member of ‘std’ HOT 2
- error: texture is not a template HOT 2
- [Linker error] "Resolving Linker Errors when Using Custom Point Type with PCL's KdTree" HOT 1
- PCLVisualizer crash HOT 9
- Using PCL in QT Widget HOT 1
- [Cluster_Extraction] Trouble extracting clusters from Zivid pcd file HOT 2
- [request] PCL Concave hull & Convex hull HOT 6
- [SamplingSurfaceNormal]ERROR LNK2001 pcl::SamplingSurfaceNormal<struct pcl::PointXYZ>::applyFilter HOT 5
- [pcl_registration] ICP align broken in Release in new PCL version HOT 8
- [question] Corner detection Algorithm HOT 1
- [FastBilateralFilterOMP] FastBilateralFilterOMP does not support PointXYZI HOT 2
- [custom] error: macro "_mm512_srli_epi32" passed 3 arguments, but takes just 2 HOT 3
- There is a logic error in the code of the computeTransformation function in the gicp.hpp file when calculating the transformation matrix T HOT 5
- [convolution_3d.h] search :: the symbol on the left must be of a type HOT 4
- [visualize normal] Normals are displayed incorrectly HOT 19
- [=]] Provide a general summary of the issue HOT 1
- [custom] chatGPT code on pcl visualization : different behavior between pcl::visualization::PCLVisualizer::Ptr and pcl::visualization::PCLVisualizer HOT 2
- [custom] Does PCLVisualizer support to display vertical colorbar? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcl.