We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have been trying the following sample test code, however, it appears that there is some error in the nearest neighbor search implementation.
#include <ufo/map/occupancy_map.h> #include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) { ufo::map::OccupancyMap map(0.25, 16); map.updateOccupancy(1, 1, 1, 1); map.updateOccupancy(1, 1, -1, 1); for (auto it = map.beginNNLeaves(ufo::map::Point3(1, 1, 1), true, true, true, false, 0); it != map.endNNLeaves(); ++it) { } return 0; }
The text was updated successfully, but these errors were encountered:
is there any update on the issue?
Sorry, something went wrong.
The problem seems when validNode(...) calls following funciton:
bool containsUnknown(INNER_NODE const& node) const { return static_cast<INNER_NODE const&>(node).contains_unknown; }
bool containsFree(INNER_NODE const& node) const { return static_cast<INNER_NODE const&>(node).contains_free; }
why the inner_node is invalid?
No branches or pull requests
I have been trying the following sample test code, however, it appears that there is some error in the nearest neighbor search implementation.
#include <ufo/map/occupancy_map.h>
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[])
{
ufo::map::OccupancyMap map(0.25, 16);
map.updateOccupancy(1, 1, 1, 1);
map.updateOccupancy(1, 1, -1, 1);
for (auto it = map.beginNNLeaves(ufo::map::Point3(1, 1, 1), true, true, true, false, 0); it != map.endNNLeaves(); ++it)
{
}
return 0;
}
The text was updated successfully, but these errors were encountered: