ros2_interfaces_humble/plotjuggler_msgs/msg/
data_point.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct DataPoint {
5    pub name_index: u16,
6    pub stamp: f64,
7    pub value: f64,
8}
9
10impl Default for DataPoint {
11    fn default() -> Self {
12        DataPoint {
13            name_index: 0,
14            stamp: 0.0,
15            value: 0.0,
16        }
17    }
18}
19
20impl ros2_client::Message for DataPoint {}