fixed sparse rings in lidar
if all datapoints in one ring were missing we would have a shape mismatch for that data so we have to fill the sparse data out in the index axis too
This commit is contained in:
@@ -154,6 +154,7 @@ def create_projection_data(
|
||||
lidar_data = lidar_data.reindex(
|
||||
columns=range(horizontal_resolution), fill_value=0
|
||||
)
|
||||
lidar_data = lidar_data.reindex(index=range(vertical_resolution), fill_value=0)
|
||||
lidar_data, output_horizontal_resolution = crop_lidar_data_to_roi(
|
||||
lidar_data, roi_angle_start, roi_angle_width, horizontal_resolution
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user