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 ResetPoseRequest {
    pub pose: crate::geometry_msgs::msg::Pose,
}

impl Default for ResetPoseRequest {
    fn default() -> Self {
        ResetPoseRequest {
            pose: crate::geometry_msgs::msg::Pose::default(),
        }
    }
}

impl ros2_client::Message for ResetPoseRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ResetPoseResponse {

}

impl Default for ResetPoseResponse {
    fn default() -> Self {
        ResetPoseResponse {

        }
    }
}

impl ros2_client::Message for ResetPoseResponse {}


pub struct ResetPose;
impl ros2_client::Service for ResetPose {
    type Request = ResetPoseRequest;
    type Response = ResetPoseResponse;

    fn request_type_name(&self) -> &str { "ResetPoseRequest" }
    fn response_type_name(&self) -> &str { "ResetPoseResponse" }
}