Go to the documentation of this file.
8 #ifndef __GMRDYNAMICS_H__
9 #define __GMRDYNAMICS_H__
11 #include <boost/shared_ptr.hpp>
15 #define GMR_ERROR_TOLERANCE 0.001
16 #define INTEGRATION_L 5
17 #define REACHING_ITERATION_MAX 500
18 #define REAL_MIN (1e-30)
44 const vector<double> pri_vec,
45 const vector<double> mu_vec,
46 const vector<double> sig_vec);
48 void initGMR(
int first_inindex,
int last_inindex,
int first_outindex,
int last_outindex);
68 #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)