ros2_interfaces_humble/rcl_interfaces/msg/
floating_point_range.rs

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