#include <kinematic_model.h>
Public Member Functions | |
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 |
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 &groupName, const std::vector< const JointModel * > &groupJoints) | |
~JointModelGroup (void) | |
Private Attributes | |
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 child link_models in the order they should be updated. | |
Friends | |
class | KinematicModel |
Definition at line 417 of file kinematic_model.h.
planning_models::KinematicModel::JointModelGroup::JointModelGroup | ( | const std::string & | groupName, | |
const std::vector< const JointModel * > & | groupJoints | |||
) |
Definition at line 958 of file kinematic_model.cpp.
planning_models::KinematicModel::JointModelGroup::~JointModelGroup | ( | void | ) |
Definition at line 1009 of file kinematic_model.cpp.
const planning_models::KinematicModel::JointModel * planning_models::KinematicModel::JointModelGroup::getJointModel | ( | const std::string & | joint | ) |
Get a joint by its name.
Definition at line 1018 of file kinematic_model.cpp.
const std::vector<std::string>& planning_models::KinematicModel::JointModelGroup::getJointModelNames | ( | ) | const [inline] |
Definition at line 443 of file kinematic_model.h.
const std::vector<const JointModel*>& planning_models::KinematicModel::JointModelGroup::getJointModels | ( | ) | const [inline] |
Definition at line 438 of file kinematic_model.h.
const std::vector<const JointModel*>& planning_models::KinematicModel::JointModelGroup::getJointRoots | ( | ) | const [inline] |
Definition at line 453 of file kinematic_model.h.
const std::string& planning_models::KinematicModel::JointModelGroup::getName | ( | ) | const [inline] |
Definition at line 427 of file kinematic_model.h.
const std::vector<const LinkModel*>& planning_models::KinematicModel::JointModelGroup::getUpdatedLinkModels | ( | ) | const [inline] |
Definition at line 448 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 1013 of file kinematic_model.cpp.
friend class KinematicModel [friend] |
Definition at line 419 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 470 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 464 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 467 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 473 of file kinematic_model.h.
std::string planning_models::KinematicModel::JointModelGroup::name_ [private] |
Name of group.
Definition at line 461 of file kinematic_model.h.
std::vector<const LinkModel*> planning_models::KinematicModel::JointModelGroup::updated_link_model_vector_ [private] |
The list of child link_models in the order they should be updated.
Definition at line 476 of file kinematic_model.h.