Go to the documentation of this file.
6 #ifndef CNOID_BODY_COMPOSITE_IK_H
7 #define CNOID_BODY_COMPOSITE_IK_H
10 #include <cnoid/Referenced>
13 #include "exportdecl.h"
28 void reset(
Body* body,
Link* targetLink);
29 bool addBaseLink(
Link* link);
34 std::shared_ptr<JointPath>
jointPath(
int index)
const {
return paths[index]; }
35 Link* baseLink(
int index)
const;
37 void setMaxIkError(
double e);
40 virtual bool calcInverseKinematics(
const Isometry3& T)
override;
41 virtual bool calcRemainingPartForwardKinematicsForInverseKinematics()
override;
43 [[deprecated(
"Use calcInverseKinematics(const Isometry3& T).")]]
47 [[deprecated(
"Use setMaxIkError.")]]
49 [[deprecated(
"Use hasCustomIK.")]]
55 std::vector<std::shared_ptr<JointPath>> paths;
56 std::vector<double> q0;
57 std::shared_ptr<LinkTraverse> remainingLinkTraverse;
int numJointPaths() const
Definition: CompositeIK.h:33
Eigen::Vector3d Vector3
Definition: EigenTypes.h:57
Eigen::Isometry3d Isometry3
Definition: EigenTypes.h:73
Eigen::Matrix3d Matrix3
Definition: EigenTypes.h:56
bool calcInverseKinematics(const Vector3 &p, const Matrix3 &R)
Definition: CompositeIK.h:44
virtual bool calcInverseKinematics(const Isometry3 &T)=0
bool hasCustomIK() const
Definition: CompositeIK.h:38
Definition: AbstractSceneLoader.h:11
Definition: InverseKinematics.h:13
Link * targetLink()
Definition: CompositeIK.h:32
Body * body()
Definition: CompositeIK.h:31
bool hasAnalyticalIK() const
Definition: CompositeIK.h:50
void setMaxIKerror(double e)
Definition: CompositeIK.h:48
std::shared_ptr< JointPath > jointPath(int index) const
Definition: CompositeIK.h:34
Definition: CompositeIK.h:22