Inherits opentl::models::LinearARModels.
Public Member Functions | |
ConstantVelocity (boost::shared_ptr< opentl::core::State > stateTemplate, math::Matrix *matB=NULL, double fixedDeltaT=0.0) | |
Constructor. | |
void | setConstraintCoeff (math::Vector &beta, math::Vector &rho) |
Set coefficients for constrained motion (one per degree of freedom). | |
virtual void | updateMatrices () |
Update internal matrices (mMatA, mMatW, mMatQw) using the internal parameter mDeltaT. | |
virtual | ~ConstantVelocity () |
Destructor. |
opentl::models::ConstantVelocity::ConstantVelocity | ( | boost::shared_ptr< opentl::core::State > | stateTemplate, | |
math::Matrix * | matB = NULL , |
|||
double | fixedDeltaT = 0.0 | |||
) |
Constructor.
stateTemplate | The state representation this model is using. | |
matB | Optional: input matrix B | |
fixedDeltaT | Optional: (default=deltaT is dynamic). |
virtual opentl::models::ConstantVelocity::~ConstantVelocity | ( | ) | [virtual] |
Destructor.
void opentl::models::ConstantVelocity::setConstraintCoeff | ( | math::Vector & | beta, | |
math::Vector & | rho | |||
) |
Set coefficients for constrained motion (one per degree of freedom).
beta | Time constant | |
rho | Average envelope |
virtual void opentl::models::ConstantVelocity::updateMatrices | ( | ) | [virtual] |
Update internal matrices (mMatA, mMatW, mMatQw) using the internal parameter mDeltaT.
Implements opentl::models::LinearARModels.