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