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

WarpFieldUpdater.cpp: Nan in node candidate #85

Open
RKGalaxy-Luo opened this issue Dec 15, 2023 · 1 comment
Open

WarpFieldUpdater.cpp: Nan in node candidate #85

RKGalaxy-Luo opened this issue Dec 15, 2023 · 1 comment

Comments

@RKGalaxy-Luo
Copy link

May I ask, when we run this code has not appeared "Nan in node candidate" this problem, Initializing Quaternion is DualQuaternion(1, 0, 0, 0), Quaternion(0, 0, 0), But there are two dual quaternions declared in SolverIterationData.h and SolverIterationData.cpp
DeviceBufferArray< DualQuaternion >; node_se3_0_;
DeviceBufferArray< DualQuaternion >; node_se3_1_;
But node_se3_0_ and node_se3_1_ have no values, they are all DualQuaternion(0, 0, 0, 0), Quaternion(0, 0, 0, 0). So the dual Quaternion is all DualQuaternion(nan, nan, nan, nan), Quaternion(nan, nan, nan, nan).

@remmel
Copy link

remmel commented Jan 19, 2024

I get same error

surfelwarp_app [...]/test_data/boxing_config.json
surfelwarp/apps/surfelwarp_app/main.cpp:40: The 0th Frame
surfelwarp/core/geometry/WarpFieldUpdater.cpp:21: Nan in node candidate
terminate called after throwing an instance of 'std::runtime_error*'
Signal: SIGABRT (Aborted)

Note that I had to increase kMaxNumSurfelCandidates
const unsigned surfelwarp::Constants::kMaxNumSurfelCandidates = 100000; to avoid previous error surfelwarp/common/DeviceBufferArray.h:90: The pre-allocated buffer is not enough

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