Robotics Library
0.7.0
|
#include <Joint.h>
Public Member Functions | |
Joint (const ::std::size_t &dofPosition, const ::std::size_t &dofVelocity) | |
virtual | ~Joint () |
virtual void | clip (::rl::math::Vector &q) const |
virtual ::rl::math::Real | distance (const ::rl::math::Vector &q1, const ::rl::math::Vector &q2) const |
void | forwardAcceleration () |
void | forwardDynamics1 () |
void | forwardDynamics2 () |
void | forwardDynamics3 () |
void | forwardVelocity () |
virtual ::rl::math::Vector | generatePositionGaussian (const ::rl::math::ConstVectorRef &rand, const ::rl::math::ConstVectorRef &mean, const ::rl::math::ConstVectorRef &sigma) const |
virtual ::rl::math::Vector | generatePositionUniform (const ::rl::math::ConstVectorRef &rand) const |
const ::rl::math::Vector & | getAcceleration () const |
const ::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > & | getAccelerationUnits () const |
::std::size_t | getDof () const |
::std::size_t | getDofPosition () const |
const ::rl::math::Vector & | getMaximum () const |
const ::rl::math::Vector & | getMinimum () const |
const ::rl::math::Vector & | getPosition () const |
const ::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > & | getPositionUnits () const |
const ::rl::math::Vector & | getTorque () const |
const ::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > & | getTorqueUnits () const |
const ::rl::math::Vector & | getSpeed () const |
const ::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > & | getSpeedUnits () const |
const ::rl::math::Vector & | getVelocity () const |
const ::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > & | getVelocityUnits () const |
virtual void | interpolate (const ::rl::math::Vector &q1, const ::rl::math::Vector &q2, const ::rl::math::Real &alpha, ::rl::math::Vector &q) const |
void | inverseForce () |
virtual bool | isValid (const ::rl::math::Vector &q) const |
virtual void | normalize (::rl::math::Vector &q) const |
void | setAcceleration (const ::rl::math::Vector &qdd) |
virtual void | setPosition (const ::rl::math::Vector &q)=0 |
void | setTorque (const ::rl::math::Vector &tau) |
void | setVelocity (const ::rl::math::Vector &qd) |
virtual void | step (const ::rl::math::Vector &q1, const ::rl::math::Vector &qdot, ::rl::math::Vector &q2) const |
virtual ::rl::math::Real | transformedDistance (const ::rl::math::Vector &q1, const ::rl::math::Vector &q2) const |
Public Member Functions inherited from rl::mdl::Transform | |
Transform () | |
virtual | ~Transform () |
void | forwardPosition () |
const Edge & | getEdgeDescriptor () const |
virtual void | inverseDynamics1 () |
virtual void | inverseDynamics2 () |
void | setEdgeDescriptor (const Edge &descriptor) |
Public Member Functions inherited from rl::mdl::Element | |
Element () | |
virtual | ~Element () |
const ::std::string & | getName () const |
void | setName (const ::std::string &name) |
Public Attributes | |
::rl::math::MotionVector | a |
::rl::math::MotionVector | c |
::rl::math::Matrix | D |
::rl::math::Vector | max |
::rl::math::Vector | min |
::rl::math::Vector | offset |
::rl::math::Vector | q |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | qUnits |
::rl::math::Vector | qd |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | qdUnits |
::rl::math::Vector | qdd |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | qddUnits |
::rl::math::Matrix | S |
::rl::math::Vector | speed |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | speedUnits |
::rl::math::Vector | tau |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | tauUnits |
::rl::math::Vector | u |
::rl::math::Matrix | U |
::rl::math::MotionVector | v |
::Eigen::Matrix< bool, ::Eigen::Dynamic, 1 > | wraparound |
Public Attributes inherited from rl::mdl::Transform | |
Frame * | in |
Frame * | out |
::rl::math::Transform | t |
::rl::math::PlueckerTransform | x |
Public Attributes inherited from rl::mdl::Element | |
Compound * | compound |
Additional Inherited Members | |
Public Types inherited from rl::mdl::Transform | |
typedef ::boost::adjacency_list< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, ::boost::listS > | Tree |
typedef Tree::edge_descriptor | Edge |
rl::mdl::Joint::Joint | ( | const ::std::size_t & | dofPosition, |
const ::std::size_t & | dofVelocity | ||
) |
|
virtual |
|
virtual |
Reimplemented in rl::mdl::Spherical.
rl::math::Real rl::mdl::Joint::distance | ( | const ::rl::math::Vector & | q1, |
const ::rl::math::Vector & | q2 | ||
) | const |
|
virtual |
Reimplemented from rl::mdl::Transform.
|
virtual |
Reimplemented from rl::mdl::Transform.
|
virtual |
Reimplemented from rl::mdl::Transform.
|
virtual |
Reimplemented from rl::mdl::Transform.
|
virtual |
Reimplemented from rl::mdl::Transform.
rl::math::Vector rl::mdl::Joint::generatePositionGaussian | ( | const ::rl::math::ConstVectorRef & | rand, |
const ::rl::math::ConstVectorRef & | mean, | ||
const ::rl::math::ConstVectorRef & | sigma | ||
) | const |
rl::math::Vector rl::mdl::Joint::generatePositionUniform | ( | const ::rl::math::ConstVectorRef & | rand | ) | const |
const ::rl::math::Vector & rl::mdl::Joint::getAcceleration | ( | ) | const |
const ::Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > & rl::mdl::Joint::getAccelerationUnits | ( | ) | const |
std::size_t rl::mdl::Joint::getDof | ( | ) | const |
std::size_t rl::mdl::Joint::getDofPosition | ( | ) | const |
const ::rl::math::Vector & rl::mdl::Joint::getMaximum | ( | ) | const |
const ::rl::math::Vector & rl::mdl::Joint::getMinimum | ( | ) | const |
const ::rl::math::Vector & rl::mdl::Joint::getPosition | ( | ) | const |
const ::Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > & rl::mdl::Joint::getPositionUnits | ( | ) | const |
const ::rl::math::Vector & rl::mdl::Joint::getSpeed | ( | ) | const |
const ::Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > & rl::mdl::Joint::getSpeedUnits | ( | ) | const |
const ::rl::math::Vector & rl::mdl::Joint::getTorque | ( | ) | const |
const ::Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > & rl::mdl::Joint::getTorqueUnits | ( | ) | const |
const ::rl::math::Vector & rl::mdl::Joint::getVelocity | ( | ) | const |
const ::Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > & rl::mdl::Joint::getVelocityUnits | ( | ) | const |
|
virtual |
Reimplemented in rl::mdl::Spherical, and rl::mdl::Revolute.
|
virtual |
Reimplemented from rl::mdl::Transform.
|
virtual |
|
virtual |
Reimplemented in rl::mdl::Spherical, and rl::mdl::Revolute.
void rl::mdl::Joint::setAcceleration | ( | const ::rl::math::Vector & | qdd | ) |
|
pure virtual |
Implemented in rl::mdl::Spherical, rl::mdl::Revolute, rl::mdl::Prismatic, rl::mdl::Helical, and rl::mdl::Cylindrical.
void rl::mdl::Joint::setTorque | ( | const ::rl::math::Vector & | tau | ) |
void rl::mdl::Joint::setVelocity | ( | const ::rl::math::Vector & | qd | ) |
|
virtual |
Reimplemented in rl::mdl::Spherical.
rl::math::Real rl::mdl::Joint::transformedDistance | ( | const ::rl::math::Vector & | q1, |
const ::rl::math::Vector & | q2 | ||
) | const |
::rl::math::MotionVector rl::mdl::Joint::a |
::rl::math::MotionVector rl::mdl::Joint::c |
::rl::math::Matrix rl::mdl::Joint::D |
::rl::math::Vector rl::mdl::Joint::max |
::rl::math::Vector rl::mdl::Joint::min |
::rl::math::Vector rl::mdl::Joint::offset |
::rl::math::Vector rl::mdl::Joint::q |
::rl::math::Vector rl::mdl::Joint::qd |
::rl::math::Vector rl::mdl::Joint::qdd |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1> rl::mdl::Joint::qddUnits |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1> rl::mdl::Joint::qdUnits |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1> rl::mdl::Joint::qUnits |
::rl::math::Matrix rl::mdl::Joint::S |
::rl::math::Vector rl::mdl::Joint::speed |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1> rl::mdl::Joint::speedUnits |
::rl::math::Vector rl::mdl::Joint::tau |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1> rl::mdl::Joint::tauUnits |
::rl::math::Vector rl::mdl::Joint::u |
::rl::math::Matrix rl::mdl::Joint::U |
::rl::math::MotionVector rl::mdl::Joint::v |
::Eigen::Matrix<bool, ::Eigen::Dynamic, 1> rl::mdl::Joint::wraparound |