34 CMatrixDouble33& df_du,
const bool compute_df_dx,
const bool compute_df_du)
37 const double spx = sin(x.
phi());
38 const double cpx = cos(x.
phi());
49 const double xu = u.
x();
50 const double yu = u.
y();
52 df_dx(0, 2) = -spx * xu - cpx * yu;
53 df_dx(1, 2) = cpx * xu - spx * yu;
65 df_du(0, 2) = df_du(1, 2) = df_du(2, 0) = df_du(2, 1) = 0;
#define IMPLEMENTS_VIRTUAL_SERIALIZABLE(class_name, base_class, NS)
This must be inserted as implementation of some required members for virtual CSerializable classes: ...
This base provides a set of functions for maths stuff.
Declares a class that represents a Probability Density function (PDF) of a 2D pose ...
double phi() const
Get the phi angle of the 2D pose (in radians)
double x() const
Common members of all points & poses classes.
Declares a class that represents a probability density function (pdf) of a 2D pose (x...
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
static void jacobiansPoseComposition(const CPose2D &x, const CPose2D &u, mrpt::math::CMatrixDouble33 &df_dx, mrpt::math::CMatrixDouble33 &df_du, const bool compute_df_dx=true, const bool compute_df_du=true)
This static method computes the pose composition Jacobians, with these formulas: