Public Member Functions | Protected Attributes
moveCommand Class Reference

#include <moveCommand.h>

Inheritance diagram for moveCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual double getPos (double TimeElapsed)=0
 returns the planned position for TimeElapsed (seconds)
virtual double getTotalTime ()=0
 returns the planned total time for the movement (in seconds)
virtual double getVel (double TimeElapsed)=0
 returns the planned velocity for TimeElapsed (seconds)
virtual bool isActive ()
 returns true if the the end of the movement is not reached yet
 moveCommand ()
virtual double pos ()
 returns the planned position at time of function call (desired position)
virtual void start ()
 sets the starttime for the movement to the current time
virtual double timeRemaining ()
 returns remaining time
virtual double vel ()
 returns the planned velocity at time of function call (desired velocitys)
virtual ~moveCommand ()

Protected Attributes

TimeStamp m_now
TimeStamp m_timeStarted

Detailed Description

Definition at line 24 of file moveCommand.h.


Constructor & Destructor Documentation

Definition at line 27 of file moveCommand.h.

virtual moveCommand::~moveCommand ( ) [inline, virtual]

Definition at line 28 of file moveCommand.h.


Member Function Documentation

virtual double moveCommand::getPos ( double  TimeElapsed) [pure virtual]

returns the planned position for TimeElapsed (seconds)

Implemented in RampCommand.

virtual double moveCommand::getTotalTime ( ) [pure virtual]

returns the planned total time for the movement (in seconds)

Implemented in RampCommand.

virtual double moveCommand::getVel ( double  TimeElapsed) [pure virtual]

returns the planned velocity for TimeElapsed (seconds)

Implemented in RampCommand.

virtual bool moveCommand::isActive ( ) [inline, virtual]

returns true if the the end of the movement is not reached yet

Definition at line 65 of file moveCommand.h.

virtual double moveCommand::pos ( ) [inline, virtual]

returns the planned position at time of function call (desired position)

Definition at line 75 of file moveCommand.h.

virtual void moveCommand::start ( ) [inline, virtual]

sets the starttime for the movement to the current time

Definition at line 57 of file moveCommand.h.

virtual double moveCommand::timeRemaining ( ) [inline, virtual]

returns remaining time

Definition at line 93 of file moveCommand.h.

virtual double moveCommand::vel ( ) [inline, virtual]

returns the planned velocity at time of function call (desired velocitys)

Definition at line 84 of file moveCommand.h.


Member Data Documentation

TimeStamp moveCommand::m_now [protected]

Definition at line 101 of file moveCommand.h.

TimeStamp moveCommand::m_timeStarted [protected]

Definition at line 100 of file moveCommand.h.


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


schunk_powercube_chain
Author(s): Florian Weisshardt
autogenerated on Sat Jun 8 2019 20:25:18