ros2_interfaces_rolling/rcss3d_agent_msgs/msg/
gyro_rate.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct GyroRate {
    pub name: ::std::string::String,
    pub x: f32,
    pub y: f32,
    pub z: f32,
}

impl Default for GyroRate {
    fn default() -> Self {
        GyroRate {
            name: ::std::string::String::new(),
            x: 0.0,
            y: 0.0,
            z: 0.0,
        }
    }
}

impl ros2_client::Message for GyroRate {}