32 #ifndef CDYNAMICS3D_HPP_
33 #define CDYNAMICS3D_HPP_
35 #include <scl/DataTypes.hpp>
36 #include <scl/dynamics/CDynamicsBase.hpp>
38 #include <Eigen/Dense>
112 const Eigen::VectorXd& arg_q,
114 const Eigen::VectorXd& arg_dq);
121 const Eigen::VectorXd& arg_q);
126 Eigen::Vector3d computeForce(std::string name);
127 Eigen::Vector3d computeTorque(std::string name, Eigen::Vector3d pos);
129 scl::sInt getNumContacts(std::string name);
150 virtual const void *
getIdForLink(std::string arg_link_name);
175 cDynamicBase *c_base;
Definition: SRobotIO.hpp:107
Definition: SRobotParsed.hpp:51
size_t ndof_
Definition: CDynamics3d.hpp:182
Definition: SGcModel.hpp:53
virtual const void * getIdForLink(std::string arg_link_name)
Definition: CDynamics3d.cpp:184
virtual scl::sFloat computeEnergyPotential(sutil::CMappedTree< std::string, scl::SRigidBodyDyn > &arg_tree, const Eigen::VectorXd &arg_q)
Definition: CDynamics3d.cpp:273
virtual bool init(const scl::SRobotParsed &arg_robot_data)
Definition: CDynamics3d.cpp:105
virtual bool computeGCModel(scl::SRobotSensors const *arg_sensor_data, scl::SGcModel *arg_gc_model)
Definition: CDynamics3d.hpp:135
Definition: CDynamicsBase.hpp:55
virtual scl::sBool computeExternalContacts(sutil::CMappedList< std::string, scl::SForce > &arg_contacts)
Definition: CDynamics3d.hpp:75
Eigen::Vector3d gravity_
Definition: CDynamics3d.hpp:185
bool sBool
Definition: DataTypes.hpp:54
virtual scl::sBool integrate(scl::SRobotIO &arg_inputs, const scl::sFloat arg_time_interval)
Definition: CDynamics3d.cpp:194
virtual scl::sFloat computeEnergyKinetic(sutil::CMappedTree< std::string, scl::SRigidBodyDyn > &arg_tree, const Eigen::VectorXd &arg_q, const Eigen::VectorXd &arg_dq)
Definition: CDynamics3d.cpp:264
virtual ~CDynamics3d()
Definition: CDynamics3d.cpp:62
Definition: CDynamics3d.hpp:59
CDynamics3d()
Definition: CDynamics3d.cpp:55
std::string robot_name_
Definition: CDynamics3d.hpp:179
double sFloat
Definition: DataTypes.hpp:72
int sInt
Definition: DataTypes.hpp:64
Definition: SRobotIO.hpp:49