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 RxmRTCM {
    pub version: u8,
    pub flags: u8,
    pub reserved0: [u8; 2],
    pub ref_station: u16,
    pub msg_type: u16,
}

impl RxmRTCM {
    pub const CLASS_ID: u8 = 2;
    pub const MESSAGE_ID: u8 = 50;
    pub const FLAGS_CRC_FAILED: u8 = 1;
}

impl Default for RxmRTCM {
    fn default() -> Self {
        RxmRTCM {
            version: 0,
            flags: 0,
            reserved0: [0; 2],
            ref_station: 0,
            msg_type: 0,
        }
    }
}

impl ros2_client::Message for RxmRTCM {}