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 WheelStates {
    pub stamp: crate::builtin_interfaces::msg::Time,
    pub position: [f32; 4],
    pub velocity: [f32; 4],
    pub torque: [f32; 4],
    pub pwm_duty_cycle: [f32; 4],
}

impl Default for WheelStates {
    fn default() -> Self {
        WheelStates {
            stamp: crate::builtin_interfaces::msg::Time::default(),
            position: [0.0; 4],
            velocity: [0.0; 4],
            torque: [0.0; 4],
            pwm_duty_cycle: [0.0; 4],
        }
    }
}

impl ros2_client::Message for WheelStates {}