wkentaro / octomap-python

Python binding of the OctoMap library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

isNodeOccupied issue

boazMgm opened this issue · comments

Hi,
I'm running this simple test (after I've initialized the Octree):

test_point = np.array([1.0, 2.0, 3.0])
node = tree.search(test_point)
occupancy = tree.isNodeOccupied(node)

And I get the following error:
File "octomap/octomap.pyx", line 461, in octomap.OcTree.isNodeOccupied
octomap.NullPointerException

Do you know what might be the issue?
Thanks