ros2_interfaces_rolling/bond/msg/
status.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Status {
5    pub header: crate::std_msgs::msg::Header,
6    pub id: ::std::string::String,
7    pub instance_id: ::std::string::String,
8    pub active: bool,
9    pub heartbeat_timeout: f32,
10    pub heartbeat_period: f32,
11}
12
13impl Default for Status {
14    fn default() -> Self {
15        Status {
16            header: crate::std_msgs::msg::Header::default(),
17            id: ::std::string::String::new(),
18            instance_id: ::std::string::String::new(),
19            active: false,
20            heartbeat_timeout: 0.0,
21            heartbeat_period: 0.0,
22        }
23    }
24}
25
26impl ros2_client::Message for Status {}