ros2_interfaces_rolling/controller_manager_msgs/msg/
hardware_interface.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct HardwareInterface {
    pub name: ::std::string::String,
    pub is_available: bool,
    pub is_claimed: bool,
}

impl Default for HardwareInterface {
    fn default() -> Self {
        HardwareInterface {
            name: ::std::string::String::new(),
            is_available: false,
            is_claimed: false,
        }
    }
}

impl ros2_client::Message for HardwareInterface {}