Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
tesseract_visualization::TrajectoryInterpolator Class Reference

#include <trajectory_interpolator.h>

Collaboration diagram for tesseract_visualization::TrajectoryInterpolator:
Collaboration graph
[legend]

Public Types

using UPtr = std::unique_ptr< TrajectoryInterpolator >
 

Public Member Functions

 TrajectoryInterpolator (tesseract_common::JointTrajectory trajectory)
 
virtual ~TrajectoryInterpolator ()=default
 
 TrajectoryInterpolator (const TrajectoryInterpolator &)=delete
 
TrajectoryInterpolatoroperator= (const TrajectoryInterpolator &)=delete
 
 TrajectoryInterpolator (TrajectoryInterpolator &&)=delete
 
TrajectoryInterpolatoroperator= (TrajectoryInterpolator &&)=delete
 
tesseract_common::JointState getState (double request_duration) const
 
double getStateDuration (long index) const
 
long getStateCount () const
 
bool empty () const
 

Private Member Functions

void findStateIndices (const double &duration, long &before, long &after, double &blend) const
 

Static Private Member Functions

static tesseract_common::JointState interpolate (const tesseract_common::JointState &start, const tesseract_common::JointState &end, double t)
 

Private Attributes

tesseract_common::JointTrajectory trajectory_
 
std::vector< double > duration_from_previous_
 

Member Typedef Documentation

◆ UPtr

Constructor & Destructor Documentation

◆ TrajectoryInterpolator() [1/3]

tesseract_visualization::TrajectoryInterpolator::TrajectoryInterpolator ( tesseract_common::JointTrajectory  trajectory)

◆ ~TrajectoryInterpolator()

virtual tesseract_visualization::TrajectoryInterpolator::~TrajectoryInterpolator ( )
virtualdefault

◆ TrajectoryInterpolator() [2/3]

tesseract_visualization::TrajectoryInterpolator::TrajectoryInterpolator ( const TrajectoryInterpolator )
delete

◆ TrajectoryInterpolator() [3/3]

tesseract_visualization::TrajectoryInterpolator::TrajectoryInterpolator ( TrajectoryInterpolator &&  )
delete

Member Function Documentation

◆ empty()

bool tesseract_visualization::TrajectoryInterpolator::empty ( ) const

◆ findStateIndices()

void tesseract_visualization::TrajectoryInterpolator::findStateIndices ( const double &  duration,
long &  before,
long &  after,
double &  blend 
) const
private

◆ getState()

tesseract_common::JointState tesseract_visualization::TrajectoryInterpolator::getState ( double  request_duration) const

◆ getStateCount()

long tesseract_visualization::TrajectoryInterpolator::getStateCount ( ) const

◆ getStateDuration()

double tesseract_visualization::TrajectoryInterpolator::getStateDuration ( long  index) const

◆ interpolate()

tesseract_common::JointState tesseract_visualization::TrajectoryInterpolator::interpolate ( const tesseract_common::JointState start,
const tesseract_common::JointState end,
double  t 
)
staticprivate

◆ operator=() [1/2]

TrajectoryInterpolator & tesseract_visualization::TrajectoryInterpolator::operator= ( const TrajectoryInterpolator )
delete

◆ operator=() [2/2]

TrajectoryInterpolator & tesseract_visualization::TrajectoryInterpolator::operator= ( TrajectoryInterpolator &&  )
delete

Member Data Documentation

◆ duration_from_previous_

std::vector<double> tesseract_visualization::TrajectoryInterpolator::duration_from_previous_
private

◆ trajectory_

tesseract_common::JointTrajectory tesseract_visualization::TrajectoryInterpolator::trajectory_
private

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