Skip to content

Commit 255c7f6

Browse files
author
KhalilSelyan
committed
fix: pre-commit ci
Signed-off-by: KhalilSelyan <khalil@leodrive.ai>
1 parent 8d0b5f9 commit 255c7f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

common/autoware_auto_perception_rviz_plugin/src/object_detection/object_polygon_detail.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,9 @@ visualization_msgs::msg::Marker::SharedPtr get_2d_shape_marker_ptr(
559559
marker_ptr->scale.y = 1.0; // Set scale to 1 for TRIANGLE_LIST
560560
marker_ptr->scale.z = 1.0; // Set scale to 1 for TRIANGLE_LIST
561561
if (is_orientation_available) {
562+
calc_2d_bounding_box_bottom_direction_line_list(shape_msg, marker_ptr->points);
563+
} else {
564+
calc_2d_bounding_box_bottom_orientation_line_list(shape_msg, marker_ptr->points);
562565
}
563566
} else if (shape_msg.type == Shape::CYLINDER) {
564567
marker_ptr->type = visualization_msgs::msg::Marker::LINE_LIST;

0 commit comments

Comments
 (0)