Autoware.Auto
|
|
This class contains the logic for a uniform noise model. More...
#include <uniform_noise.hpp>
Public Types | |
using | State = StateT |
A convenience typedef for the state for which this noise model is to be used. More... | |
Public Member Functions | |
UniformNoise (const Matrix &covariance) noexcept | |
Create the noise model from an existing covariance matrix. More... | |
template<typename OtherScalarT > | |
UniformNoise (const std::array< OtherScalarT, State::size()> &variances) noexcept | |
Create the noise model from an array. More... | |
template<typename OtherScalarT > | |
UniformNoise (const std::vector< OtherScalarT > &variances) | |
Create the noise model from a vector. More... | |
template<typename ... VarianceTs> | |
UniformNoise (const Scalar variance, const VarianceTs ... variances) | |
Create noise model from variances directly. More... | |
![]() | |
auto | covariance (const std::chrono::nanoseconds &dt) const |
Get a covariance matrix for this noise model. More... | |
Protected Member Functions | |
Matrix | crtp_covariance (const std::chrono::nanoseconds &dt) const noexcept |
A CRTP-called covariance getter. More... | |
Protected Attributes | |
friend | NoiseInterface< UniformNoise< StateT > > |
This class contains the logic for a uniform noise model.
StateT | State vector type for which this noise model is created. |
using autoware::common::state_estimation::UniformNoise< StateT >::State = StateT |
A convenience typedef for the state for which this noise model is to be used.
|
inlineexplicitnoexcept |
Create the noise model from an existing covariance matrix.
[in] | covariance | The covariance |
|
inlineexplicitnoexcept |
Create the noise model from an array.
[in] | variances | The values for variances, i.e., values for σ (not squared) |
OtherScalarT | Some scalar type. |
|
inlineexplicit |
Create the noise model from a vector.
[in] | variances | The values for variances, i.e., values for σ (not squared) |
std::runtime_error | if the vector is of a wrong size. |
OtherScalarT | Some scalar type. |
|
inlineexplicit |
Create noise model from variances directly.
[in] | variance | The first variance, i.e., value for σ (not squared) |
[in] | variances | The variances for all the other variables |
VarianceTs | Types for other variances. |
|
inlineprotectednoexcept |
A CRTP-called covariance getter.
|
protected |
Allow the interface to access the protected and private members to visually encapsulate the implementation.