ros2_interfaces_rolling/graph_msgs/msg/edges.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct Edges {
5 pub node_ids: Vec<u32>,
6 pub weights: Vec<f64>,
7}
8
9impl Default for Edges {
10 fn default() -> Self {
11 Edges {
12 node_ids: Vec::new(),
13 weights: Vec::new(),
14 }
15 }
16}
17
18impl ros2_client::Message for Edges {}