Go to the documentation of this file.
13 #include <initializer_list>
39 LinearModel(
const LinearMatrixComponent& linear_matrix_component,
const Eigen::Ref<const Eigen::MatrixXd>& noise_covariance_matrix,
const unsigned int seed);
51 std::pair<
bool, Eigen::MatrixXd>
getNoiseSample(const
int num) const;
69 std::vector<std::
string>
log_file_names(const std::
string& folder_path, const std::
string& file_name_prefix)
override
71 return {folder_path +
"/" + file_name_prefix +
"_measurements"};
std::pair< std::size_t, std::vector< std::size_t > > LinearMatrixComponent
Pair of data representing.
double T_
The Sampling interval in [time].
This class represent an linear measurement model Hx + w, where H is a time-invariant measurement matr...
LinearModel(const LinearMatrixComponent &linear_matrix_component, const Eigen::Ref< const Eigen::MatrixXd > &noise_covariance_matrix, const unsigned int seed)
std::normal_distribution< double > distribution_
Port of boost::any for C++11 compilers.
std::function< double()> gauss_rnd_sample_
Random number generator function from a Normal distribution.
virtual ~LinearModel() noexcept=default
Eigen::MatrixXd sqrt_R_
Square root matrix of R_.
std::pair< bool, Eigen::MatrixXd > getNoiseCovarianceMatrix() const override
std::ofstream log_file_measurements_
std::pair< bool, Eigen::MatrixXd > getNoiseSample(const int num) const
std::mt19937_64 generator_
std::vector< std::string > log_file_names(const std::string &folder_path, const std::string &file_name_prefix) override
Eigen::MatrixXd getMeasurementMatrix() const override