ros2_interfaces_rolling/moveit_msgs/srv/
update_pointcloud_octomap.rs1use serde::{Deserialize, Serialize};
2
3
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub struct UpdatePointcloudOctomapRequest {
6 pub cloud: crate::sensor_msgs::msg::PointCloud2,
7}
8
9impl Default for UpdatePointcloudOctomapRequest {
10 fn default() -> Self {
11 UpdatePointcloudOctomapRequest {
12 cloud: crate::sensor_msgs::msg::PointCloud2::default(),
13 }
14 }
15}
16
17impl ros2_client::Message for UpdatePointcloudOctomapRequest {}
18
19
20
21#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
22pub struct UpdatePointcloudOctomapResponse {
23 pub success: bool,
24}
25
26impl Default for UpdatePointcloudOctomapResponse {
27 fn default() -> Self {
28 UpdatePointcloudOctomapResponse {
29 success: false,
30 }
31 }
32}
33
34impl ros2_client::Message for UpdatePointcloudOctomapResponse {}
35
36
37pub struct UpdatePointcloudOctomap;
38impl ros2_client::Service for UpdatePointcloudOctomap {
39 type Request = UpdatePointcloudOctomapRequest;
40 type Response = UpdatePointcloudOctomapResponse;
41
42 fn request_type_name(&self) -> &str { "UpdatePointcloudOctomapRequest" }
43 fn response_type_name(&self) -> &str { "UpdatePointcloudOctomapResponse" }
44}