Skip to main content

parse_trajectory

Function parse_trajectory 

Source
pub fn parse_trajectory(text: &str) -> Result<Vec<(f64, Vec<f64>)>, String>
Expand description

Reads a path given as poses at times: per line the time in seconds and one position per axis. Lines that do not start with a number (a header, comments) are skipped. The error is the line that cannot be read.