Skip to content
Snippets Groups Projects
Commit 55ae0b7a authored by Simon Ottenhaus's avatar Simon Ottenhaus
Browse files

re-added SimpleDiffIKProvider

parent 3c20ed82
No related branches found
No related tags found
No related merge requests found
......@@ -111,4 +111,19 @@ namespace armarx
///@brief Use this to check a trajectory of waypoints
static Reachability CalculateReachability(const std::vector<Eigen::Matrix4f> targets, const Eigen::VectorXf& initialJV, VirtualRobot::RobotNodeSetPtr rns, VirtualRobot::RobotNodePtr tcp = VirtualRobot::RobotNodePtr(), Parameters params = Parameters());
};
class SimpleDiffIKProvider :
public DiffIKProvider
{
public:
SimpleDiffIKProvider(VirtualRobot::RobotNodeSetPtr rns, VirtualRobot::RobotNodePtr tcp = VirtualRobot::RobotNodePtr(), SimpleDiffIK::Parameters params = SimpleDiffIK::Parameters());
DiffIKResult SolveAbsolute(const Eigen::Matrix4f& targetPose);
DiffIKResult SolveRelative(const Eigen::Matrix4f& targetPose, const Eigen::VectorXf& startJointValues);
private:
VirtualRobot::RobotNodeSetPtr rns;
VirtualRobot::RobotNodePtr tcp;
SimpleDiffIK::Parameters params;
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment