SafeRoboticsLab / Safe_Occlusion_Aware_Planning

Repository for "Safe Occlusion-aware Autonomous Driving via Game-Theoretic Active Perception" - RSS 2021
Other
35 stars 8 forks source link

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

Open 166wsl opened 2 months ago

166wsl commented 2 months ago

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/occupancymap.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!