Variables | |
int | damp = 1e-12 |
data = model.createData() | |
int | DT = 1e-1 |
int | eps = 1e-4 |
err = pinocchio.log(iMd).vector | |
int | i = 0 |
iMd = data.oMi[JOINT_ID].actInv(oMdes) | |
int | IT_MAX = 1000 |
J = pinocchio.computeJointJacobian(model,data,q,JOINT_ID) | |
int | JOINT_ID = 6 |
model = pinocchio.buildSampleModelManipulator() | |
oMdes = pinocchio.SE3(np.eye(3), np.array([1.0, 0.0, 1.0])) | |
q = pinocchio.neutral(model) | |
bool | success = True |
v = - J.T.dot(solve(J.dot(J.T) + damp * np.eye(6), err)) | |
int inverse-kinematics.damp = 1e-12 |
Definition at line 18 of file inverse-kinematics.py.
inverse-kinematics.data = model.createData() |
Definition at line 9 of file inverse-kinematics.py.
int inverse-kinematics.DT = 1e-1 |
Definition at line 17 of file inverse-kinematics.py.
int inverse-kinematics.eps = 1e-4 |
Definition at line 15 of file inverse-kinematics.py.
inverse-kinematics.err = pinocchio.log(iMd).vector |
Definition at line 24 of file inverse-kinematics.py.
int inverse-kinematics.i = 0 |
Definition at line 20 of file inverse-kinematics.py.
Definition at line 23 of file inverse-kinematics.py.
int inverse-kinematics.IT_MAX = 1000 |
Definition at line 16 of file inverse-kinematics.py.
inverse-kinematics.J = pinocchio.computeJointJacobian(model,data,q,JOINT_ID) |
Definition at line 31 of file inverse-kinematics.py.
int inverse-kinematics.JOINT_ID = 6 |
Definition at line 11 of file inverse-kinematics.py.
inverse-kinematics.model = pinocchio.buildSampleModelManipulator() |
Definition at line 8 of file inverse-kinematics.py.
inverse-kinematics.oMdes = pinocchio.SE3(np.eye(3), np.array([1.0, 0.0, 1.0])) |
Definition at line 12 of file inverse-kinematics.py.
inverse-kinematics.q = pinocchio.neutral(model) |
Definition at line 14 of file inverse-kinematics.py.
bool inverse-kinematics.success = True |
Definition at line 26 of file inverse-kinematics.py.
Definition at line 33 of file inverse-kinematics.py.