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 GetMotionPlanRequest {
    pub motion_plan_request: crate::moveit_msgs::msg::MotionPlanRequest,
}

impl Default for GetMotionPlanRequest {
    fn default() -> Self {
        GetMotionPlanRequest {
            motion_plan_request: crate::moveit_msgs::msg::MotionPlanRequest::default(),
        }
    }
}

impl ros2_client::Message for GetMotionPlanRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetMotionPlanResponse {
    pub motion_plan_response: crate::moveit_msgs::msg::MotionPlanResponse,
}

impl Default for GetMotionPlanResponse {
    fn default() -> Self {
        GetMotionPlanResponse {
            motion_plan_response: crate::moveit_msgs::msg::MotionPlanResponse::default(),
        }
    }
}

impl ros2_client::Message for GetMotionPlanResponse {}


pub struct GetMotionPlan;
impl ros2_client::Service for GetMotionPlan {
    type Request = GetMotionPlanRequest;
    type Response = GetMotionPlanResponse;

    fn request_type_name(&self) -> &str { "GetMotionPlanRequest" }
    fn response_type_name(&self) -> &str { "GetMotionPlanResponse" }
}