ros2_interfaces_rolling/tuw_multi_robot_msgs/msg/
router_status.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct RouterStatus {
5 pub id: i32,
6 pub success: bool,
7 pub missing_robots: Vec<::std::string::String>,
8 pub duration: i32,
9 pub overall_path_length: i32,
10 pub longest_path_length: i32,
11 pub priority_scheduling_attemps: i32,
12 pub speed_scheduling_attemps: i32,
13}
14
15impl Default for RouterStatus {
16 fn default() -> Self {
17 RouterStatus {
18 id: 0,
19 success: false,
20 missing_robots: Vec::new(),
21 duration: 0,
22 overall_path_length: 0,
23 longest_path_length: 0,
24 priority_scheduling_attemps: 0,
25 speed_scheduling_attemps: 0,
26 }
27 }
28}
29
30impl ros2_client::Message for RouterStatus {}