ros2_interfaces_rolling/autoware_perception_msgs/msg/
predicted_path.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct PredictedPath {
    pub path: Vec<crate::geometry_msgs::msg::Pose>,
    pub time_step: crate::builtin_interfaces::msg::Duration,
    pub confidence: f32,
}

impl Default for PredictedPath {
    fn default() -> Self {
        PredictedPath {
            path: Vec::new(),
            time_step: crate::builtin_interfaces::msg::Duration::default(),
            confidence: 0.0,
        }
    }
}

impl ros2_client::Message for PredictedPath {}