2026-10-03 10:03:22 +02:00
|
|
|
use crate::LngLat;
|
2026-09-18 09:03:51 +02:00
|
|
|
|
|
|
|
|
#[derive(Debug, Default)]
|
2026-09-23 19:53:39 +02:00
|
|
|
pub struct Trackpoint {
|
2026-09-18 09:03:51 +02:00
|
|
|
pub coordinates: LngLat,
|
|
|
|
|
pub ele: f64,
|
|
|
|
|
pub time: Option<i64>,
|
2026-09-20 13:58:27 +02:00
|
|
|
pub atemp: Option<i16>,
|
2026-09-18 09:03:51 +02:00
|
|
|
pub hr: Option<u16>,
|
|
|
|
|
pub cad: Option<u16>,
|
|
|
|
|
pub power: Option<u16>,
|
|
|
|
|
// TODO OSM data? or store intervals at a higher level?
|
|
|
|
|
}
|