ros2_interfaces_jazzy/lgsvl_msgs/msg/bounding_box2_d.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct BoundingBox2D {
5 pub x: f32,
6 pub y: f32,
7 pub width: f32,
8 pub height: f32,
9}
10
11impl Default for BoundingBox2D {
12 fn default() -> Self {
13 BoundingBox2D {
14 x: 0.0,
15 y: 0.0,
16 width: 0.0,
17 height: 0.0,
18 }
19 }
20}
21
22impl ros2_client::Message for BoundingBox2D {}