GaussMarkovProcess
class gazebo::GaussMarkovProcess
¶
Implementation of a Gauss-Markov process to model the current velocity and direction according to [1] [1] Fossen, Thor I. Handbook of marine craft hydrodynamics and motion control. John Wiley & Sons, 2011.
Summary¶
Members | Descriptions |
---|---|
public double var |
Process variable. |
public double mean |
Mean process value. |
public double min |
Minimum limit for the process variable. |
public double max |
Maximum limit for the process variable. |
public double mu |
Process constant, if zero, process becomes a random walk. |
public double noiseAmp |
Gaussian white noise amplitude. |
public double lastUpdate |
Timestamp for the last update. |
public GaussMarkovProcess () |
Class constructor. |
public void Reset () |
Resets the process parameters. |
public bool SetModel (double _mean,double _min,double _max,double _mu,double _noise) |
Sets all the necessary parameters for the computation. |
public bool SetMean (double _mean) |
Set mean process value. |
public double Update (double _time) |
Update function for a new time stamp. |
public void Print () |
Print current model paramters. |
Members¶
public double
var
¶
Process variable.
public double
mean
¶
Mean process value.
public double
min
¶
Minimum limit for the process variable.
public double
max
¶
Maximum limit for the process variable.
public double
mu
¶
Process constant, if zero, process becomes a random walk.
public double
noiseAmp
¶
Gaussian white noise amplitude.
public double
lastUpdate
¶
Timestamp for the last update.
public
GaussMarkovProcess
()
¶
Class constructor.
public void
Reset
()
¶
Resets the process parameters.
public bool
SetModel
(double _mean,double _min,double _max,double _mu,double _noise)
¶
Sets all the necessary parameters for the computation.
Parameters¶
-
_mean
Mean value -
_min
Minimum limit -
_max
Maximum limit -
_mu
Process constant -
_noise
Amplitude for the Gaussian white noise
Returns¶
True, if all parameters were valid
public bool
SetMean
(double _mean)
¶
Set mean process value.
Parameters¶
_mean
New mean value
Returns¶
True, if value inside the limit range
public double
Update
(double _time)
¶
Update function for a new time stamp.
Parameters¶
_time
Current time stamp
public void
Print
()
¶
Print current model paramters.