ros2_interfaces_rolling/nao_sensor_msgs/msg/gyroscope.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Gyroscope {
5 pub x: f32,
6 pub y: f32,
7 pub z: f32,
8}
9
10impl Default for Gyroscope {
11 fn default() -> Self {
12 Gyroscope {
13 x: 0.0,
14 y: 0.0,
15 z: 0.0,
16 }
17 }
18}
19
20impl ros2_client::Message for Gyroscope {}