15 bp::class_<GravityCompensationResidual, bp::bases<StageFunction>>(
16 "GravityCompensationResidual", bp::no_init)
17 .def(bp::init<int, const MatrixXs &, const PinModel &>(
18 (
"self"_a,
"ndx",
"actuation_matrix",
"model")))
19 .def(bp::init<int, const PinModel &>((
"self"_a,
"ndx",
"model")))
21 .def_readonly(
"actuation_matrix",
23 .def_readonly(
"use_actuation_matrix",
27 bp::class_<GravityCompensationResidual::Data, bp::bases<StageFunctionData>>(
28 "GravityCompensationData", bp::no_init)
29 .def_readonly(
"pin_data", &GravityCompensationResidual::Data::pin_data_);
pinocchio::ModelTpl< Scalar, Options > PinModel
StageFunctionTpl< Scalar > StageFunction
StageFunctionDataTpl< Scalar > StageFunctionData