Inherits opentl::models::LinearARModels.
Public Member Functions | |
ConstantVelocity (boost::shared_ptr< opentl::core::State > stateTemplate, math::Matrix *matB=NULL, double deltaT=1.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) according to the real time lag. | |
virtual | ~ConstantVelocity () |
Destructor. |
opentl::models::ConstantVelocity::ConstantVelocity | ( | boost::shared_ptr< opentl::core::State > | stateTemplate, | |
math::Matrix * | matB = NULL , |
|||
double | deltaT = 1.0 | |||
) |
Constructor.
stateTemplate | The state representation this model is using. | |
matB | Optional: input matrix B | |
deltaT | Constant time lag (used if no one is provided at prediction time) |
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) according to the real time lag.
Implements opentl::models::LinearARModels.