Skip to content

Commit c75c92a

Browse files
committed
fix(scan_ground_filter): intensity bug fix
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
1 parent cb76c4c commit c75c92a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

perception/ground_segmentation/src/scan_ground_filter_nodelet.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,6 @@ void ScanGroundFilterComponent::extractObjectPoints(
581581
std::memcpy(
582582
&out_object_cloud.data[output_data_size], &in_cloud_ptr->data[i * in_cloud_ptr->point_step],
583583
in_cloud_ptr->point_step * sizeof(uint8_t));
584-
*reinterpret_cast<float *>(&out_object_cloud.data[output_data_size + intensity_offset_]) =
585-
1; // set intensity to 1
586584
output_data_size += in_cloud_ptr->point_step;
587585
}
588586
}

0 commit comments

Comments
 (0)