@@ -744,32 +744,6 @@ void calc_bounding_box_orientation_line_list(
744
744
calc_line_list_from_points (point_list, point_pairs, 2 , points);
745
745
}
746
746
747
- // void calc_2d_bounding_box_bottom_line_list(
748
- // const autoware_auto_perception_msgs::msg::Shape & shape,
749
- // std::vector<geometry_msgs::msg::Point> & points)
750
- // {
751
- // const double length_half = shape.dimensions.x * 0.5;
752
- // const double width_half = shape.dimensions.y * 0.5;
753
- // const double height_half = shape.dimensions.z * 0.5;
754
- // geometry_msgs::msg::Point point;
755
-
756
- // // bounding box corner points
757
- // // top surface, clockwise
758
- // const double point_list[4][3] = {
759
- // {length_half, width_half, -height_half},
760
- // {length_half, -width_half, -height_half},
761
- // {-length_half, -width_half, -height_half},
762
- // {-length_half, width_half, -height_half},
763
- // };
764
- // const int point_pairs[4][2] = {
765
- // {0, 1},
766
- // {1, 2},
767
- // {2, 3},
768
- // {3, 0},
769
- // };
770
- // calc_line_list_from_points(point_list, point_pairs, 4, points);
771
- // }
772
-
773
747
void calc_2d_bounding_box_bottom_line_list (
774
748
const autoware_auto_perception_msgs::msg::Shape & shape,
775
749
std::vector<geometry_msgs::msg::Point > & points)
0 commit comments