ros2_interfaces_iron/gazebo_video_monitor_interfaces/msg/
pose.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Pose {
5    pub x: f64,
6    pub y: f64,
7    pub z: f64,
8    pub roll: f64,
9    pub pitch: f64,
10    pub yaw: f64,
11}
12
13impl Default for Pose {
14    fn default() -> Self {
15        Pose {
16            x: 0.0,
17            y: 0.0,
18            z: 0.0,
19            roll: 0.0,
20            pitch: 0.0,
21            yaw: 0.0,
22        }
23    }
24}
25
26impl ros2_client::Message for Pose {}