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 LeadVehicle {
    pub header: crate::std_msgs::msg::Header,
    pub headway_distance: f32,
    pub speed: f32,
    pub heading: f32,
    pub x_pos: f32,
    pub y_pos: f32,
    pub classification: i8,
    #[serde(rename = "type")]    pub type_: i8,
}

impl Default for LeadVehicle {
    fn default() -> Self {
        LeadVehicle {
            header: crate::std_msgs::msg::Header::default(),
            headway_distance: 0.0,
            speed: 0.0,
            heading: 0.0,
            x_pos: 0.0,
            y_pos: 0.0,
            classification: 0,
            type_: 0,
        }
    }
}

impl ros2_client::Message for LeadVehicle {}