Public Types | Public Member Functions | Public Attributes | Private Attributes
walk::DiscretizedTrajectory< T > Class Template Reference

A trajectory is a function which takes a time as its input and return a value. More...

#include <discretized-trajectory.hh>

List of all members.

Public Types

typedef T element_t
 Trajectory element.

Public Member Functions

TimeDuration computeLength () const
 Compute the trajectory length.
data_t & data ()
 Trajectory data getter.
const data_t & data () const
 Trajectory data getter (const).
DiscretizedTrajectory< T > & operator= (const DiscretizedTrajectory< T > &)
 Assignment operator.
typedef WALK_INTERFACES_EIGEN_STL_VECTOR (T) data_t
 Vector of trajectory elements.
Constructors and destructor.
 DiscretizedTrajectory ()
 Default constructor.
 DiscretizedTrajectory (const DiscretizedTrajectory< T > &)
 Copy constructor.
 ~DiscretizedTrajectory ()
 Destructor.

Public Attributes

 EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Private Attributes

data_t data_
 Internal data.

Detailed Description

template<typename T>
class walk::DiscretizedTrajectory< T >

A trajectory is a function which takes a time as its input and return a value.

This class is used to store reference trajectories. It is templated by the trajectory output type. E.g. $SO(3)$, $SO(2)$, $R^n$...

It relies on discretized data to store the values at different point of time. No data interpolation is realized in this class.

Template Parameters:
TTrajectory output type.

Definition at line 23 of file discretized-trajectory.hh.


Member Typedef Documentation

template<typename T >
typedef T walk::DiscretizedTrajectory< T >::element_t

Trajectory element.

Definition at line 27 of file discretized-trajectory.hh.


Constructor & Destructor Documentation

template<typename T >
walk::DiscretizedTrajectory< T >::DiscretizedTrajectory ( ) [explicit]

Default constructor.

template<typename T >
walk::DiscretizedTrajectory< T >::DiscretizedTrajectory ( const DiscretizedTrajectory< T > &  ) [explicit]

Copy constructor.

template<typename T >
walk::DiscretizedTrajectory< T >::~DiscretizedTrajectory ( )

Destructor.


Member Function Documentation

template<typename T >
TimeDuration walk::DiscretizedTrajectory< T >::computeLength ( ) const

Compute the trajectory length.

Algorithm complexity: linear in the number of trajectory elements.

template<typename T >
data_t& walk::DiscretizedTrajectory< T >::data ( )

Trajectory data getter.

template<typename T >
const data_t& walk::DiscretizedTrajectory< T >::data ( ) const

Trajectory data getter (const).

template<typename T >
DiscretizedTrajectory<T>& walk::DiscretizedTrajectory< T >::operator= ( const DiscretizedTrajectory< T > &  )

Assignment operator.

template<typename T >
typedef walk::DiscretizedTrajectory< T >::WALK_INTERFACES_EIGEN_STL_VECTOR ( )

Vector of trajectory elements.


Member Data Documentation

template<typename T >
data_t walk::DiscretizedTrajectory< T >::data_ [private]

Internal data.

Definition at line 60 of file discretized-trajectory.hh.

Definition at line 62 of file discretized-trajectory.hh.


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


walk_interfaces
Author(s): Thomas Moulard/thomas.moulard@gmail.com, Antonio El Khoury
autogenerated on Sat Dec 28 2013 17:05:21