ros2_interfaces_rolling/rmf_traffic_msgs/msg/
blockade_set.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct BlockadeSet {
5    pub participant: u64,
6    pub reservation: u64,
7    pub radius: f64,
8    pub path: Vec<crate::rmf_traffic_msgs::msg::BlockadeCheckpoint>,
9}
10
11impl Default for BlockadeSet {
12    fn default() -> Self {
13        BlockadeSet {
14            participant: 0,
15            reservation: 0,
16            radius: 0.0,
17            path: Vec::new(),
18        }
19    }
20}
21
22impl ros2_client::Message for BlockadeSet {}