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 GetPositionFKRequest {
    pub header: crate::std_msgs::msg::Header,
    pub fk_link_names: Vec<::std::string::String>,
    pub robot_state: crate::moveit_msgs::msg::RobotState,
}

impl Default for GetPositionFKRequest {
    fn default() -> Self {
        GetPositionFKRequest {
            header: crate::std_msgs::msg::Header::default(),
            fk_link_names: Vec::new(),
            robot_state: crate::moveit_msgs::msg::RobotState::default(),
        }
    }
}

impl ros2_client::Message for GetPositionFKRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetPositionFKResponse {
    pub pose_stamped: Vec<crate::geometry_msgs::msg::PoseStamped>,
    pub fk_link_names: Vec<::std::string::String>,
    pub error_code: crate::moveit_msgs::msg::MoveItErrorCodes,
}

impl Default for GetPositionFKResponse {
    fn default() -> Self {
        GetPositionFKResponse {
            pose_stamped: Vec::new(),
            fk_link_names: Vec::new(),
            error_code: crate::moveit_msgs::msg::MoveItErrorCodes::default(),
        }
    }
}

impl ros2_client::Message for GetPositionFKResponse {}


pub struct GetPositionFK;
impl ros2_client::Service for GetPositionFK {
    type Request = GetPositionFKRequest;
    type Response = GetPositionFKResponse;

    fn request_type_name(&self) -> &str { "GetPositionFKRequest" }
    fn response_type_name(&self) -> &str { "GetPositionFKResponse" }
}