ros2_interfaces_humble/psdk_interfaces/msg/
position_fused.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct PositionFused {
5    pub header: crate::std_msgs::msg::Header,
6    pub position: crate::geometry_msgs::msg::Point,
7    pub x_health: u8,
8    pub y_health: u8,
9    pub z_health: u8,
10}
11
12impl Default for PositionFused {
13    fn default() -> Self {
14        PositionFused {
15            header: crate::std_msgs::msg::Header::default(),
16            position: crate::geometry_msgs::msg::Point::default(),
17            x_health: 0,
18            y_health: 0,
19            z_health: 0,
20        }
21    }
22}
23
24impl ros2_client::Message for PositionFused {}