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 WaypointPullRequest {

}

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

        }
    }
}

impl ros2_client::Message for WaypointPullRequest {}



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

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

impl ros2_client::Message for WaypointPullResponse {}


pub struct WaypointPull;
impl ros2_client::Service for WaypointPull {
    type Request = WaypointPullRequest;
    type Response = WaypointPullResponse;

    fn request_type_name(&self) -> &str { "WaypointPullRequest" }
    fn response_type_name(&self) -> &str { "WaypointPullResponse" }
}