|
|
#include <RobotAPI/libraries/natik/NaturalIK.h>
Classes | |
| struct | ArmJoints |
| struct | Parameters |
| struct | SoechtingAngles |
| struct | SoechtingForwardPositions |
The NaturalIK class.
Calculates natural looking IK solutions by
WARNING: Only works if robot model is facing forward in Y-direction (like ARMAR-III, ARMAR-IV, ARMAR-6) WARNING2: Soechting model is not valid for all targets. However, elbow position seems to extrapolate fine.
Definition at line 52 of file NaturalIK.h.
| NaturalIK | ( | std::string | side, |
| Eigen::Vector3f | shoulderPos = Eigen::Vector3f::Zero(), |
||
| float | scale = 1 |
||
| ) |
Definition at line 37 of file NaturalIK.cpp.
| NaturalDiffIK::Result calculateIK | ( | const Eigen::Matrix4f & | targetPose, |
| NaturalIK::ArmJoints | arm, | ||
| NaturalDiffIK::Mode | setOri, | ||
| NaturalIK::Parameters | params = NaturalIK::Parameters() |
||
| ) |
| NaturalDiffIK::Result calculateIK | ( | const Eigen::Matrix4f & | targetPose, |
| ArmJoints | arm, | ||
| NaturalIK::Parameters | params = NaturalIK::Parameters() |
||
| ) |
Definition at line 88 of file NaturalIK.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| NaturalDiffIK::Result calculateIKpos | ( | const Eigen::Vector3f & | targetPos, |
| NaturalIK::ArmJoints | arm, | ||
| NaturalIK::Parameters | params = NaturalIK::Parameters() |
||
| ) |
Definition at line 105 of file NaturalIK.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| NaturalIK::SoechtingAngles CalculateSoechtingAngles | ( | Eigen::Vector3f | target | ) |
NaturalIK::CalculateSoechtingAngles.
| target | Pointing target in mm, relative to the soulder position. X: right, Y: forward, Z: up |
| side | Left or Right |
| scale | scale factor to match the robots arm length to the human arm length |
Definition at line 142 of file NaturalIK.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| NaturalIK::SoechtingForwardPositions forwardKinematics | ( | SoechtingAngles | sa | ) |
| float getLowerArmLength | ( | ) | const |
Definition at line 245 of file NaturalIK.cpp.
| float getScale | ( | ) |
Definition at line 227 of file NaturalIK.cpp.
| Eigen::Vector3f getShoulderPos | ( | ) |
Definition at line 136 of file NaturalIK.cpp.
| float getUpperArmLength | ( | ) | const |
Definition at line 233 of file NaturalIK.cpp.
| void setLowerArmLength | ( | float | value | ) |
Definition at line 251 of file NaturalIK.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setScale | ( | float | scale | ) |
Definition at line 221 of file NaturalIK.cpp.
| void setUpperArmLength | ( | float | value | ) |
Definition at line 239 of file NaturalIK.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| NaturalIK::SoechtingForwardPositions solveSoechtingIK | ( | const Eigen::Vector3f & | targetPos, |
| std::optional< float > | minElbowHeight = std::nullopt |
||
| ) |
Definition at line 43 of file NaturalIK.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: