In file /home/blah/darwin2k/src/dyno/mechanism/dynoInfluence.h:

class dofInfluence

Adds forces/torques to a mechanism's T vector The dofInfluence acts on a mechanism in joint space, rather than cartesian space.

Inheritance:


Public Fields

[more]mechanism* mech
the mechanism
[more]vector* Tcmd
a pointer to the vector containing the current torque command

Public Methods

[more] dofInfluence(void)
constructor.
[more] dofInfluence(mechanism* M, vector* tcmd)
constructor
[more]int apply(void)
adds *Tcmd to mech->T


Inherited from dynoInfluence:


Inherited from dynoObject:

Public Fields

odynamicSystem* ds
oint active
oint stateSize

Public Methods

oinline virtual int getState(double* state)
oinline virtual int setState(const double* state)
oinline virtual int reset(void)


Inherited from synObject:

Public Fields

ostatic int staticClassID
oint objectID
oint verboseLevel

Public Methods

ovirtual const char* className(void) const
ovirtual synObject* copy(void) const
ovirtual int isOfType(int typeNum, int derivedOk)
ostatic int setStaticClassID(void)
ovirtual int classID(void) const


Documentation

Adds forces/torques to a mechanism's T vector The dofInfluence acts on a mechanism in joint space, rather than cartesian space. a pointer to a vector Tcmd tells the dofInfluence where to get the forces to apply. This vector must have the same size as the mechanism's T vector, i.e. the # DOFs of the mechanism. This class, along with the dynoTimer, provide convenient hooks for controller classes in user libraries.
omechanism* mech
the mechanism

ovector* Tcmd
a pointer to the vector containing the current torque command

o dofInfluence(void)
constructor. mech and Tcmd must be set later

o dofInfluence(mechanism* M, vector* tcmd)
constructor

oint apply(void)
adds *Tcmd to mech->T


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.