1#ifdef PROXSUITE_NLP_WITH_PINOCCHIO
13void exposePinocchioResiduals() {
14 using RigidTransformPointAction = RigidTransformationPointActionTpl<Scalar>;
16 "RigidTransformationPointAction",
17 "A residual representing the action :math:`M\\cdot p = Rp + t` of a "
19 "transform :math:`M` on a 3D point :math:`p`.",
20 bp::init<context::Vector3s>(bp::args(
"self",
"point")))
21 .def_readonly(
"space", &RigidTransformPointAction::space_,
22 "Function input space.")
23 .def_readwrite(
"point", &RigidTransformPointAction::point_)
24 .add_property(
"skew_matrix", &RigidTransformPointAction::skew_point);
auto expose_function(const char *name, const char *docstring, Init init)
Expose a differentiable residual (subclass of C2FunctionTpl).