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 GetPointMapROIRequest {
    pub x: f64,
    pub y: f64,
    pub z: f64,
    pub r: f64,
    pub l_x: f64,
    pub l_y: f64,
    pub l_z: f64,
}

impl Default for GetPointMapROIRequest {
    fn default() -> Self {
        GetPointMapROIRequest {
            x: 0.0,
            y: 0.0,
            z: 0.0,
            r: 0.0,
            l_x: 0.0,
            l_y: 0.0,
            l_z: 0.0,
        }
    }
}

impl ros2_client::Message for GetPointMapROIRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetPointMapROIResponse {
    pub sub_map: crate::sensor_msgs::msg::PointCloud2,
}

impl Default for GetPointMapROIResponse {
    fn default() -> Self {
        GetPointMapROIResponse {
            sub_map: crate::sensor_msgs::msg::PointCloud2::default(),
        }
    }
}

impl ros2_client::Message for GetPointMapROIResponse {}


pub struct GetPointMapROI;
impl ros2_client::Service for GetPointMapROI {
    type Request = GetPointMapROIRequest;
    type Response = GetPointMapROIResponse;

    fn request_type_name(&self) -> &str { "GetPointMapROIRequest" }
    fn response_type_name(&self) -> &str { "GetPointMapROIResponse" }
}