Skip to main content

evaluate_relations

Function evaluate_relations 

Source
pub fn evaluate_relations(
    trajectory: &[(f64, Pose2D)],
    relations: &[Relation],
    time_tolerance: f64,
) -> RelationErrors
Expand description

Scores trajectory (timestamped poses, any order) against relations.

A relation is used when both of its timestamps have a pose within time_tolerance seconds.