1 #ifndef SOPHUS_TEST_LOCAL_PARAMETERIZATION_SE3_HPP
2 #define SOPHUS_TEST_LOCAL_PARAMETERIZATION_SE3_HPP
4 #include <ceres/local_parameterization.h>
18 virtual bool Plus(
double const* T_raw,
double const* delta_raw,
19 double* T_plus_delta_raw)
const {
20 Eigen::Map<SE3d const>
const T(T_raw);
21 Eigen::Map<Vector6d const>
const delta(delta_raw);
22 Eigen::Map<SE3d> T_plus_delta(T_plus_delta_raw);
32 double* jacobian_raw)
const {
33 Eigen::Map<SE3d const> T(T_raw);
34 Eigen::Map<Eigen::Matrix<double, 7, 6, Eigen::RowMajor>> jacobian(
36 jacobian = T.Dx_this_mul_exp_x_at_0();