ros2_interfaces_rolling/vision_msgs/msg/
object_hypothesis.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct ObjectHypothesis {
5    pub class_id: ::std::string::String,
6    pub score: f64,
7}
8
9impl Default for ObjectHypothesis {
10    fn default() -> Self {
11        ObjectHypothesis {
12            class_id: ::std::string::String::new(),
13            score: 0.0,
14        }
15    }
16}
17
18impl ros2_client::Message for ObjectHypothesis {}