Skip to content

A error while running collect_lidar_data.py ,about the octomap-python  #4

@ShoulinWen

Description

@ShoulinWen

There is a error while running collect_lidar_data.py as following:
Traceback (most recent call last):
File "collect_lidar_data.py", line 48, in
occupancy_map.visualize()
File "/home/wsl/carla/CARLA_0.9.11/PythonAPI/Safe_Occlusion_Aware_Planning-main/mapping/occupancy_map.py", line 91, in visualize
occupied, _ = self.octree.extractPointCloud()
File "octomap/octomap.pyx", line 510, in octomap.OcTree.extractPointCloud
File "octomap/octomap.pyx", line 262, in iter
AttributeError: 'octomap.leaf_iterator' object has no attribute '_leaf_iterator__is_end'

I wonder if you have encountered this error before and konw how to solve it? Thanks a lot in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions