Skip to content

Commit

Permalink
Merge pull request #385 from nyx-space/feat/gh-380-tdm-kvn-support-fo…
Browse files Browse the repository at this point in the history
…llow-on

Add path and mode to TDM
  • Loading branch information
ChristopherRabotin authored Dec 15, 2024
2 parents 12ad184 + 471ed16 commit cc00ae3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/od/msr/trackingdata/io_ccsds_tdm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ impl TrackingDataArc {
)
.map_err(err_hdlr)?;

writeln!(writer, "\tPATH = 1,2,1").map_err(err_hdlr)?;
writeln!(
writer,
"\tPARTICIPANT_1 = {}",
Expand All @@ -221,6 +222,8 @@ impl TrackingDataArc {

writeln!(writer, "\tPARTICIPANT_2 = {spacecraft_name}").map_err(err_hdlr)?;

writeln!(writer, "\tMODE = SEQUENTIAL").map_err(err_hdlr)?;

// Add additional metadata, could include timetag ref for example.
for (k, v) in &metadata {
if k != "originator" {
Expand Down
2 changes: 1 addition & 1 deletion tests/orbit_determination/simulator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn almanac() -> Arc<Almanac> {
}

#[rstest]
fn continuous_tracking(almanac: Arc<Almanac>) {
fn continuous_tracking_cov_test(almanac: Arc<Almanac>) {
// Test that continuous tracking
let _ = pretty_env_logger::try_init();

Expand Down
2 changes: 1 addition & 1 deletion tests/orbit_determination/trackingarc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ fn trkconfig_delayed_start_cov_test(

/// Test different cadences and availabilities
#[rstest]
fn trkconfig_cadence_cov_test(
fn trkconfig_cadence(
traj: Traj<Spacecraft>,
devices: BTreeMap<String, GroundStation>,
almanac: Arc<Almanac>,
Expand Down

0 comments on commit cc00ae3

Please sign in to comment.