ros2_interfaces_rolling/geometry_msgs/msg/
polygon.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Polygon {
5    pub points: Vec<crate::geometry_msgs::msg::Point32>,
6}
7
8impl Default for Polygon {
9    fn default() -> Self {
10        Polygon {
11            points: Vec::new(),
12        }
13    }
14}
15
16impl ros2_client::Message for Polygon {}