Container of Trajectories allowing a single interface for synched trajectories. More...
#include <Trajectory.h>
Public Types | |
typedef Trajectory < std::vector< P > > | baseType |
Public Member Functions | |
void | clear () |
virtual void | getPose (double time, typename baseType::poseType &pose) |
getPose get pose at a particular time | |
boost::shared_ptr< const Trajectory< typename baseType::poseType > > | operator[] (unsigned int i) |
void | pop_back () |
void | push_back (boost::shared_ptr< Trajectory< P > > traj) |
unsigned int | size () |
SynchedTrajectory () | |
virtual | ~SynchedTrajectory () |
Private Types | |
typedef std::vector < boost::shared_ptr < Trajectory< P > > > | trajectories_type |
Private Attributes | |
trajectories_type | trajectories |
Container of Trajectories allowing a single interface for synched trajectories.
Definition at line 55 of file Trajectory.h.
typedef Trajectory<std::vector<P> > SynchedTrajectory< P >::baseType |
Reimplemented in TrajectorySequence< P, SynchedTrajectory >.
Definition at line 58 of file Trajectory.h.
typedef std::vector<boost::shared_ptr<Trajectory<P> > > SynchedTrajectory< P >::trajectories_type [private] |
Reimplemented in TrajectorySequence< P, SynchedTrajectory >.
Definition at line 86 of file Trajectory.h.
SynchedTrajectory< P >::SynchedTrajectory | ( | ) | [inline] |
Definition at line 60 of file Trajectory.h.
virtual SynchedTrajectory< P >::~SynchedTrajectory | ( | ) | [inline, virtual] |
Definition at line 61 of file Trajectory.h.
void SynchedTrajectory< P >::clear | ( | ) | [inline] |
Reimplemented in TrajectorySequence< P, SynchedTrajectory >.
Definition at line 72 of file Trajectory.h.
void SynchedTrajectory< P >::getPose | ( | double | time, |
typename baseType::poseType & | pose | ||
) | [virtual] |
getPose get pose at a particular time
time | time along trajectory (0 - getDuration()) |
stepPose | pose corresponding to the time |
each step in a joint trajectory contains the position, velocity, and acceleration
Implements Trajectory< std::vector< P > >.
Reimplemented in TrajectorySequence< P, SynchedTrajectory >.
Definition at line 174 of file Trajectory.h.
boost::shared_ptr<const Trajectory<typename baseType::poseType> > SynchedTrajectory< P >::operator[] | ( | unsigned int | i | ) | [inline] |
Definition at line 80 of file Trajectory.h.
void SynchedTrajectory< P >::pop_back | ( | ) | [inline] |
Reimplemented in TrajectorySequence< P, SynchedTrajectory >.
Definition at line 65 of file Trajectory.h.
void SynchedTrajectory< P >::push_back | ( | boost::shared_ptr< Trajectory< P > > | traj | ) |
Definition at line 155 of file Trajectory.h.
unsigned int SynchedTrajectory< P >::size | ( | ) | [inline] |
Definition at line 78 of file Trajectory.h.
trajectories_type SynchedTrajectory< P >::trajectories [private] |
Reimplemented in TrajectorySequence< P, SynchedTrajectory >.
Definition at line 87 of file Trajectory.h.