KDL  1.4.0
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
KDL::Trajectory_Segment Class Reference

Trajectory_Segment combines a VelocityProfile and a Path into a trajectory. More...

#include <src/trajectory_segment.hpp>

Inheritance diagram for KDL::Trajectory_Segment:
Inheritance graph
[legend]
Collaboration diagram for KDL::Trajectory_Segment:
Collaboration graph
[legend]

Public Member Functions

 Trajectory_Segment (Path *_geom, VelocityProfile *_motprof, bool _aggregate=true)
 This constructor assumes that geom and <_motprof> are initialised correctly. More...
 
 Trajectory_Segment (Path *_geom, VelocityProfile *_motprof, double duration, bool _aggregate=true)
 This constructor assumes that geom is initialised and <_motprof> needs to be set according to duration. More...
 
virtual double Duration () const
 
virtual Frame Pos (double time) const
 
virtual Twist Vel (double time) const
 
virtual Twist Acc (double time) const
 
virtual TrajectoryClone () const
 
virtual void Write (std::ostream &os) const
 
virtual PathGetPath ()
 
virtual VelocityProfileGetProfile ()
 
virtual ~Trajectory_Segment ()
 

Static Public Member Functions

static TrajectoryRead (std::istream &is)
 

Private Attributes

VelocityProfilemotprof
 
Pathgeom
 
bool aggregate
 

Detailed Description

Trajectory_Segment combines a VelocityProfile and a Path into a trajectory.

Constructor & Destructor Documentation

◆ Trajectory_Segment() [1/2]

KDL::Trajectory_Segment::Trajectory_Segment ( Path _geom,
VelocityProfile _motprof,
bool  _aggregate = true 
)

This constructor assumes that geom and <_motprof> are initialised correctly.

◆ Trajectory_Segment() [2/2]

KDL::Trajectory_Segment::Trajectory_Segment ( Path _geom,
VelocityProfile _motprof,
double  duration,
bool  _aggregate = true 
)

This constructor assumes that geom is initialised and <_motprof> needs to be set according to duration.

References aggregate, geom, and motprof.

◆ ~Trajectory_Segment()

KDL::Trajectory_Segment::~Trajectory_Segment ( )
virtual

Member Function Documentation

◆ Acc()

Twist KDL::Trajectory_Segment::Acc ( double  time) const
virtual

Implements KDL::Trajectory.

◆ Clone()

virtual Trajectory* KDL::Trajectory_Segment::Clone ( ) const
inlinevirtual

Implements KDL::Trajectory.

◆ Duration()

double KDL::Trajectory_Segment::Duration ( ) const
virtual

Implements KDL::Trajectory.

◆ GetPath()

Path * KDL::Trajectory_Segment::GetPath ( )
virtual

◆ GetProfile()

VelocityProfile * KDL::Trajectory_Segment::GetProfile ( )
virtual

◆ Pos()

Frame KDL::Trajectory_Segment::Pos ( double  time) const
virtual

Implements KDL::Trajectory.

◆ Read()

Trajectory * KDL::Trajectory::Read ( std::istream &  is)
staticinherited

◆ Vel()

Twist KDL::Trajectory_Segment::Vel ( double  time) const
virtual

Implements KDL::Trajectory.

◆ Write()

void KDL::Trajectory_Segment::Write ( std::ostream &  os) const
virtual

Implements KDL::Trajectory.

Member Data Documentation

◆ aggregate

bool KDL::Trajectory_Segment::aggregate
private

Referenced by Trajectory_Segment().

◆ geom

Path* KDL::Trajectory_Segment::geom
private

Referenced by Trajectory_Segment().

◆ motprof

VelocityProfile* KDL::Trajectory_Segment::motprof
private

Referenced by Trajectory_Segment().


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