A class for specifying the tracking task for a joint. More...
#include <SMC_Joint.h>
Public Member Functions | |
SMC_Joint (const std::string &aCoordinateName="") | |
SMC_Joint (const SMC_Joint &aTask) | |
Copy constructor. | |
virtual | ~SMC_Joint () |
Destructor. | |
virtual Object * | copy () const |
Copy this track object and return a pointer to the copy. | |
SMC_Joint & | operator= (const SMC_Joint &aTask) |
Assignment operator. | |
virtual void | computeDesiredAccelerations (const SimTK::State &s, double aT) |
Compute the desired accelerations. | |
Protected Attributes | |
PropertyDbl | _propS |
Parameter specifying the boundary of the error surface. | |
double & | _s |
A class for specifying the tracking task for a joint.
OpenSim::SMC_Joint::SMC_Joint | ( | const std::string & | aCoordinateName = "" |
) |
SMC_Joint::SMC_Joint | ( | const SMC_Joint & | aTask | ) |
Copy constructor.
aTask | Joint task to be copied. |
SMC_Joint::~SMC_Joint | ( | ) | [virtual] |
Destructor.
void SMC_Joint::computeDesiredAccelerations | ( | const SimTK::State & | state, | |
double | aT | |||
) | [virtual] |
Compute the desired accelerations.
This method assumes that the states have been set for the model.
aT | Time at which the desired accelerations are to be computed in real time units. |
Reimplemented from OpenSim::CMC_Joint.
Object * SMC_Joint::copy | ( | ) | const [virtual] |
Copy this track object and return a pointer to the copy.
The copy constructor for this class is used.
Reimplemented from OpenSim::CMC_Joint.
Assignment operator.
aTask | Object to be copied. |
Reimplemented from OpenSim::CMC_Joint.
PropertyDbl OpenSim::SMC_Joint::_propS [protected] |
Parameter specifying the boundary of the error surface.
double& OpenSim::SMC_Joint::_s [protected] |