ros2_interfaces_rolling/rmf_fleet_msgs/msg/
location.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Location {
5 pub t: crate::builtin_interfaces::msg::Time,
6 pub x: f32,
7 pub y: f32,
8 pub yaw: f32,
9 pub obey_approach_speed_limit: bool, pub approach_speed_limit: f32,
11 pub level_name: ::std::string::String,
12 pub index: u64,
13}
14
15impl Default for Location {
16 fn default() -> Self {
17 Location {
18 t: crate::builtin_interfaces::msg::Time::default(),
19 x: 0.0,
20 y: 0.0,
21 yaw: 0.0,
22 obey_approach_speed_limit: false,
23 approach_speed_limit: 0.0,
24 level_name: ::std::string::String::new(),
25 index: 0,
26 }
27 }
28}
29
30impl ros2_client::Message for Location {}