Skip to content
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

First, second and last column of light curtain image are all NaNs #6

Open
siddancha opened this issue May 4, 2020 · 2 comments
Open

Comments

@siddancha
Copy link
Member

In the output light curtain image, i.e. pylc_output.images_multi[0][0] (link), which is of size HxWx4, the first, second and last column of the image have x, y, z equal to NaN. This happens even when the laser FOV is set to a very large value (179°).

@siddancha
Copy link
Member Author

Example case with design points, depth image, and light curtain parameters.

Run python failure.py with data.npy in the same folder.

data.zip

@soulslicer
Copy link
Collaborator

findIntersectionOpt fails if points provided lie exactly on ray.

Quick fix is either to add epsilon to the provided input, or to provide an API to disable this interpolator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants