#include <kinematic_model.h>
Public Member Functions | |
const std::vector< const JointModel * > & | getFixedJointModels () const |
const std::vector< const LinkModel * > & | getGroupLinkModels () const |
std::vector< std::string > | getGroupLinkNames () const |
const JointModel * | getJointModel (const std::string &joint) |
Get a joint by its name. | |
const std::vector< std::string > & | getJointModelNames () const |
const std::vector< const JointModel * > & | getJointModels () const |
const std::vector< const JointModel * > & | getJointRoots () const |
const std::string & | getName () const |
std::vector< std::string > | getUpdatedLinkModelNames () const |
const std::vector< const LinkModel * > & | getUpdatedLinkModels () const |
bool | hasJointModel (const std::string &joint) const |
Check if a joint is part of this group. | |
JointModelGroup (const std::string &name, const std::vector< const JointModel * > &joint_vector, const std::vector< const JointModel * > &fixed_joint_vector, const KinematicModel *parent_model) | |
~JointModelGroup (void) | |
Private Attributes | |
std::vector< const JointModel * > | fixed_joint_model_vector_ |
Fixed joint instances in this group. | |
std::vector< const LinkModel * > | group_link_model_vector_ |
The links that are on the direct lineage between joints and joint_roots_, as well as the children of the joint leafs. May not be in any particular order. | |
bool | is_valid_ |
std::map< std::string, const JointModel * > | joint_model_map_ |
A map from joint names to their instances. | |
std::vector< std::string > | joint_model_name_vector_ |
Names of joints in the order they appear in the group state. | |
std::vector< const JointModel * > | joint_model_vector_ |
Joint instances in the order they appear in the group state. | |
std::vector< const JointModel * > | joint_roots_ |
The list of joint models that are roots in this group. | |
std::string | name_ |
Name of group. | |
std::vector< const LinkModel * > | updated_link_model_vector_ |
The list of downstream link models in the order they should be updated. | |
Friends | |
class | KinematicModel |
Definition at line 472 of file kinematic_model.h.
planning_models::KinematicModel::JointModelGroup::JointModelGroup | ( | const std::string & | name, |
const std::vector< const JointModel * > & | joint_vector, | ||
const std::vector< const JointModel * > & | fixed_joint_vector, | ||
const KinematicModel * | parent_model | ||
) |
Definition at line 1212 of file kinematic_model.cpp.
Definition at line 1299 of file kinematic_model.cpp.
const std::vector<const JointModel*>& planning_models::KinematicModel::JointModelGroup::getFixedJointModels | ( | ) | const [inline] |
Definition at line 500 of file kinematic_model.h.
const std::vector<const LinkModel*>& planning_models::KinematicModel::JointModelGroup::getGroupLinkModels | ( | ) | const [inline] |
Definition at line 515 of file kinematic_model.h.
std::vector<std::string> planning_models::KinematicModel::JointModelGroup::getGroupLinkNames | ( | ) | const [inline] |
Definition at line 520 of file kinematic_model.h.
const planning_models::KinematicModel::JointModel * planning_models::KinematicModel::JointModelGroup::getJointModel | ( | const std::string & | joint | ) |
Get a joint by its name.
Definition at line 1308 of file kinematic_model.cpp.
const std::vector<std::string>& planning_models::KinematicModel::JointModelGroup::getJointModelNames | ( | ) | const [inline] |
Definition at line 505 of file kinematic_model.h.
const std::vector<const JointModel*>& planning_models::KinematicModel::JointModelGroup::getJointModels | ( | ) | const [inline] |
Definition at line 495 of file kinematic_model.h.
const std::vector<const JointModel*>& planning_models::KinematicModel::JointModelGroup::getJointRoots | ( | ) | const [inline] |
Definition at line 510 of file kinematic_model.h.
const std::string& planning_models::KinematicModel::JointModelGroup::getName | ( | void | ) | const [inline] |
Definition at line 484 of file kinematic_model.h.
std::vector<std::string> planning_models::KinematicModel::JointModelGroup::getUpdatedLinkModelNames | ( | ) | const [inline] |
Definition at line 534 of file kinematic_model.h.
const std::vector<const LinkModel*>& planning_models::KinematicModel::JointModelGroup::getUpdatedLinkModels | ( | ) | const [inline] |
Definition at line 529 of file kinematic_model.h.
bool planning_models::KinematicModel::JointModelGroup::hasJointModel | ( | const std::string & | joint | ) | const |
Check if a joint is part of this group.
Definition at line 1303 of file kinematic_model.cpp.
friend class KinematicModel [friend] |
Definition at line 474 of file kinematic_model.h.
std::vector<const JointModel*> planning_models::KinematicModel::JointModelGroup::fixed_joint_model_vector_ [private] |
Fixed joint instances in this group.
Definition at line 557 of file kinematic_model.h.
std::vector<const LinkModel*> planning_models::KinematicModel::JointModelGroup::group_link_model_vector_ [private] |
The links that are on the direct lineage between joints and joint_roots_, as well as the children of the joint leafs. May not be in any particular order.
Definition at line 568 of file kinematic_model.h.
Definition at line 545 of file kinematic_model.h.
std::map<std::string, const JointModel*> planning_models::KinematicModel::JointModelGroup::joint_model_map_ [private] |
A map from joint names to their instances.
Definition at line 560 of file kinematic_model.h.
std::vector<std::string> planning_models::KinematicModel::JointModelGroup::joint_model_name_vector_ [private] |
Names of joints in the order they appear in the group state.
Definition at line 551 of file kinematic_model.h.
std::vector<const JointModel*> planning_models::KinematicModel::JointModelGroup::joint_model_vector_ [private] |
Joint instances in the order they appear in the group state.
Definition at line 554 of file kinematic_model.h.
std::vector<const JointModel*> planning_models::KinematicModel::JointModelGroup::joint_roots_ [private] |
The list of joint models that are roots in this group.
Definition at line 563 of file kinematic_model.h.
std::string planning_models::KinematicModel::JointModelGroup::name_ [private] |
Name of group.
Definition at line 548 of file kinematic_model.h.
std::vector<const LinkModel*> planning_models::KinematicModel::JointModelGroup::updated_link_model_vector_ [private] |
The list of downstream link models in the order they should be updated.
Definition at line 571 of file kinematic_model.h.