21 namespace optimization {
32 std::unique_ptr<ceres::LocalParameterization> translation_parametrization,
33 std::unique_ptr<ceres::LocalParameterization> rotation_parametrization,
34 ceres::Problem* problem)
36 problem->AddParameterBlock(
data_->translation.data(), 3,
37 translation_parametrization.release());
38 problem->AddParameterBlock(
data_->rotation.data(), 4,
39 rotation_parametrization.release());
CeresPose(const transform::Rigid3d &rigid, std::unique_ptr< ceres::LocalParameterization > translation_parametrization, std::unique_ptr< ceres::LocalParameterization > rotation_parametrization, ceres::Problem *problem)
CeresPose::Data FromPose(const transform::Rigid3d &pose)
std::shared_ptr< Data > data_
const transform::Rigid3d ToRigid() const