ros2_interfaces_humble/controller_manager_msgs/srv/
configure_controller.rs

1use serde::{Deserialize, Serialize};
2
3
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub struct ConfigureControllerRequest {
6    pub name: ::std::string::String,
7}
8
9impl Default for ConfigureControllerRequest {
10    fn default() -> Self {
11        ConfigureControllerRequest {
12            name: ::std::string::String::new(),
13        }
14    }
15}
16
17impl ros2_client::Message for ConfigureControllerRequest {}
18
19
20
21#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
22pub struct ConfigureControllerResponse {
23    pub ok: bool,
24}
25
26impl Default for ConfigureControllerResponse {
27    fn default() -> Self {
28        ConfigureControllerResponse {
29            ok: false,
30        }
31    }
32}
33
34impl ros2_client::Message for ConfigureControllerResponse {}
35
36
37pub struct ConfigureController;
38impl ros2_client::Service for ConfigureController {
39    type Request = ConfigureControllerRequest;
40    type Response = ConfigureControllerResponse;
41
42    fn request_type_name(&self) -> &str { "ConfigureControllerRequest" }
43    fn response_type_name(&self) -> &str { "ConfigureControllerResponse" }
44}