Function rubullet::logging_utils::read_generic_robot_log [−][src]
pub fn read_generic_robot_log<P: AsRef<Path>>(
filename: P
) -> Result<Vec<GenericRobotLog>, Error>
Expand description
reads log files which were generated with GenericRobot
LoggingType
.
it returns a list of all entries in the log or an error if the file could not be openend.
Arguments
filename
- location of the log file.
Example
let logs = read_generic_robot_log("LOG0001.txt").unwrap();