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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Velocity2D {
    pub velocity_x: i16,
    pub velocity_y: i16,
}

impl Default for Velocity2D {
    fn default() -> Self {
        Velocity2D {
            velocity_x: 0,
            velocity_y: 0,
        }
    }
}

impl ros2_client::Message for Velocity2D {}