ompl::tools::DynamicTimeWarp Class Reference

Public Member Functions

 DynamicTimeWarp (base::SpaceInformationPtr si)
 
double calcDTWDistance (const og::PathGeometric &path1, const og::PathGeometric &path2) const
 Use Dynamic Timewarping to score two paths. More...
 
double getPathsScore (const og::PathGeometric &path1, const og::PathGeometric &path2) const
 Use dynamic time warping to compare the similarity of two paths Note: this will interpolate both of the paths and it returns the change by reference Note: before calling this function you might want to reverse one of the paths so that their start and goals are property aligned (and match better) More...
 

Detailed Description

Definition at line 124 of file DynamicTimeWarp.h.

Member Function Documentation

◆ calcDTWDistance()

double ompl::tools::DynamicTimeWarp::calcDTWDistance ( const og::PathGeometric path1,
const og::PathGeometric path2 
) const

Use Dynamic Timewarping to score two paths.

Parameters
path1
path2
Returns
score

Definition at line 58 of file DynamicTimeWarp.cpp.

◆ getPathsScore()

double ompl::tools::DynamicTimeWarp::getPathsScore ( const og::PathGeometric path1,
const og::PathGeometric path2 
) const

Use dynamic time warping to compare the similarity of two paths Note: this will interpolate both of the paths and it returns the change by reference Note: before calling this function you might want to reverse one of the paths so that their start and goals are property aligned (and match better)

Parameters
path1
path2
Returns
score

Definition at line 88 of file DynamicTimeWarp.cpp.


The documentation for this class was generated from the following files: