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!(
|
||||
"TODO: GNSS {fix_str} {num_sat:2} sat {}",
|
||||
self.gnss_hb_state
|
||||
"TODO: GNSS {fix_str} {num_sat:2} sat {}; {:.2} m/s, {:.0} deg",
|
||||
self.gnss_hb_state,
|
||||
pvt.ground_speed_2d(),
|
||||
pvt.heading_motion()
|
||||
);
|
||||
|
||||
// TODO: print on screen?
|
||||
|
|
@ -424,7 +426,7 @@ fn maneuver_to_str(value: applogic::v2x::map::Maneuvers) -> alloc::string::Strin
|
|||
///
|
||||
/// # 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>(
|
||||
scl: IoScl,
|
||||
sda: IoSda,
|
||||
|
|
@ -507,7 +509,7 @@ where
|
|||
///
|
||||
/// # 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>(
|
||||
scl: IoScl,
|
||||
sda: IoSda,
|
||||
|
|
|
|||
Loading…
Reference in a new issue