|
| | LinearMeasurement ()=default |
| | Default constructor. More...
|
| |
| | LinearMeasurement (const typename StateT::Vector &measurement, const typename StateT::Vector &variances) |
| | Construct a new instance of the measurement from a state vector. More...
|
| |
| auto & | state () |
| | Get measurement as a state vector. More...
|
| |
| const auto & | state () const |
| | Get measurement as a state vector. More...
|
| |
| auto & | covariance () |
| | Get covariance of the measurement as a matrix. More...
|
| |
| const auto & | covariance () const |
| |
| auto & | variances () |
| | Get variances as a vector. Note that these represent sigmas, not sigmas^2. More...
|
| |
| const auto & | variances () const |
| | Get variances as a vector. Note that these represent sigmas, not sigmas^2. More...
|
| |
| template<typename OtherStateT > |
| auto | create_new_instance_from (const OtherStateT &other_state) const |
| | Create a new instance of the measurement from another state. More...
|
| |
| template<typename OtherStateT > |
| OtherStateT | map_into (const OtherStateT &other_state) const |
| | Map this measurement into another state space. More...
|
| |
| template<typename OtherStateT > |
| auto | mapping_matrix_from (const OtherStateT &other_state) const |
| | Get a matrix that maps a state to this measurement's state space. More...
|
| |
|
| StateT & | crtp_state () noexcept |
| | Get state vector function that is to be called by the CRTP interface. More...
|
| |
| const StateT & | crtp_state () const noexcept |
| | Get state vector function that is to be called by the CRTP interface. More...
|
| |
| StateT::Vector & | crtp_variances () noexcept |
| | Get variances function that is to be called by the CRTP interface. More...
|
| |
| const StateT::Vector & | crtp_variances () const noexcept |
| | Get variances function that is to be called by the CRTP interface. More...
|
| |
| StateT::Matrix & | crtp_covariance () noexcept |
| | Get covariance function that is to be called by the CRTP interface. More...
|
| |
| const StateT::Matrix & | crtp_covariance () const noexcept |
| | Get covariance function that is to be called by the CRTP interface. More...
|
| |
| template<typename OtherStateT > |
| StateT | crtp_create_new_instance_from (const OtherStateT &other_state) const |
| | Create a new instance of the measurement from another state. More...
|
| |
| template<typename OtherStateT > |
| OtherStateT | crtp_map_into (const OtherStateT &other_state) const noexcept |
| | Copy this measurement into another state space. More...
|
| |
| template<typename OtherStateT > |
| MappingMatrixFrom< OtherStateT > | crtp_mapping_matrix_from (const OtherStateT &) const |
| | Get the mapping matrix between the two states called by the CRTP interface. More...
|
| |
| const Derived & | impl () const |
| |
| Derived & | impl () |
| |
template<typename StateT>
class autoware::prediction::LinearMeasurement< StateT >
A class that represents a linear measurement.
A linear measurement is one that measures directly variables from some unknown real state, thus requiring no measurement Jacobian computation. The mapping matrix will only have 1s and 0s in it.
- Template Parameters
-
template<typename StateT >
template<typename OtherStateT >
Create a new instance of the measurement from another state.
This is a linear measurement, i.e., it directly observes the variables of another state, thus this mapping function is linear and just copied values for the matching variables in both states.
- Note
- It is expected that the measurement StateT is a direct sub-state of the OtherStateT.
- Parameters
-
| [in] | other_state | The other state |
- Template Parameters
-
| OtherStateT | State to which we map the internal state StateT. |
- Returns
- A vector that represents a mapping of another state to this measurement's frame.