Skip to content

Commit c17b000

Browse files
authored
fix(autoware_tracking_object_merger): fix bugprone-branch-clone (#9662)
* fix: bugprone-error Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp> * fix: fmt Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp> --------- Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
1 parent 91bfe5c commit c17b000

File tree

1 file changed

+4
-4
lines changed
  • perception/autoware_tracking_object_merger/src/utils

1 file changed

+4
-4
lines changed

perception/autoware_tracking_object_merger/src/utils/utils.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ TrackedObject linearInterpolationForTrackedObject(
9898
output_shape.dimensions.x = shape1.dimensions.x * (1 - weight) + shape2.dimensions.x * weight;
9999
output_shape.dimensions.y = shape1.dimensions.y * (1 - weight) + shape2.dimensions.y * weight;
100100
output_shape.dimensions.z = shape1.dimensions.z * (1 - weight) + shape2.dimensions.z * weight;
101-
} else if (shape1.type == autoware_perception_msgs::msg::Shape::CYLINDER) {
102-
// (TODO) implement
103-
} else if (shape1.type == autoware_perception_msgs::msg::Shape::POLYGON) {
104-
// (TODO) implement
101+
} else if (shape1.type == autoware_perception_msgs::msg::Shape::CYLINDER) { // NOLINT
102+
// (TODO) implement and remove NOLINT
103+
} else if (shape1.type == autoware_perception_msgs::msg::Shape::POLYGON) { // NOLINT
104+
// (TODO) implement and remove NOLINT
105105
} else {
106106
// when type is unknown, print warning and do nothing
107107
std::cerr << "unknown shape type in linearInterpolationForTrackedObject function."

0 commit comments

Comments
 (0)