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
 

Detailed Description

Definition at line 226 of file Trajectory.h.

Constructor & Destructor Documentation

◆ LocalTrajectory() [1/2]

LocalTrajectory ( )
default
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LocalTrajectory() [2/2]

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

Definition at line 1222 of file Trajectory.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ evaluate()

Evaluation evaluate ( const DateTime & timestamp) const

Definition at line 1114 of file Trajectory.cpp.

+ Here is the call graph for this function:

◆ 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

Definition at line 1180 of file Trajectory.cpp.

+ Here is the call graph for this function:

◆ mutablePoints()

std::vector< LocalTrajectoryPoint > & mutablePoints ( )

Definition at line 1108 of file Trajectory.cpp.

◆ points()

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

Definition at line 1102 of file Trajectory.cpp.

+ Here is the caller graph for this function:

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