32 #ifndef CSIMBODYDYNAMICS_HPP_
33 #define CSIMBODYDYNAMICS_HPP_
35 #include <scl/DataTypes.hpp>
36 #include <scl/data_structs/SRobotIO.hpp>
37 #include <scl/data_structs/SGcModel.hpp>
38 #include <scl/dynamics/CDynamicsBase.hpp>
43 #include <Eigen/Dense>
79 virtual const void*
getIdForLink(std::string arg_link_name);
95 const void* arg_link_id,
97 Eigen::Affine3d& arg_T);
110 const void* arg_link_id,
112 const Eigen::VectorXd& arg_pos_global,
114 Eigen::MatrixXd& arg_J);
143 const sFloat arg_time_interval);
172 SimTK::SimbodyMatterSubsystem simbody_matter_;
173 SimTK::GeneralForceSubsystem simbody_forces_;
174 SimTK::RungeKuttaMersonIntegrator* simbody_rkm_integ_;
175 SimTK::TimeStepper* simbody_ts_;
176 SimTK::State simbody_state_;
Definition: SRobotIO.hpp:107
std::string robot_name_
Definition: CSimbodyDynamics.hpp:162
Definition: SRobotParsed.hpp:51
Definition: SGcModel.hpp:53
virtual const void * getIdForLink(std::string arg_link_name)
Definition: CSimbodyDynamics.cpp:235
Definition: SRigidBody.hpp:94
Definition: CSimbodyDynamics.hpp:49
Definition: CDynamicsBase.hpp:55
virtual sBool computeTransform_Depracated(const void *arg_link_id, Eigen::Affine3d &arg_T)
Definition: CSimbodyDynamics.cpp:252
virtual sBool integrate(SRobotIO &arg_inputs, const sFloat arg_time_interval)
Definition: CSimbodyDynamics.cpp:301
Eigen::Vector3d gravity_
Definition: CSimbodyDynamics.hpp:168
bool sBool
Definition: DataTypes.hpp:54
CSimbodyDynamics()
Definition: CSimbodyDynamics.cpp:41
sBool addNonRootLink(SimTK::MobilizedBody &arg_parent, const SRigidBody &arg_child_lnk)
Definition: CSimbodyDynamics.cpp:142
virtual ~CSimbodyDynamics()
Definition: CSimbodyDynamics.cpp:51
virtual bool computeGCModel(SRobotSensors const *sensor_data, SGcModel *js_model)
Definition: CSimbodyDynamics.cpp:212
virtual sBool computeJacobian_Depracated(const void *arg_link_id, const Eigen::VectorXd &arg_pos_global, Eigen::MatrixXd &arg_J)
Definition: CSimbodyDynamics.cpp:272
virtual sFloat getKineticEnergy_Depracated()
Definition: CSimbodyDynamics.cpp:336
size_t ndof_
Definition: CSimbodyDynamics.hpp:165
virtual sFloat getPotentialEnergy_Depracated()
Definition: CSimbodyDynamics.cpp:343
double sFloat
Definition: DataTypes.hpp:72
SimTK::MultibodySystem simbody_system_
Definition: CSimbodyDynamics.hpp:171
Definition: SRobotIO.hpp:49
virtual bool init(const SRobotParsed &arg_robot_data)
Definition: CSimbodyDynamics.cpp:60