ros2_interfaces_iron/flexbe_msgs/msg/
behavior_log.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct BehaviorLog {
5    pub text: ::std::string::String,
6    pub status_code: u8,
7}
8
9impl BehaviorLog {
10    pub const INFO: u8 = 0;
11    pub const WARN: u8 = 1;
12    pub const HINT: u8 = 2;
13    pub const ERROR: u8 = 3;
14    pub const DEBUG: u8 = 10;
15}
16
17impl Default for BehaviorLog {
18    fn default() -> Self {
19        BehaviorLog {
20            text: ::std::string::String::new(),
21            status_code: 0,
22        }
23    }
24}
25
26impl ros2_client::Message for BehaviorLog {}