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 GetPlanningSceneRequest {
    pub components: crate::moveit_msgs::msg::PlanningSceneComponents,
}

impl Default for GetPlanningSceneRequest {
    fn default() -> Self {
        GetPlanningSceneRequest {
            components: crate::moveit_msgs::msg::PlanningSceneComponents::default(),
        }
    }
}

impl ros2_client::Message for GetPlanningSceneRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetPlanningSceneResponse {
    pub scene: crate::moveit_msgs::msg::PlanningScene,
}

impl Default for GetPlanningSceneResponse {
    fn default() -> Self {
        GetPlanningSceneResponse {
            scene: crate::moveit_msgs::msg::PlanningScene::default(),
        }
    }
}

impl ros2_client::Message for GetPlanningSceneResponse {}


pub struct GetPlanningScene;
impl ros2_client::Service for GetPlanningScene {
    type Request = GetPlanningSceneRequest;
    type Response = GetPlanningSceneResponse;

    fn request_type_name(&self) -> &str { "GetPlanningSceneRequest" }
    fn response_type_name(&self) -> &str { "GetPlanningSceneResponse" }
}