ros2_interfaces_rolling/tuw_object_map_msgs/msg/geo_point.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
4pub struct GeoPoint {
5 pub latitude: f64,
6 pub longitude: f64,
7 pub altitude: f64,
8}
9
10impl Default for GeoPoint {
11 fn default() -> Self {
12 GeoPoint {
13 latitude: 0.0,
14 longitude: 0.0,
15 altitude: 0.0,
16 }
17 }
18}
19
20impl ros2_client::Message for GeoPoint {}