ros2_interfaces_rolling/moveit_msgs/srv/
query_planner_interfaces.rs

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