tasks: motion: print out sim progress percentage
This commit is contained in:
@@ -28,7 +28,7 @@ pub async fn motion_task(src: DynamicReceiver<'static, Measurement>, prediction_
|
||||
warn!("Sensor {source:?} reports {state:?}!");
|
||||
prediction_sink.publish(Prediction::SensorStatus(source, state)).await;
|
||||
},
|
||||
Measurement::SimulationProgress(source, duration, _pct) => debug!("{source:?} simulation time: {}", duration.as_secs()),
|
||||
Measurement::SimulationProgress(source, duration, pct) => debug!("{source:?} simulation time: {} {} / 255", duration.as_secs(), pct),
|
||||
Measurement::Annotation => ()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user