Representation for a cell of a N dimensional NDT cell. More...
#include <ndt_cell.hpp>
Public Types | |
using | scalar_type = Scalar |
Floating point scalar type. More... | |
Public Member Functions | |
double | likelihood_at (const NDTCell &measurement, double d1=1.0, double d2=1.0) const |
Public Attributes | |
Eigen::Matrix< Scalar, NDim, NDim > | covariance |
Covariance of the N dimensional normal distribution. More... | |
Eigen::Vector< Scalar, NDim > | mean |
Mean of the N dimensional normal distribution. More... | |
Static Public Attributes | |
static constexpr int | num_dim = NDim |
Number of dimensions of the cell's translation. More... | |
Friends | |
NDTCell | operator* (const Sophus::SE2< scalar_type > &tf, const NDTCell &ndt_cell) |
Transform the normal distribution according to tf, both mean and covariance. More... | |
NDTCell | operator* (const Sophus::SE3< scalar_type > &tf, const NDTCell &ndt_cell) |
Transform the normal distribution according to tf, both mean and covariance. More... | |
std::ostream & | operator<< (std::ostream &os, const NDTCell &cell) |
Ostream overload mostly for debugging purposes. More... | |
Representation for a cell of a N dimensional NDT cell.
Definition at line 36 of file ndt_cell.hpp.
using beluga::NDTCell< NDim, Scalar >::scalar_type = Scalar |
Floating point scalar type.
Definition at line 41 of file ndt_cell.hpp.
|
inline |
Get the L2 likelihood at measurement, scaled by d1 and d2. It assumes the measurement is pre-transformed into the same frame as this cell instance.
Definition at line 49 of file ndt_cell.hpp.
|
friend |
Transform the normal distribution according to tf, both mean and covariance.
Definition at line 63 of file ndt_cell.hpp.
|
friend |
Transform the normal distribution according to tf, both mean and covariance.
Definition at line 71 of file ndt_cell.hpp.
|
friend |
Ostream overload mostly for debugging purposes.
Definition at line 57 of file ndt_cell.hpp.
Eigen::Matrix<Scalar, NDim, NDim> beluga::NDTCell< NDim, Scalar >::covariance |
Covariance of the N dimensional normal distribution.
Definition at line 45 of file ndt_cell.hpp.
Eigen::Vector<Scalar, NDim> beluga::NDTCell< NDim, Scalar >::mean |
Mean of the N dimensional normal distribution.
Definition at line 43 of file ndt_cell.hpp.
|
staticconstexpr |
Number of dimensions of the cell's translation.
Definition at line 39 of file ndt_cell.hpp.