#[unsafe(no_mangle)]pub unsafe extern "C" fn phytrace_builder_set_navigation(
builder: *mut PhyTraceBuilderHandle,
loc_quality: i32,
loc_confidence: f64,
is_localized: i32,
path_state: i32,
path_length_m: f64,
path_remaining_m: f64,
goal_x: f64,
goal_y: f64,
goal_orientation_deg: f64,
) -> i32Expand description
Set the navigation domain on the builder.
Enum parameters use -1 for “not set”. Float/bool follow the NAN/-1 conventions.
§Parameters
loc_quality—PHYTRACE_LOCALIZATION_QUALITY_*constant, or -1loc_confidence— Localization confidence (0.0-1.0), or NANis_localized— 1/0/-1path_state—PHYTRACE_PATH_STATE_*constant, or -1path_length_m— Total path length in meters, or NANpath_remaining_m— Remaining path length, or NANgoal_x,goal_y— Goal position in meters, or NANgoal_orientation_deg— Goal orientation, or NAN