ros2-interfaces-rolling 0.0.2

Structs for Messages and Services listed by ROS Index for ROS2 Rolling. Built around the `ros2-client` crate.
Documentation
use serde::{Deserialize, Serialize};


#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetOctomapRequest {

}

impl Default for GetOctomapRequest {
    fn default() -> Self {
        GetOctomapRequest {

        }
    }
}

impl ros2_client::Message for GetOctomapRequest {}



#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GetOctomapResponse {
    pub map: crate::octomap_msgs::msg::Octomap,
}

impl Default for GetOctomapResponse {
    fn default() -> Self {
        GetOctomapResponse {
            map: crate::octomap_msgs::msg::Octomap::default(),
        }
    }
}

impl ros2_client::Message for GetOctomapResponse {}


pub struct GetOctomap;
impl ros2_client::Service for GetOctomap {
    type Request = GetOctomapRequest;
    type Response = GetOctomapResponse;

    fn request_type_name(&self) -> &str { "GetOctomapRequest" }
    fn response_type_name(&self) -> &str { "GetOctomapResponse" }
}