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)
31 MathLib::Vector target;
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);
50 void setStateTarget(MathLib::Vector state, MathLib::Vector target);
51 void setTarget(MathLib::Vector target,
double target_t = -1.0);
54 void setState(MathLib::Vector state);
boost::shared_ptr< GMRDynamics > GMMPtr
MathLib::Vector getVelocity(MathLib::Vector x)
void setStateTarget(MathLib::Vector state, MathLib::Vector target)
double getCurrentTime(void)
void setTarget(MathLib::Vector target, double target_t=-1.0)
double getReachingTime(double lamda)
void initGMR(int first_inindex, int last_inindex, int first_outindex, int last_outindex)
void setCurrentTime(double current_t)
MathLib::Vector getTarget(void)
MathLib::Vector getState(void)
GMRDynamics(int nStates, int nVar, double delta_t, const char *f_mu, const char *f_sigma, const char *f_prio)
MathLib::Vector getNextState(void)
void setState(MathLib::Vector state)
This file offers overloads of toIce() and fromIce() functions for STL container types.