diff --git a/src/tasks/demo.rs b/src/tasks/demo.rs index dfae930..2dbf23b 100644 --- a/src/tasks/demo.rs +++ b/src/tasks/demo.rs @@ -17,7 +17,7 @@ pub async fn demo_task(ui: DynPublisher<'static, Prediction>) { for state in [SensorState::Offline, SensorState::AcquiringFix, SensorState::Degraded, SensorState::Offline] { for motion in [MotionState::Accelerating, MotionState::Steady, MotionState::Decelerating, MotionState::Stationary] { ui.publish(Prediction::Motion { prev: motion, next: motion }).await; - for sensor in [SensorSource::ForwardsReference, SensorSource::GPS, SensorSource::GravityReference, SensorSource::IMU, SensorSource::Location] { + for sensor in [SensorSource::MotionFrame, SensorSource::GPS, SensorSource::IMU, SensorSource::Location] { ui.publish(Prediction::SensorStatus(sensor, state)).await; } Timer::after_secs(1).await;