ros2_interfaces_rolling/marti_nav_msgs/msg/
path.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Path {
5    pub header: crate::std_msgs::msg::Header,
6    pub points: Vec<crate::marti_nav_msgs::msg::PathPoint>,
7    pub in_reverse: bool,
8}
9
10impl Default for Path {
11    fn default() -> Self {
12        Path {
13            header: crate::std_msgs::msg::Header::default(),
14            points: Vec::new(),
15            in_reverse: false,
16        }
17    }
18}
19
20impl ros2_client::Message for Path {}