#[cfg(feature = "serde")]
use super::SerializeUbxPacketFields;
#[cfg(feature = "serde")]
use crate::serde::ser::SerializeMap;
use crate::{error::ParserError, UbxPacketMeta};
use ublox_derive::ubx_packet_recv;
#[ubx_packet_recv]
#[ubx(class = 1, id = 4, fixed_payload_len = 18)]
struct NavDop {
itow: u32,
#[ubx(map_type = f32, scale = 1e-2)]
geometric_dop: u16,
#[ubx(map_type = f32, scale = 1e-2)]
position_dop: u16,
#[ubx(map_type = f32, scale = 1e-2)]
time_dop: u16,
#[ubx(map_type = f32, scale = 1e-2)]
vertical_dop: u16,
#[ubx(map_type = f32, scale = 1e-2)]
horizontal_dop: u16,
#[ubx(map_type = f32, scale = 1e-2)]
northing_dop: u16,
#[ubx(map_type = f32, scale = 1e-2)]
easting_dop: u16,
}