ros2_interfaces_iron/ublox_msgs/msg/cfg_msg.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct CfgMSG {
5 pub msg_class: u8,
6 pub msg_id: u8,
7 pub rate: u8,
8}
9
10impl CfgMSG {
11 pub const CLASS_ID: u8 = 6;
12 pub const MESSAGE_ID: u8 = 1;
13}
14
15impl Default for CfgMSG {
16 fn default() -> Self {
17 CfgMSG {
18 msg_class: 0,
19 msg_id: 0,
20 rate: 0,
21 }
22 }
23}
24
25impl ros2_client::Message for CfgMSG {}