-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Linergbd loadtemplates fix #3946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Linergbd loadtemplates fix #3946
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Writing to filesystem doesn't seem necessary in this case. Why did you choose this over reading the body in binary format?
This seems like a 1 time cost at the beginning of the code and avoid any issue with parsing the header. Another is we can avoid loading the binary into |
It's a new issue with Apple every month. Don't worry about MacOS CI for now |
@PointCloudLibrary/maintainers feedback needed on replacement of reading tar with extracting it externally and reading the extracted files. |
The fix you're providing is relying on the existence of |
@SergioRAgostinho that depends on what's included in the LTM. Based on the original author's code, I deduced the LTM contains both the SQMMT and PCDs of the object point clouds. Without extract the LTM using |
Then accepts a vector of paths to both types of files as an argument.
I am asking to implement a method which takes a vector of PCD and SQMMT files as an overload/alternative to the method which tries to read them directly from a tar archive. This allows the user to use tar or other unarchiving tool to extract the files as a first step before executing any code. Once the files are out pass all the files into your application as command line arguments. It won't fix the buggy tar reading feature but it will be a solution that is cross platform and leaves the current code intact so that other users can actually try to properly fix it at some point. |
OK, I'll revise my fix and leave the old implementation as is |
Are you working on this? Your last statement was a big ambiguous wrt the status of the PR |
@kunaltyagi I'm still working on it. Been tied up at work. Gonna try to debug the Stefan's implementation to see what's going on |
Marking this as stale due to 30 days of inactivity. Commenting or adding a new commit to the pull request will revert this. |
70610ad
to
e7d8179
Compare
Implemented 2 loading methods to circumvent TAR issues in |
if (!std::isfinite (p.x) || !std::isfinite (p.y) || !std::isfinite (p.z)) | ||
continue; | ||
|
||
min_x = std::min (min_x, p.x); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use Eigen here
Marking this as stale due to 30 days of inactivity. Commenting or adding a new commit to the pull request will revert this. |
Fix for #3887