-
Notifications
You must be signed in to change notification settings - Fork 12
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
assert(dot >= 0) failed #1
Comments
That's strange. My initial guess would be that its a duplicate value in the tree (which is currently not supported). Do you have test input that reproduces the assertion? |
It only happens when I do
The format is [x, y, z, qw, qx, qy, qz]. The assertion fails after the last input. KDTreeBatch size is 8. |
Just to check off one possible issue, are you using the SE3 space alias? The default ones put SO(3) before R3, so the tuple must be populated [qw, qx, qy, qz, x, y, z]. (We do this to get better memory alignment by having the 4 element quaternion before the 3 element vector). Also, please take a look at test/issue_1_test.cpp. I attempted to reproduce the issue therein, but was unsuccessful in getting the assertion. Does the code match what you are doing when you get the assertion? |
I'm trying to insert elements into an SE3 tree but at some point I get:
What exactly does that mean?
I checked the uniqueness of that element I would like to enter, but that's ok.
The text was updated successfully, but these errors were encountered: