Go to the documentation of this file.
18 #ifndef __invdyn_robot_wrapper_hpp__
19 #define __invdyn_robot_wrapper_hpp__
21 #include "tsid/deprecated.hh"
25 #include <pinocchio/multibody/model.hpp>
26 #include <pinocchio/multibody/data.hpp>
27 #include <pinocchio/spatial/fwd.hpp>
39 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
62 const std::vector<std::string>& package_dirs,
63 bool verbose =
false);
66 const std::vector<std::string>& package_dirs,
68 bool verbose =
false);
76 virtual int nq()
const;
78 virtual int nv()
const;
79 virtual int na()
const;
194 #endif // ifndef __invdyn_robot_wrapper_hpp__
SE3 framePosition(const Data &data, const Model::FrameIndex index) const
virtual bool is_fixed_base() const
Motion frameVelocity(const Data &data, const Model::FrameIndex index) const
Motion frameClassicAccelerationWorldOriented(const Data &data, const Model::FrameIndex index) const
const Matrix & mass(const Data &data)
void frameJacobianWorld(Data &data, const Model::FrameIndex index, Data::Matrix6x &J) const
const Vector & nonLinearEffects(const Data &data) const
const Motion & velocity(const Data &data, const Model::JointIndex index) const
Vector3 angularMomentumTimeVariation(const Data &data) const
Eigen::Matrix< Scalar, 3, Eigen::Dynamic > Matrix3x
void setGravity(const Motion &gravity)
Model m_model
Robot model.
const Vector & gear_ratios() const
Eigen::Matrix< Scalar, 6, 1 > Vector6
const Vector & rotor_inertias() const
pinocchio::JointIndex JointIndex
math::ConstRefVector ConstRefVector
Motion frameClassicAcceleration(const Data &data, const Model::FrameIndex index) const
virtual int nq_actuated() const
const Model & model() const
Accessor to model.
Eigen::Ref< Vector > RefVector
virtual ~RobotWrapper()=default
JointCollectionDefault::JointModelVariant JointModelVariant
void com(const Data &data, RefVector com_pos, RefVector com_vel, RefVector com_acc) const
pinocchio::FrameIndex FrameIndex
math::RefVector RefVector
void frameJacobianLocal(Data &data, const Model::FrameIndex index, Data::Matrix6x &J) const
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
std::string m_model_filename
const typedef Eigen::Ref< const Vector > ConstRefVector
const Data::Matrix6x & momentumJacobian(const Data &data) const
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
void computeAllTerms(Data &data, const Vector &q, const Vector &v) const
void jacobianLocal(const Data &data, const Model::JointIndex index, Data::Matrix6x &J) const
Wrapper for a robot based on pinocchio.
void jacobianWorld(const Data &data, const Model::JointIndex index, Data::Matrix6x &J) const
Motion frameVelocityWorldOriented(const Data &data, const Model::FrameIndex index) const
const Motion & acceleration(const Data &data, const Model::JointIndex index) const
const Matrix3x & Jcom(const Data &data) const
Eigen::Matrix< Scalar, 6, Eigen::Dynamic, Options > Matrix6x
RobotWrapper(const std::string &filename, const std::vector< std::string > &package_dirs, bool verbose=false)
Matrix m_M
diagonal part of inertia matrix due to rotor inertias
enum tsid::robots::RobotWrapper::e_RootJointType RootJointType
const Vector3 & com_acc(const Data &data) const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Scalar Scalar
const Vector3 & com_vel(const Data &data) const
const SE3 & position(const Data &data, const Model::JointIndex index) const
Eigen::Matrix< Scalar, 3, 1 > Vector3
Motion frameAccelerationWorldOriented(const Data &data, const Model::FrameIndex index) const
Motion frameAcceleration(const Data &data, const Model::FrameIndex index) const
tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Thu Apr 3 2025 02:47:16