added some really useful diagrams
Some checks are pending
Rust/sat-rs/pipeline/head Build started...

This commit is contained in:
2024-02-08 13:46:56 +01:00
parent 4a94fd8ffe
commit 8f64f4bc02
9 changed files with 3103 additions and 241 deletions

View File

@ -10,14 +10,6 @@ use satrs_core::spacepackets::ecss::tc::PusTcReader;
use satrs_core::spacepackets::ecss::PusPacket;
use satrs_core::tmtc::ReceivesCcsdsTc;
/*
pub struct TmArgs {
pub tm_store: SharedTmStore,
pub tm_sink_sender: Sender<StoreAddr>,
pub tm_udp_server_rx: Receiver<StoreAddr>,
}
*/
#[derive(Debug, Clone, PartialEq, Eq, Error)]
pub enum MpscStoreAndSendError {
#[error("Store error: {0}")]
@ -99,6 +91,7 @@ impl ReceivesCcsdsTc for PusTcSourceProviderDynamic {
}
}
// TC source components where static pools are the backing memory of the received telecommands.
pub struct TcSourceTaskStatic {
shared_tc_pool: SharedTcPool,
tc_receiver: Receiver<StoreAddr>,
@ -164,6 +157,7 @@ impl TcSourceTaskStatic {
}
}
// TC source components where the heap is the backing memory of the received telecommands.
pub struct TcSourceTaskDynamic {
pub tc_receiver: Receiver<Vec<u8>>,
pus_receiver: PusReceiver,