Comments (10)
Hi @MiroslavKohut ,
At first glance I don't see anything being misused, and can't really think of why my code would have a libc_free error here. Is this crash happening on the very first call to integrateCloud, or some time into the process?
One thing I notice, which shouldn't trigger a segfault but might confuse the algorithm, is that you don't seem to be passing in intrinsic information. With a 2064 x 1544 image, I'd be surprised if the default kinect focal length is going to be close. Another thing I'm curious about, is if this organized cloud is actually "organized" -- is it dense (i.e., are there exactly 2064x1544 points in row major order), or is this copy operation simply putting the points in a random location? Note in my integrate.cpp script, I'm doing the projective math to make sure cloud(x,y) = the point corresponding to pixel x,y. Note, also, that the accessor (*cloud)(x,y) = point is safer than directly modifying cloud->points, as PCL is probably doing some other stuff on the side.
A few random hunches for the segfault would be: some mistmatch in boost versions (i.e. I depend on boost, but so does PCL; worth checking), or this rather esoteric Eigen alignment issue (which I remember being a problem in grad school sometimes): https://eigen.tuxfamily.org/dox/group__TopicStlContainers.html . It'd be worth trying to guard that std::vector
from cpu_tsdf.
Hi thanky you for your time and soon answer
The problem occurred at the begging. After I load data and call integrateCloud for the first time the program crashes. I also tried to put only empty organized cloud to the function and it crashed either. Thats why I dont think there is problem with my cloud data. Guarding std::vector of Eigen matrices did not help.
from cpu_tsdf.
Could you do a quick check and see if my own integrate binary segfaults? That would help let us know if it has to do with clashing symbols / linker issues related to boost.
from cpu_tsdf.
Your integrate binary works fine I was able to create output from you sample data
from cpu_tsdf.
Ok I find a solution a resaved my data to pcd binary file and used your program for generating mesh :) it works without any problems. I still dont know where could be the problem in my solution but never mind. Thanks for your time :) and great cpu_tsdf package
from cpu_tsdf.
I have one more questie here are my data that i get after transformation of clouds in my program
And here is you output Is there a way to improve final mesh.ply ??
from cpu_tsdf.
I made it looks nicer with manually increasing resolution to 8192 but it still throws away too much data as you can see on the first picture boxes has all the sides. Do I need to insert bigger dataset ? or is there any other problem
from cpu_tsdf.
Hmm, I would hazard a guess this has to do with intrinsics not being right? It seems to be projecting quite roughly -- I've found that this can sometimes happen with high resolution images, since the odds of a voxel reprojecting perfectly at a given pixel get much lower. More clouds should definitely help debug the problem :)
from cpu_tsdf.
Yeah it helped. Thank you very much for your time and help :)
from cpu_tsdf.
If you try combinations of the --visualize and --cloud-only options in my integrate script, it might help debug the problem a bit -- showcases my aligned clouds (to ensure they're aligning right), and/or lets you step through the integration pipeline frame by frame.
from cpu_tsdf.
Related Issues (20)
- Question about tsdf HOT 3
- Reprojection yielded 0 valid points :( HOT 5
- Coordinate frame of point cloud expected HOT 1
- Generated surface is offset by a voxel width HOT 4
- Example data for tests HOT 9
- cpu_tsdf cannot compile with pcl 1.8.1 HOT 8
- How to get the pose.txt.... HOT 2
- wrong include path HOT 2
- pcd file format HOT 8
- use of normal vectors HOT 3
- Linker Error with boost::program_options (Boost 1.57.0 & PCL 1.9.0) HOT 1
- build with pcl 1.8.1 failure HOT 6
- is the hpp file:tsdf_volume_octree.hpp any useful in this project? HOT 1
- complied error with pcl1.10
- This project depend on which version of pcl HOT 1
- Can't generate tsdf2mesh executable when I switch pcl version to pcl 1.10 HOT 1
- Core dumped when I run integrate HOT 1
- rtabmap+cputsdf+pcl1.8.1 HOT 2
- How to run my local data? HOT 12
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 cpu_tsdf.