5#include <pinocchio/multibody/model.hpp>
6#include <pinocchio/multibody/data.hpp>
10template <
typename _Scalar>
16 using Model = pinocchio::ModelTpl<Scalar>;
28 void evaluate(
const ConstVectorRef &x,
const ConstVectorRef &u,
43#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
Base definitions for ternary functions.
MatrixXs gravity_partial_dq_
pinocchio::DataTpl< Scalar > pin_data_
Data(const GravityCompensationResidualTpl &resdl)
pinocchio::ModelTpl< Scalar > Model
MatrixXs actuation_matrix_
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
bool use_actuation_matrix
GravityCompensationResidualTpl(int ndx, const MatrixXs &actuation_matrix, const Model &model)
Constructor with an actuation matrix.
shared_ptr< BaseData > createData() const
Instantiate a Data object.
GravityCompensationResidualTpl(int ndx, const Model &model)
Full actuation constructor.
void evaluate(const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const
void computeJacobians(const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const
Base struct for function data.
Class representing ternary functions .