#include <adaptiveIdentifier.h>
Public Types | |
typedef ublas::vector< double > | vector |
Public Member Functions | |
AdaptiveIdentifier (boost::shared_ptr< DynamicsModel > dynamics, vector gamma) | |
boost::shared_ptr< DynamicsModel > | getModel () const |
Returns the identified dynamics model. | |
void | update (vector xf, vector u, const double &dt) |
Predicts the next state and corrects for errors. |
AdaptiveIdentifier::AdaptiveIdentifier | ( | boost::shared_ptr< DynamicsModel > | dynamics, | |
vector | gamma | |||
) |
dynamics | model to identify | |
gamma | a list of weights |
void AdaptiveIdentifier::update | ( | vector | xf, | |
vector | u, | |||
const double & | dt | |||
) |
Predicts the next state and corrects for errors.
xf | measured state | |
u | control input update time |