ros2_interfaces_jazzy/rc_reason_msgs/srv/
set_hand_eye_calibration_pose.rs1use serde::{Deserialize, Serialize};
2
3
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub struct SetHandEyeCalibrationPoseRequest {
6 pub slot: i32,
7 pub pose: crate::geometry_msgs::msg::Pose,
8}
9
10impl Default for SetHandEyeCalibrationPoseRequest {
11 fn default() -> Self {
12 SetHandEyeCalibrationPoseRequest {
13 slot: 0,
14 pose: crate::geometry_msgs::msg::Pose::default(),
15 }
16 }
17}
18
19impl ros2_client::Message for SetHandEyeCalibrationPoseRequest {}
20
21
22
23#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
24pub struct SetHandEyeCalibrationPoseResponse {
25 pub success: bool,
26 pub status: i32,
27 pub message: ::std::string::String,
28}
29
30impl Default for SetHandEyeCalibrationPoseResponse {
31 fn default() -> Self {
32 SetHandEyeCalibrationPoseResponse {
33 success: false,
34 status: 0,
35 message: ::std::string::String::new(),
36 }
37 }
38}
39
40impl ros2_client::Message for SetHandEyeCalibrationPoseResponse {}
41
42
43pub struct SetHandEyeCalibrationPose;
44impl ros2_client::Service for SetHandEyeCalibrationPose {
45 type Request = SetHandEyeCalibrationPoseRequest;
46 type Response = SetHandEyeCalibrationPoseResponse;
47
48 fn request_type_name(&self) -> &str { "SetHandEyeCalibrationPoseRequest" }
49 fn response_type_name(&self) -> &str { "SetHandEyeCalibrationPoseResponse" }
50}