Go to the documentation of this file.
17 #ifndef GZ_MATH_GAUSSMARKOVPROCESS_HH_
18 #define GZ_MATH_GAUSSMARKOVPROCESS_HH_
22 #include <gz/math/Export.hh>
23 #include <gz/math/config.hh>
33 inline namespace IGNITION_MATH_VERSION_NAMESPACE {
36 class GaussMarkovProcessPrivate;
41 class IGNITION_MATH_VISIBLE GaussMarkovProcess
53 public: GaussMarkovProcess();
64 public: GaussMarkovProcess(
double _start,
double _theta,
double _mu,
68 public: ~GaussMarkovProcess();
76 public:
void Set(
double _start,
double _theta,
double _mu,
double _sigma);
81 public:
double Start()
const;
85 public:
double Value()
const;
90 public:
double Theta()
const;
95 public:
double Mu()
const;
100 public:
double Sigma()
const;
104 public:
void Reset();
134 public:
double Update(
const clock::duration &_dt);
136 public:
double Update(
double _dt);
141 #pragma warning(push)
142 #pragma warning(disable: 4251)
double Value() const
Get the current process value.
double Start() const
Get the start value.
void Reset()
Reset the process. This will set the current process value to the start value.
Definition: gz/math/AdditivelySeparableScalarField3.hh:27
double Update(const clock::duration &_dt)
Update the process and get the new value.
double Mu() const
Get the mu ( ) value.
double Sigma() const
Get the sigma ( ) value.
std::chrono::steady_clock clock
Definition: gz/math/DiffDriveOdometry.hh:31
void Set(double _start, double _theta, double _mu, double _sigma)
Set the process parameters. This will also call Reset().
~GaussMarkovProcess()
Destructor.
double Theta() const
Get the theta ( ) value.