ros2_interfaces_rolling/automotive_navigation_msgs/msg/
command_with_handshake.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct CommandWithHandshake {
5    pub header: crate::std_msgs::msg::Header,
6    pub msg_counter: u8,
7    pub command: i16,
8}
9
10impl Default for CommandWithHandshake {
11    fn default() -> Self {
12        CommandWithHandshake {
13            header: crate::std_msgs::msg::Header::default(),
14            msg_counter: 0,
15            command: 0,
16        }
17    }
18}
19
20impl ros2_client::Message for CommandWithHandshake {}