ros2_interfaces_iron/rmf_traffic_msgs/msg/trajectory_waypoint.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct TrajectoryWaypoint {
5 pub time: i64,
6 pub position: [f64; 3],
7 pub velocity: [f64; 3],
8}
9
10impl Default for TrajectoryWaypoint {
11 fn default() -> Self {
12 TrajectoryWaypoint {
13 time: 0,
14 position: [0.0; 3],
15 velocity: [0.0; 3],
16 }
17 }
18}
19
20impl ros2_client::Message for TrajectoryWaypoint {}