Class ParamEstimation
Defined in File param_estimation.hpp
Class Documentation
-
class ParamEstimation
Public Functions
-
ParamEstimation(double initial_mass, double threshold, double alpha, size_t n_samples)
-
inline ~ParamEstimation()
-
void computeMass(float &thrust, std::vector<double> &a_z)
Computes the mass based on the thrust and acceleration.
- Parameters:
thrust – Thrust value (z axis)
a_z – Acceleration in z axis
-
void set_threshold(double threshold)
-
void set_alpha(double alpha)
-
void set_n_samples(size_t n_samples)
-
double getEstimatedMass()
-
double getThreshold()
-
double getAlpha()
-
size_t getNSamples()
-
ParamEstimation(double initial_mass, double threshold, double alpha, size_t n_samples)