ros2_interfaces_rolling/vision_msgs/msg/
bounding_box2_d.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct BoundingBox2D {
5    pub center: crate::vision_msgs::msg::Pose2D,
6    pub size_x: f64,
7    pub size_y: f64,
8}
9
10impl Default for BoundingBox2D {
11    fn default() -> Self {
12        BoundingBox2D {
13            center: crate::vision_msgs::msg::Pose2D::default(),
14            size_x: 0.0,
15            size_y: 0.0,
16        }
17    }
18}
19
20impl ros2_client::Message for BoundingBox2D {}