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 SiteMap {
    pub encoding: u32,
    pub data: Vec<u8>,
}

impl SiteMap {
    pub const MAP_DATA_UNDEFINED: u32 = 0;
    pub const MAP_DATA_GPKG: u32 = 1;
    pub const MAP_DATA_GPKG_GZ: u32 = 2;
    pub const MAP_DATA_GEOJSON: u32 = 3;
    pub const MAP_DATA_GEOJSON_GZ: u32 = 4;
}

impl Default for SiteMap {
    fn default() -> Self {
        SiteMap {
            encoding: 0,
            data: Vec::new(),
        }
    }
}

impl ros2_client::Message for SiteMap {}