You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// + The measurements must be a list mapping the name of the measurement device to the measurement itself.
453
452
/// + The name of all measurement devices must be present in the provided devices, i.e. the key set of `devices` must be a superset of the measurement device names present in the list.
453
+
/// + The maximum step size to ensure we don't skip any measurements.
454
454
#[allow(clippy::erasing_op)]
455
455
pubfnprocess<Dev>(
456
456
&mutself,
457
457
measurements:&[(String,Msr)],
458
458
devices:&mutHashMap<String,Dev>,
459
-
step_size:Duration,
459
+
max_step:Duration,
460
460
) -> Result<(),NyxError>
461
461
where
462
462
Dev:TrackingDeviceSim<S,Msr>,
@@ -465,16 +465,19 @@ where
465
465
measurements.len() >= 2,
466
466
"must have at least two measurements"
467
467
);
468
+
469
+
assert!(
470
+
max_step.abs() > (0.0*Unit::Nanosecond),
471
+
"step size is zero"
472
+
);
473
+
468
474
// Start by propagating the estimator (on the same thread).
469
475
let num_msrs = measurements.len();
470
476
471
-
// Update the step size of the navigation propagator if it isn't already fixed step
0 commit comments