use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct BoundingBox2D {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}
impl Default for BoundingBox2D {
fn default() -> Self {
BoundingBox2D {
x: 0.0,
y: 0.0,
width: 0.0,
height: 0.0,
}
}
}
impl ros2_client::Message for BoundingBox2D {}