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 UpdatePointcloudOctomapRequest {
    pub cloud: crate::sensor_msgs::msg::PointCloud2,
}

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

impl ros2_client::Message for UpdatePointcloudOctomapRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct UpdatePointcloudOctomapResponse {
    pub success: bool,
}

impl Default for UpdatePointcloudOctomapResponse {
    fn default() -> Self {
        UpdatePointcloudOctomapResponse {
            success: false,
        }
    }
}

impl ros2_client::Message for UpdatePointcloudOctomapResponse {}


pub struct UpdatePointcloudOctomap;
impl ros2_client::Service for UpdatePointcloudOctomap {
    type Request = UpdatePointcloudOctomapRequest;
    type Response = UpdatePointcloudOctomapResponse;

    fn request_type_name(&self) -> &str { "UpdatePointcloudOctomapRequest" }
    fn response_type_name(&self) -> &str { "UpdatePointcloudOctomapResponse" }
}