ros2_interfaces_rolling/object_recognition_msgs/msg/
object_information.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ObjectInformation {
    pub name: ::std::string::String,
    pub ground_truth_mesh: crate::shape_msgs::msg::Mesh,
    pub ground_truth_point_cloud: crate::sensor_msgs::msg::PointCloud2,
}

impl Default for ObjectInformation {
    fn default() -> Self {
        ObjectInformation {
            name: ::std::string::String::new(),
            ground_truth_mesh: crate::shape_msgs::msg::Mesh::default(),
            ground_truth_point_cloud: crate::sensor_msgs::msg::PointCloud2::default(),
        }
    }
}

impl ros2_client::Message for ObjectInformation {}