ros2-interfaces-rolling 0.0.1

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 SensorData {
    pub distance: u8,
    pub warn: bool,
    pub alarm: bool,
    pub active: bool,
}

impl Default for SensorData {
    fn default() -> Self {
        SensorData {
            distance: 0,
            warn: false,
            alarm: false,
            active: false,
        }
    }
}

impl ros2_client::Message for SensorData {}