Skip to content

Inserting pointcloud after clear() fails. #123

Closed
@skasperski

Description

@skasperski

Hello,

I am building an octomap::OcTree from pointclouds, which works fine so far. But when I call clear() on the OcTree and then try to add a new pointcloud, it crashes without an exception. Is there anything that has to be done after calling clear(), before new pointclouds can be inserted again?

Edit: A run with gdb gave me:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff9f7fe700 (LWP 11343)]
0x00007fffecf3c174 in octomap::OcTreeBaseImpl<octomap::OcTreeNode, octomap::AbstractOccupancyOcTree>::search(octomap::OcTreeKey const&, unsigned int) const ()

Best regards,
Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions