19 #ifndef __GAUSS_MARKOV_PROCESS_HH__ 20 #define __GAUSS_MARKOV_PROCESS_HH__ 22 #include <gazebo/gazebo.hh> 48 public:
bool SetModel(
double _mean,
double _min,
double _max,
49 double _mu = 0,
double _noise = 0);
54 public:
bool SetMean(
double _mean);
79 public:
double Update(
double _time);
86 #endif // __GAUSS_MARKOV_PROCESS_HH__ GaussMarkovProcess()
Class constructor.
double min
Minimum limit for the process variable.
Implementation of a Gauss-Markov process to model the current velocity and direction according to [1]...
double Update(double _time)
Update function for a new time stamp.
double noiseAmp
Gaussian white noise amplitude.
void Print()
Print current model paramters.
void Reset()
Resets the process parameters.
bool SetMean(double _mean)
Set mean process value.
bool SetModel(double _mean, double _min, double _max, double _mu=0, double _noise=0)
Sets all the necessary parameters for the computation.
double mean
Mean process value.
double max
Maximum limit for the process variable.
double var
Process variable.
double mu
Process constant, if zero, process becomes a random walk.
double lastUpdate
Timestamp for the last update.