MCPcopy Create free account
hub / github.com/ecto/muni / task_progress

Method task_progress

bvr/firmware/crates/control-loop/src/navigation_controller.rs:794–803  ·  view source on GitHub ↗

Get task progress for reporting.

(&self)

Source from the content-addressed store, hash-verified

792
793 /// Get task progress for reporting.
794 pub fn task_progress(&self) -> Option<(Uuid, i32, i32, i32)> {
795 self.current_task.as_ref().map(|task| {
796 (
797 task.task_id,
798 task.progress_percent(),
799 task.current_waypoint as i32,
800 task.lap,
801 )
802 })
803 }
804}
805
806#[cfg(test)]

Callers 1

runFunction · 0.80

Calls 1

progress_percentMethod · 0.45

Tested by

no test coverage detected