tasks: motion: print out sim progress percentage

This commit is contained in:
2026-01-03 14:48:23 +01:00
parent f4c379a3e8
commit fe0e2bede2

View File

@@ -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 => ()
}
}