#include <IDControllerFB.h>
|
| IDControllerFB (std::shared_ptr< Dynamics > dynamics=std::shared_ptr< Dynamics >(new Dynamics()), const RBDState &desState=RBDState(), const Eigen::Matrix< double, 6, 1 > &Kp=Eigen::Matrix< double, 6, 1 >::Zero(), const Eigen::Matrix< double, 6, 1 > &Kd=Eigen::Matrix< double, 6, 1 >::Zero()) |
|
void | setDesiredState (const RBDState &desState) |
|
void | setPoseGains (const Eigen::Matrix< double, 6, 1 > &Kp) |
|
void | setTwistGains (const Eigen::Matrix< double, 6, 1 > &Kd) |
|
Dynamics::RBDAcceleration_t | computeDesiredAcceleration (const RBDState &currBaseState) |
|
Dynamics::control_vector_t | computeTorque (const RBDState &currState, const typename Dynamics::EE_in_contact_t &eeInContact, bool gravityCompensation=true) |
|
◆ IDControllerFB()
template<class Dynamics >
ct::rbd::IDControllerFB< Dynamics >::IDControllerFB |
( |
std::shared_ptr< Dynamics > |
dynamics = std::shared_ptr<Dynamics>(new Dynamics()) , |
|
|
const RBDState & |
desState = RBDState() , |
|
|
const Eigen::Matrix< double, 6, 1 > & |
Kp = Eigen::Matrix<double, 6, 1>::Zero() , |
|
|
const Eigen::Matrix< double, 6, 1 > & |
Kd = Eigen::Matrix<double, 6, 1>::Zero() |
|
) |
| |
|
inline |
◆ setDesiredState()
template<class Dynamics >
◆ setPoseGains()
template<class Dynamics >
◆ setTwistGains()
template<class Dynamics >
◆ computeDesiredAcceleration()
template<class Dynamics >
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::base(), ct::rbd::RBDState< NJOINTS, SCALAR >::base(), ct::rbd::RBDState< NJOINTS, SCALAR >::basePose(), ct::rbd::tpl::RigidBodyAcceleration< SCALAR >::fromVector6d(), ct::rbd::tpl::RigidBodyPose< SCALAR >::getRotationQuaternion(), ct::rbd::tpl::RigidBodyPose< SCALAR >::position(), ct::rbd::tpl::RigidBodyPose< SCALAR >::rotateInertiaToBase(), ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::setZero(), and ct::rbd::tpl::RigidBodyState< SCALAR >::velocities().
Referenced by ct::rbd::IDControllerFB< Dynamics >::computeTorque().
◆ computeTorque()
template<class Dynamics >
◆ RBDState
template<class Dynamics >
The documentation for this class was generated from the following file:
- /home/gim2rng/ct_devel_ws/src/control-toolbox/ct_rbd/include/ct/rbd/robot/control/IDControllerFB.h