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 Battery {
    pub charge: f32,
    pub charging: bool,
    pub current: f32,
    pub temperature: f32,
}

impl Default for Battery {
    fn default() -> Self {
        Battery {
            charge: 0.0,
            charging: false,
            current: 0.0,
            temperature: 0.0,
        }
    }
}

impl ros2_client::Message for Battery {}