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.get_unsafe(0, 2) = -spx * xu - cpx * yu;
53 df_dx.get_unsafe(1, 2) = cpx * xu - spx * yu;
65 df_du.get_unsafe(0, 2) = df_du.get_unsafe(1, 2) =
66 df_du.get_unsafe(2, 0) = df_du.get_unsafe(2, 1) = 0;
67 df_du.get_unsafe(2, 2) = 1;
69 df_du.get_unsafe(0, 0) = cpx;
70 df_du.get_unsafe(0, 1) = -spx;
71 df_du.get_unsafe(1, 0) = spx;
72 df_du.get_unsafe(1, 1) = cpx;
double x() const
Common members of all points & poses 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 ...
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:
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
#define IMPLEMENTS_VIRTUAL_SERIALIZABLE( class_name, base_class_name, NameSpace)
This must be inserted as implementation of some required members for virtual CSerializable classes: ...