Skip to content

Commit

Permalink
Merge pull request #1607 from technolojin/fix/pointpainting/point-pro…
Browse files Browse the repository at this point in the history
…j-bug

fix(autoware_image_projection_based_fusion): pointpainting bug fix for point projection (autowarefoundation#9150)
  • Loading branch information
Ericpotato authored Oct 28, 2024
2 parents 45280d0 + 8b51ce7 commit 907726d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ dc | dc dc dc dc ||zc|
sensor_msgs::msg::RegionOfInterest roi = feature_object.feature.roi;
// paint current point if it is inside bbox
int label2d = feature_object.object.classification.front().label;
if (!isUnknown(label2d) && isInsideBbox(projected_point.x(), projected_point.y(), roi, p_z)) {
if (!isUnknown(label2d) && isInsideBbox(projected_point.x(), projected_point.y(), roi, 1.0)) {
// cppcheck-suppress invalidPointerCast
auto p_class = reinterpret_cast<float *>(&output[stride + class_offset]);
for (const auto & cls : isClassTable_) {
Expand Down

0 comments on commit 907726d

Please sign in to comment.