Robotics Library
0.7.0
|
#include <Model.h>
Public Member Functions | |
Model () | |
virtual | ~Model () |
void | add (Compound *compound, const Frame *a, const Frame *b) |
void | add (Frame *frame) |
void | add (Transform *transform, const Frame *a, const Frame *b) |
bool | areColliding (const ::std::size_t &i, const ::std::size_t &j) const |
Model * | clone () const |
::rl::math::Vector | generatePositionGaussian (const ::rl::math::Vector &rand, const ::rl::math::Vector &mean, const ::rl::math::Vector &sigma) const |
::rl::math::Vector | generatePositionUniform (const ::rl::math::Vector &rand) const |
::rl::math::Vector | getAcceleration () const |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | getAccelerationUnits () const |
::std::size_t | getBodies () const |
Body * | getBody (const ::std::size_t &i) const |
::std::size_t | getDof () const |
::std::size_t | getDofPosition () const |
const ::rl::math::Transform & | getFrame (const ::std::size_t &i) const |
const ::rl::math::Matrix & | getGammaPosition () const |
const ::rl::math::Matrix & | getGammaVelocity () const |
const ::rl::math::Matrix & | getGammaPositionInverse () const |
const ::rl::math::Matrix & | getGammaVelocityInverse () const |
::rl::math::Vector | getHomePosition () const |
Joint * | getJoint (const ::std::size_t &i) const |
::std::size_t | getJoints () const |
const ::rl::math::MotionVector & | getOperationalAcceleration (const ::std::size_t &i) const |
::std::size_t | getOperationalDof () const |
const ::rl::math::ForceVector & | getOperationalForce (const ::std::size_t &i) const |
const ::rl::math::Transform & | getOperationalPosition (const ::std::size_t &i) const |
const ::rl::math::MotionVector & | getOperationalVelocity (const ::std::size_t &i) const |
const ::std::string & | getManufacturer () const |
::rl::math::Vector | getMaximum () const |
::rl::math::Vector | getMinimum () const |
const ::std::string & | getName () const |
::rl::math::Vector | getPosition () const |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | getPositionUnits () const |
::rl::math::Vector | getTorque () const |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | getTorqueUnits () const |
::rl::math::Vector | getSpeed () const |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | getSpeedUnits () const |
::rl::math::Vector | getVelocity () const |
::Eigen::Matrix< ::rl::math::Unit, ::Eigen::Dynamic, 1 > | getVelocityUnits () const |
bool | isColliding (const ::std::size_t &i) const |
void | replace (Compound *compound, Transform *transform) |
void | replace (Transform *transform, Compound *compound) |
void | remove (Compound *compound) |
void | remove (Frame *frame) |
void | remove (Transform *transform) |
void | setAcceleration (const ::rl::math::Vector &qdd) |
void | setGammaPosition (const ::rl::math::Matrix &gammaPosition) |
void | setGammaVelocity (const ::rl::math::Matrix &gammaVelocity) |
void | setHomePosition (const ::rl::math::Vector &home) |
void | setManufacturer (const ::std::string &manufacturer) |
void | setName (const ::std::string &name) |
void | setOperationalVelocity (const ::std::size_t &i, const ::rl::math::MotionVector &v) const |
void | setPosition (const ::rl::math::Vector &q) |
void | setTorque (const ::rl::math::Vector &tau) |
void | setVelocity (const ::rl::math::Vector &qd) |
::rl::math::Transform & | tool (const ::std::size_t &i=0) |
const ::rl::math::Transform & | tool (const ::std::size_t &i=0) const |
virtual void | update () |
::rl::math::Transform & | world () |
const ::rl::math::Transform & | world () const |
Protected Types | |
typedef ::boost::adjacency_list< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, ::boost::property< ::boost::vertex_color_t, Compound *, ::std::shared_ptr< Frame > >, ::boost::property< ::boost::edge_weight_t, Compound *, ::std::shared_ptr< Transform > >, ::boost::no_property, ::boost::listS > | Tree |
typedef ::boost::graph_traits< Tree >::edge_descriptor | Edge |
typedef ::boost::graph_traits< Tree >::edge_iterator | EdgeIterator |
typedef ::std::pair< EdgeIterator, EdgeIterator > | EdgeIteratorPair |
typedef ::boost::graph_traits< Tree >::in_edge_iterator | InEdgeIterator |
typedef ::std::pair< InEdgeIterator, InEdgeIterator > | InEdgeIteratorPair |
typedef ::boost::graph_traits< Tree >::out_edge_iterator | OutEdgeIterator |
typedef ::std::pair< OutEdgeIterator, OutEdgeIterator > | OutEdgeIteratorPair |
typedef ::boost::graph_traits< Tree >::vertex_descriptor | Vertex |
typedef ::boost::graph_traits< Tree >::vertex_iterator | VertexIterator |
typedef ::std::pair< VertexIterator, VertexIterator > | VertexIteratorPair |
Protected Member Functions | |
void | update (const Vertex &u) |
Protected Attributes | |
::std::vector< Body * > | bodies |
::std::vector< Element * > | elements |
::std::vector< Frame * > | frames |
::rl::math::Matrix | gammaPosition |
::rl::math::Matrix | gammaVelocity |
::rl::math::Vector | home |
::rl::math::Matrix | invGammaPosition |
::rl::math::Matrix | invGammaVelocity |
::std::vector< Joint * > | joints |
::std::vector< Vertex > | leaves |
::std::string | manufacturer |
::std::string | name |
Vertex | root |
::std::vector< Edge > | tools |
::std::vector< Transform * > | transforms |
Tree | tree |
Friends | |
class | Compound |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
rl::mdl::Model::Model | ( | ) |
|
virtual |
void rl::mdl::Model::add | ( | Frame * | frame | ) |
bool rl::mdl::Model::areColliding | ( | const ::std::size_t & | i, |
const ::std::size_t & | j | ||
) | const |
Model * rl::mdl::Model::clone | ( | ) | const |
rl::math::Vector rl::mdl::Model::generatePositionGaussian | ( | const ::rl::math::Vector & | rand, |
const ::rl::math::Vector & | mean, | ||
const ::rl::math::Vector & | sigma | ||
) | const |
rl::math::Vector rl::mdl::Model::generatePositionUniform | ( | const ::rl::math::Vector & | rand | ) | const |
rl::math::Vector rl::mdl::Model::getAcceleration | ( | ) | const |
Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > rl::mdl::Model::getAccelerationUnits | ( | ) | const |
std::size_t rl::mdl::Model::getBodies | ( | ) | const |
Body * rl::mdl::Model::getBody | ( | const ::std::size_t & | i | ) | const |
std::size_t rl::mdl::Model::getDof | ( | ) | const |
std::size_t rl::mdl::Model::getDofPosition | ( | ) | const |
const ::rl::math::Transform & rl::mdl::Model::getFrame | ( | const ::std::size_t & | i | ) | const |
const ::rl::math::Matrix & rl::mdl::Model::getGammaPosition | ( | ) | const |
const ::rl::math::Matrix & rl::mdl::Model::getGammaPositionInverse | ( | ) | const |
const ::rl::math::Matrix & rl::mdl::Model::getGammaVelocity | ( | ) | const |
const ::rl::math::Matrix & rl::mdl::Model::getGammaVelocityInverse | ( | ) | const |
rl::math::Vector rl::mdl::Model::getHomePosition | ( | ) | const |
Joint * rl::mdl::Model::getJoint | ( | const ::std::size_t & | i | ) | const |
std::size_t rl::mdl::Model::getJoints | ( | ) | const |
const ::std::string & rl::mdl::Model::getManufacturer | ( | ) | const |
rl::math::Vector rl::mdl::Model::getMaximum | ( | ) | const |
rl::math::Vector rl::mdl::Model::getMinimum | ( | ) | const |
const ::std::string & rl::mdl::Model::getName | ( | ) | const |
const ::rl::math::MotionVector & rl::mdl::Model::getOperationalAcceleration | ( | const ::std::size_t & | i | ) | const |
std::size_t rl::mdl::Model::getOperationalDof | ( | ) | const |
const ::rl::math::ForceVector & rl::mdl::Model::getOperationalForce | ( | const ::std::size_t & | i | ) | const |
const ::rl::math::Transform & rl::mdl::Model::getOperationalPosition | ( | const ::std::size_t & | i | ) | const |
const ::rl::math::MotionVector & rl::mdl::Model::getOperationalVelocity | ( | const ::std::size_t & | i | ) | const |
rl::math::Vector rl::mdl::Model::getPosition | ( | ) | const |
Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > rl::mdl::Model::getPositionUnits | ( | ) | const |
rl::math::Vector rl::mdl::Model::getSpeed | ( | ) | const |
Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > rl::mdl::Model::getSpeedUnits | ( | ) | const |
rl::math::Vector rl::mdl::Model::getTorque | ( | ) | const |
Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > rl::mdl::Model::getTorqueUnits | ( | ) | const |
rl::math::Vector rl::mdl::Model::getVelocity | ( | ) | const |
Eigen::Matrix<::rl::math::Unit,::Eigen::Dynamic, 1 > rl::mdl::Model::getVelocityUnits | ( | ) | const |
bool rl::mdl::Model::isColliding | ( | const ::std::size_t & | i | ) | const |
void rl::mdl::Model::remove | ( | Compound * | compound | ) |
void rl::mdl::Model::remove | ( | Frame * | frame | ) |
void rl::mdl::Model::remove | ( | Transform * | transform | ) |
void rl::mdl::Model::setAcceleration | ( | const ::rl::math::Vector & | qdd | ) |
void rl::mdl::Model::setGammaPosition | ( | const ::rl::math::Matrix & | gammaPosition | ) |
void rl::mdl::Model::setGammaVelocity | ( | const ::rl::math::Matrix & | gammaVelocity | ) |
void rl::mdl::Model::setHomePosition | ( | const ::rl::math::Vector & | home | ) |
void rl::mdl::Model::setManufacturer | ( | const ::std::string & | manufacturer | ) |
void rl::mdl::Model::setName | ( | const ::std::string & | name | ) |
void rl::mdl::Model::setOperationalVelocity | ( | const ::std::size_t & | i, |
const ::rl::math::MotionVector & | v | ||
) | const |
void rl::mdl::Model::setPosition | ( | const ::rl::math::Vector & | q | ) |
void rl::mdl::Model::setTorque | ( | const ::rl::math::Vector & | tau | ) |
void rl::mdl::Model::setVelocity | ( | const ::rl::math::Vector & | qd | ) |
rl::math::Transform & rl::mdl::Model::tool | ( | const ::std::size_t & | i = 0 | ) |
const ::rl::math::Transform & rl::mdl::Model::tool | ( | const ::std::size_t & | i = 0 | ) | const |
|
virtual |
Reimplemented in rl::mdl::Kinematic, and rl::mdl::Dynamic.
|
protected |
rl::math::Transform & rl::mdl::Model::world | ( | ) |
const ::rl::math::Transform & rl::mdl::Model::world | ( | ) | const |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |