Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use uniform itow naming across packets #64

Merged
merged 1 commit into from
Sep 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ublox/src/ubx_packets/packets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ struct NavSat {
struct NavOdo {
version: u8,
reserved: [u8; 3],
i_tow: u32,
itow: u32,
gwbres marked this conversation as resolved.
Show resolved Hide resolved
distance: u32,
total_distance: u32,
distance_std: u32,
Expand Down Expand Up @@ -1444,7 +1444,7 @@ struct TimSvin {
#[ubx(class = 0x01, id = 0x26, fixed_payload_len = 24)]
struct NavTimeLs {
/// GPS time of week of the navigation epoch in ms.
i_tow: u32,
itow: u32,
///Message version (0x00 for this version)
version: u8,
reserved_1: [u8; 3],
Expand Down Expand Up @@ -3186,7 +3186,7 @@ struct EsfIns {
#[ubx(map_type = EsfInsBitFlags)]
bit_field: u32,
reserved: [u8; 4],
i_tow: u32,
itow: u32,

#[ubx(map_type = f64, scale = 1e-3, alias = x_angular_rate)]
x_ang_rate: i32,
Expand Down Expand Up @@ -3248,7 +3248,7 @@ pub struct HnrIns {
#[ubx(map_type = HnrInsBitFlags)]
bit_field: u32,
reserved: [u8; 4],
i_tow: u32,
itow: u32,

#[ubx(map_type = f64, scale = 1e-3, alias = x_angular_rate)]
x_ang_rate: i32,
Expand Down Expand Up @@ -3288,7 +3288,7 @@ bitflags! {
#[ubx(class = 0x28, id = 0x00, fixed_payload_len = 72)]
#[derive(Debug)]
struct HnrPvt {
i_tow: u32,
itow: u32,
year: u16,
month: u8,
day: u8,
Expand Down
Loading