Proxy IK problem solver class that iterates over a sequence of subproblems.
More...
#include <ScrewTheoryIkProblem.hpp>
|
using | Steps = std::vector< const ScrewTheoryIkSubproblem * > |
| Ordered sequence of IK subproblems needed to solve a IK problem.
|
|
using | Solutions = std::vector< KDL::JntArray > |
| Collection of global IK solutions.
|
|
|
enum | poe_term { EXP_KNOWN
, EXP_COMPUTED
, EXP_UNKNOWN
} |
|
using | Frames = std::vector< KDL::Frame > |
|
using | PoeTerms = std::vector< poe_term > |
|
|
| ScrewTheoryIkProblem (const PoeExpression &poe, const Steps &steps, bool reversed) |
|
void | recalculateFrames (const Solutions &solutions, Frames &frames, PoeTerms &poeTerms) |
|
bool | recalculateFrames (const Solutions &solutions, Frames &frames, PoeTerms &poeTerms, bool backwards) |
|
KDL::Frame | transformPoint (const KDL::JntArray &jointValues, const PoeTerms &poeTerms) |
|
This class is immutable. Instantiation is allowed by means of a static builder method.
- See also
- ScrewTheoryIkProblemBuilder
◆ create()
- Parameters
-
poe | A product of exponentials (POE) formula. |
steps | Collection of subproblems that solve this particular IK problem. |
reversed | True if the POE has been reversed (in order to find a valid solution). |
- Returns
- An instance of an IK problem solver.
◆ solve()
bool ScrewTheoryIkProblem::solve |
( |
const KDL::Frame & |
H_S_T, |
|
|
Solutions & |
solutions |
|
) |
| |
- Parameters
-
H_S_T | Target pose in cartesian space. |
solutions | Output vector of solutions stored as joint arrays. |
- Returns
- True if all solutions are reachable, false otherwise.
The documentation for this class was generated from the following files: