add TODO for PUS scheduler
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2024-05-22 19:17:25 +02:00
parent 83c4533bdb
commit 67aa3d1a21
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -396,6 +396,9 @@ pub mod alloc_mod {
#[derive(Debug)] #[derive(Debug)]
pub struct PusScheduler { pub struct PusScheduler {
// TODO: Use MonotonicTime from tai-time crate instead of UnixTime and cache leap seconds. // TODO: Use MonotonicTime from tai-time crate instead of UnixTime and cache leap seconds.
// TODO: Introduce optional limit of commands stored in the TC map. If a limit is set,
// there will be a check for each insertion whether the map is full, making the memory
// usage of the scheduler more deterministic.
tc_map: BTreeMap<UnixTime, Vec<TcInfo>>, tc_map: BTreeMap<UnixTime, Vec<TcInfo>>,
pub(crate) current_time: UnixTime, pub(crate) current_time: UnixTime,
time_margin: Duration, time_margin: Duration,