Function find_closest_index

Source
fn find_closest_index(trajectory: &[(i64, &[f32])], target: i64) -> usize
Expand description

Find index of the closest point to a target timestamp.