LocalTrajectory Class Reference

#include <armarx/navigation/core/Trajectory.h>

Public Member Functions

Evaluation evaluate (const DateTime &timestamp) const
 
bool isApproximatelyEqual (const LocalTrajectory &other, std::size_t frontSkip=0, float epsTrans=0.01, float epsRot=0.01) const
 Check whether the trajectory is approximately equal to another trajectory.
 
 LocalTrajectory ()=default
 
 LocalTrajectory (const std::vector< LocalTrajectoryPoint > &points)
 
std::vector< LocalTrajectoryPoint > & mutablePoints ()
 
const std::vector< LocalTrajectoryPoint > & points () const
 

Constructor & Destructor Documentation

◆ LocalTrajectory() [1/2]

LocalTrajectory ( )
default

◆ LocalTrajectory() [2/2]

LocalTrajectory ( const std::vector< LocalTrajectoryPoint > & points)

Member Function Documentation

◆ evaluate()

Evaluation evaluate ( const DateTime & timestamp) const

◆ isApproximatelyEqual()

bool isApproximatelyEqual ( const LocalTrajectory & other,
std::size_t frontSkip = 0,
float epsTrans = 0.01,
float epsRot = 0.01 ) const

Check whether the trajectory is approximately equal to another trajectory.

Parameters
othertrajectory
frontSkipPoints to skip at the front of each trajectory. E.g., if you want to skip the start, set it to 1.
epsTransIf the translation difference is smaller than this value, it is considered equal.
epsRotIf the rotation difference is smaller than this value, it is considered equal.
Returns
true if the trajectories are approximately equal, false otherwise

◆ mutablePoints()

std::vector< LocalTrajectoryPoint > & mutablePoints ( )

◆ points()

const std::vector< LocalTrajectoryPoint > & points ( ) const

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