add action service and controller obj

This commit is contained in:
2024-04-10 14:59:34 +02:00
parent 31b68dd041
commit 59a06b5c50
10 changed files with 950 additions and 137 deletions

View File

@ -101,7 +101,7 @@ impl<
cfg: ServerConfig,
tm_source: SyncTcpTmSource,
tc_receiver: CcsdsDistributor<CcsdsReceiver<TcSource, MpscErrorType>, MpscErrorType>,
packet_id_lookup: HashSet<PacketId>,
packet_id_lookup: Vec<PacketId>,
) -> Result<Self, std::io::Error> {
Ok(Self {
server: TcpSpacepacketsServer::new(cfg, tm_source, tc_receiver, packet_id_lookup)?,

View File

@ -82,6 +82,7 @@ mod tests {
sync::{Arc, Mutex},
};
use ops_sat_rs::config::{components, OBSW_SERVER_ADDR};
use satrs::{
spacepackets::{
ecss::{tc::PusTcCreator, WritablePusPacket},
@ -89,7 +90,6 @@ mod tests {
},
tmtc::ReceivesTcCore,
};
use ops_sat_rs::config::{components, OBSW_SERVER_ADDR};
use super::*;