ros2-interfaces-iron 0.0.2

Structs for Messages and Services listed by ROS Index for ROS2 Iron. Built around the `ros2-client` crate.
Documentation
use serde::{Deserialize, Serialize};


#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetBasePlaneCalibrationRequest {
    pub pose_frame: ::std::string::String,
    pub robot_pose: crate::geometry_msgs::msg::Pose,
}

impl Default for GetBasePlaneCalibrationRequest {
    fn default() -> Self {
        GetBasePlaneCalibrationRequest {
            pose_frame: ::std::string::String::new(),
            robot_pose: crate::geometry_msgs::msg::Pose::default(),
        }
    }
}

impl ros2_client::Message for GetBasePlaneCalibrationRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetBasePlaneCalibrationResponse {
    pub pose_frame: ::std::string::String,
    pub plane: crate::shape_msgs::msg::Plane,
    pub return_code: crate::rc_common_msgs::msg::ReturnCode,
}

impl Default for GetBasePlaneCalibrationResponse {
    fn default() -> Self {
        GetBasePlaneCalibrationResponse {
            pose_frame: ::std::string::String::new(),
            plane: crate::shape_msgs::msg::Plane::default(),
            return_code: crate::rc_common_msgs::msg::ReturnCode::default(),
        }
    }
}

impl ros2_client::Message for GetBasePlaneCalibrationResponse {}


pub struct GetBasePlaneCalibration;
impl ros2_client::Service for GetBasePlaneCalibration {
    type Request = GetBasePlaneCalibrationRequest;
    type Response = GetBasePlaneCalibrationResponse;

    fn request_type_name(&self) -> &str { "GetBasePlaneCalibrationRequest" }
    fn response_type_name(&self) -> &str { "GetBasePlaneCalibrationResponse" }
}