Skip to content

Commit

Permalink
Expose Inverse Kinematics in Kinematics Group
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Dec 21, 2024
1 parent 3f1b95c commit 92fa862
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ class KinematicGroup : public JointGroup
*/
std::vector<std::string> getAllPossibleTipLinkNames() const;

/**
* @brief Get the inverse kinematics sovler
* @return The inverse kinematics solver
*/
const InverseKinematics& getInverseKinematics() const;

private:
std::vector<std::string> joint_names_;
bool reorder_required_{ false };
Expand Down
3 changes: 3 additions & 0 deletions tesseract_kinematics/core/src/kinematic_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,7 @@ std::vector<std::string> KinematicGroup::getAllPossibleTipLinkNames() const

return ik_tip_links;
}

const InverseKinematics& KinematicGroup::getInverseKinematics() const { return *inv_kin_; }

} // namespace tesseract_kinematics

0 comments on commit 92fa862

Please sign in to comment.