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

#include <trajectory_segment.hpp>

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

Public Member Functions

virtual Twist Acc (double time) const
 
virtual Trajectory * Clone () const
 
virtual double Duration () const
 
virtual Path * GetPath ()
 
virtual VelocityProfile * GetProfile ()
 
virtual Frame Pos (double time) const
 
 Trajectory_Segment (Path *_geom, VelocityProfile *_motprof, bool _aggregate=true)
 
 Trajectory_Segment (Path *_geom, VelocityProfile *_motprof, double duration, bool _aggregate=true)
 
virtual Twist Vel (double time) const
 
virtual void Write (std::ostream &os) const
 
virtual ~Trajectory_Segment ()
 
- Public Member Functions inherited from KDL::Trajectory
virtual ~Trajectory ()
 

Private Attributes

bool aggregate
 
Path * geom
 
VelocityProfile * motprof
 

Additional Inherited Members

- Static Public Member Functions inherited from KDL::Trajectory
static Trajectory * Read (std::istream &is)
 

Detailed Description

Trajectory_Segment combines a VelocityProfile and a Path into a trajectory

Definition at line 100 of file trajectory_segment.hpp.

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.

Definition at line 87 of file trajectory_segment.cpp.

◆ 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.

Definition at line 93 of file trajectory_segment.cpp.

◆ ~Trajectory_Segment()

KDL::Trajectory_Segment::~Trajectory_Segment ( )
virtual

Definition at line 130 of file trajectory_segment.cpp.

Member Function Documentation

◆ Acc()

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

Implements KDL::Trajectory.

Definition at line 116 of file trajectory_segment.cpp.

◆ Clone()

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

Implements KDL::Trajectory.

Definition at line 166 of file trajectory_segment.hpp.

◆ Duration()

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

Implements KDL::Trajectory.

Definition at line 101 of file trajectory_segment.cpp.

◆ GetPath()

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

Definition at line 138 of file trajectory_segment.cpp.

◆ GetProfile()

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

Definition at line 142 of file trajectory_segment.cpp.

◆ Pos()

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

Implements KDL::Trajectory.

Definition at line 106 of file trajectory_segment.cpp.

◆ Vel()

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

Implements KDL::Trajectory.

Definition at line 111 of file trajectory_segment.cpp.

◆ Write()

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

Implements KDL::Trajectory.

Definition at line 122 of file trajectory_segment.cpp.

Member Data Documentation

◆ aggregate

bool KDL::Trajectory_Segment::aggregate
private

Definition at line 142 of file trajectory_segment.hpp.

◆ geom

Path* KDL::Trajectory_Segment::geom
private

Definition at line 141 of file trajectory_segment.hpp.

◆ motprof

VelocityProfile* KDL::Trajectory_Segment::motprof
private

Definition at line 140 of file trajectory_segment.hpp.


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