ros2_interfaces_humble/point_cloud_interfaces/msg/
compressed_point_cloud2.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct CompressedPointCloud2 {
5    pub header: crate::std_msgs::msg::Header,
6    pub height: u32,
7    pub width: u32,
8    pub fields: Vec<crate::sensor_msgs::msg::PointField>,
9    pub is_bigendian: bool,
10    pub point_step: u32,
11    pub row_step: u32,
12    pub compressed_data: Vec<u8>,
13    pub is_dense: bool,
14    pub format: ::std::string::String,
15}
16
17impl Default for CompressedPointCloud2 {
18    fn default() -> Self {
19        CompressedPointCloud2 {
20            header: crate::std_msgs::msg::Header::default(),
21            height: 0,
22            width: 0,
23            fields: Vec::new(),
24            is_bigendian: false,
25            point_step: 0,
26            row_step: 0,
27            compressed_data: Vec::new(),
28            is_dense: false,
29            format: ::std::string::String::new(),
30        }
31    }
32}
33
34impl ros2_client::Message for CompressedPointCloud2 {}