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

Method planned_path

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

Get the current planned path waypoints (from A* planner). Returns the path waypoints if a path is currently planned, along with the waypoint index being pursued. Used for streaming to the console.

(&self)

Source from the content-addressed store, hash-verified

787 /// Returns the path waypoints if a path is currently planned, along with
788 /// the waypoint index being pursued. Used for streaming to the console.
789 pub fn planned_path(&self) -> Option<&planner::Path> {
790 self.planner.path()
791 }
792
793 /// Get task progress for reporting.
794 pub fn task_progress(&self) -> Option<(Uuid, i32, i32, i32)> {

Callers 1

runFunction · 0.80

Calls 1

pathMethod · 0.80

Tested by

no test coverage detected