Watch
0
0
Fork
You've already forked esp32-c_its-companion
0

Compare commits

..
Author SHA1 Message Date
a9a623a047 WIP: Show GNSS (speed, etc) 2026-08-15 19:18:32 +02:00
85c1169d6a WIP: Adapt to new screen
TODO: Make better use of the bigger screen
TODO: Show main loop HB different from GNSS updates?
2026-08-15 19:17:47 +02:00
10653429e5 GNSS: Increase update rate to 2 Hz 2026-08-15 19:14:59 +02:00

View file

@ -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?
@ -365,7 +367,9 @@ where
}
}
// TODO: Add current speed and ETA
// if is_big_height {
// // TODO: Add current speed and ETA
// }
Ok(())
}
@ -422,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,
@ -505,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,