humoto
|
#include <model.h>
Classes | |
class | JointData |
Stores precomputed data for each joint. More... | |
Public Member Functions | |
Model () | |
Default constructor. It is necesary to load() model before using. More... | |
Model (const std::string &urdf_filename) | |
Construct using URDF model. More... | |
Model (const ModelParameters &model_parameters, const std::string &urdf_filename) | |
Construct using URDF model. More... | |
TagPartialCoMPtr | getCoMTag (const std::vector< std::string > &link_string_ids) const |
CoM Tag for several bodies. More... | |
TagCoMPtr | getCoMTag () const |
CoM tag. More... | |
std::size_t | getDOFNumber () const |
Return number of DoF. More... | |
TagPointPtr | getLinkCoMTag (const std::string &link_string_id) const |
Tag for the CoM of a link. More... | |
TagLinkPtr | getLinkTag (const std::string &link_string_id) const |
Tag for a link. More... | |
TagPointPtr | getPointTag (const std::string &link_string_id, const etools::Vector3 &position_local) const |
Tag for a point on a link. More... | |
void | getTagJacobian (Eigen::MatrixXd &jacobian, const TagPartialCoMPtr tag) const |
Get CoM jacbian for a set of bodies. More... | |
template<SpatialType::Type t_jacobian_type> | |
void | getTagJacobian (Eigen::MatrixXd &jacobian, const TagLinkPtr tag) const |
Get Jacobian for a specific tag. More... | |
template<SpatialType::Type t_jacobian_type> | |
void | getTagJacobian (Eigen::MatrixXd &jacobian, const TagPointPtr tag) const |
Get Jacobian for a specific tag. More... | |
void | getTagJacobian (Eigen::MatrixXd &jacobian, const TagCoMPtr tag) const |
Compute CoM Jacobian of the robot. More... | |
double | getTagMass (const TagCoMPtr tag) const |
Get mass. More... | |
double | getTagMass (const TagPartialCoMPtr tag) const |
Get mass. More... | |
double | getTagMass (const TagLinkPtr tag) const |
Get mass. More... | |
etools::Matrix3 | getTagOrientation (const TagLinkPtr tag) const |
Get orientation of a tag. More... | |
etools::Matrix3 | getTagOrientation (const TagPointPtr tag) const |
Get orientation of a tag. More... | |
rigidbody::RigidBodyPose | getTagPose (const TagLinkPtr tag) const |
Get tag pose. More... | |
rigidbody::RigidBodyPose | getTagPose (const TagPointPtr tag) const |
Get tag pose. More... | |
etools::Vector3 | getTagPosition (const TagPartialCoMPtr tag) const |
Get CoM of several bodies. More... | |
etools::Vector3 | getTagPosition (const TagLinkPtr tag) const |
Get position of a tag. More... | |
etools::Vector3 | getTagPosition (const TagPointPtr tag) const |
Get position of a tag. More... | |
etools::Vector3 | getTagPosition (const TagCoMPtr tag) const |
Get CoM of the robot. More... | |
void | load (const ModelParameters &model_parameters, const std::string &urdf_filename) |
Load URDF model. More... | |
void | load (const std::string &urdf_filename) |
Load URDF model. More... | |
void | update (const Eigen::VectorXd &joint_angles) |
Update model. More... | |
Public Attributes | |
ModelParameters | model_parameters_ |
RigidBodyDynamics::Model | rbdl_model_ |
double | total_mass_ |
Private Member Functions | |
etools::Vector3 | expressInRootFrame (const std::size_t link_id, const etools::Vector3 &point_body_coordinates) const |
Express local position in root frame. More... | |
std::size_t | getLinkId (const std::string &string_id) const |
Determines id of a body based on its string id. More... | |
RigidBodyDynamics::Math::SpatialTransform | getLinkTransform (const LinkId id) const |
Returns spatial transform for a link. More... | |
etools::Vector3 | getPointTagPosition (const std::size_t id, const etools::Vector3 &position_local) const |
Get position of a tag. More... | |
template<SpatialType::Type t_jacobian_type> | |
void | getTagJacobian (Eigen::MatrixXd &jacobian, const LinkId link_id, const etools::Vector3 tag_position) const |
Get Jacobian for a specific tag. More... | |
bool | isLinkFixed (const std::size_t link_id) const |
True if a body is fixed to its parent. More... | |
void | setDefaults () |
Initialization. More... | |
Private Attributes | |
std::vector< JointData > | joint_data_ |
|
inline |
|
inlineexplicit |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
private |
ModelParameters humoto::rbdl::Model::model_parameters_ |