WIP: Show GNSS (speed, etc)
This commit is contained in:
parent
85c1169d6a
commit
a9a623a047
1 changed files with 6 additions and 4 deletions
|
|
@ -169,8 +169,10 @@ where
|
||||||
};
|
};
|
||||||
|
|
||||||
esp_println::println!(
|
esp_println::println!(
|
||||||
"TODO: GNSS {fix_str} {num_sat:2} sat {}",
|
"TODO: GNSS {fix_str} {num_sat:2} sat {}; {:.2} m/s, {:.0} deg",
|
||||||
self.gnss_hb_state
|
self.gnss_hb_state,
|
||||||
|
pvt.ground_speed_2d(),
|
||||||
|
pvt.heading_motion()
|
||||||
);
|
);
|
||||||
|
|
||||||
// TODO: print on screen?
|
// TODO: print on screen?
|
||||||
|
|
@ -424,7 +426,7 @@ fn maneuver_to_str(value: applogic::v2x::map::Maneuvers) -> alloc::string::Strin
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
/// Human-readable fatal errors
|
/// Human-readable fatal errors
|
||||||
#[allow(clippy::too_many_arguments, clippy::type_complexity)]
|
#[allow(unused, clippy::too_many_arguments, clippy::type_complexity)]
|
||||||
pub fn make_small_display<IoScl, IoSda, IoRes, IoDc, IoCs, IoBl, Spi>(
|
pub fn make_small_display<IoScl, IoSda, IoRes, IoDc, IoCs, IoBl, Spi>(
|
||||||
scl: IoScl,
|
scl: IoScl,
|
||||||
sda: IoSda,
|
sda: IoSda,
|
||||||
|
|
@ -507,7 +509,7 @@ where
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
/// Human-readable fatal errors
|
/// Human-readable fatal errors
|
||||||
#[allow(clippy::too_many_arguments, clippy::type_complexity)]
|
#[allow(unused, clippy::too_many_arguments, clippy::type_complexity)]
|
||||||
pub fn make_large_display<IoScl, IoSda, IoRes, IoDc, IoCs, IoBl, Spi>(
|
pub fn make_large_display<IoScl, IoSda, IoRes, IoDc, IoCs, IoBl, Spi>(
|
||||||
scl: IoScl,
|
scl: IoScl,
|
||||||
sda: IoSda,
|
sda: IoSda,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue