ros2_interfaces_rolling/marti_nav_msgs/msg/
path_point.rs

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