added host feature

This commit is contained in:
2024-04-26 19:18:37 +02:00
parent ec69c7d581
commit fab1859d78
5 changed files with 66 additions and 21 deletions

View File

@ -11,8 +11,8 @@ use log::info;
use ops_sat_rs::config::{
cfg_file::create_app_config,
components::{CONTROLLER_ID, TCP_SERVER, TCP_SPP_CLIENT, UDP_SERVER},
create_low_priority_ground_dir,
pool::create_sched_tc_pool,
set_up_ground_dir, set_up_low_prio_ground_dir,
tasks::{FREQ_MS_CAMERA_HANDLING, FREQ_MS_CTRL, FREQ_MS_PUS_STACK, STOP_CHECK_FREQUENCY},
HOME_PATH, STOP_FILE_NAME, VALID_PACKET_ID_LIST, VERSION,
};
@ -58,7 +58,8 @@ fn main() {
let version_str = VERSION.unwrap_or("?");
println!("OPS-SAT Rust Experiment OBSW v{}", version_str);
setup_logger().expect("setting up logging with fern failed");
create_low_priority_ground_dir();
set_up_low_prio_ground_dir();
set_up_ground_dir();
let app_cfg = create_app_config();
info!("App Configuration: {:?}", app_cfg);