Go to the documentation of this file.
8 #ifndef __GMRDYNAMICS_H__
9 #define __GMRDYNAMICS_H__
12 #include <boost/shared_ptr.hpp>
14 #define GMR_ERROR_TOLERANCE 0.001
15 #define INTEGRATION_L 5
16 #define REACHING_ITERATION_MAX 500
17 #define REAL_MIN (1e-30)
34 GMRDynamics(
int nStates,
int nVar,
double delta_t,
const char* f_mu,
const char* f_sigma,
const char* f_prio);
35 GMRDynamics(
int nStates,
int nVar,
double delta_t,
const vector<double> pri_vec,
const vector<double> mu_vec,
const vector<double> sig_vec);
37 void initGMR(
int first_inindex,
int last_inindex,
int first_outindex,
int last_outindex);
57 #endif //__GMRDYNAMICS_H__
void setCurrentTime(double current_t)
MathLib::Vector getState(void)
MathLib::Vector getTarget(void)
Eigen::Matrix< T, 3, 1 > Vector
void setState(MathLib::Vector state)
MathLib::Vector getNextState(void)
double getCurrentTime(void)
GMRDynamics(int nStates, int nVar, double delta_t, const char *f_mu, const char *f_sigma, const char *f_prio)
void setTarget(MathLib::Vector target, double target_t=-1.0)
MathLib::Vector getVelocity(MathLib::Vector x)
void setStateTarget(MathLib::Vector state, MathLib::Vector target)
boost::shared_ptr< GMRDynamics > GMMPtr
void initGMR(int first_inindex, int last_inindex, int first_outindex, int last_outindex)
double getReachingTime(double lamda)