hmi.physics.featherstone
Class BallJoint
java.lang.Object
hmi.physics.featherstone.BallJoint
- All Implemented Interfaces:
- Joint
public class BallJoint
- extends Object
- implements Joint
|
Field Summary |
(package private) float[] |
tempq
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tempq
float[] tempq
BallJoint
public BallJoint()
jcalc
public void jcalc(float[] Xj,
float[] S,
float[] vj,
float[] cj,
float[] q,
float[] qdot)
- q is rotation quaternion, qdot = w
- Specified by:
jcalc in interface Joint
- Parameters:
Xj - output: spatial joint transform by qS - output: joint motion subspace matrix (size 6xn)vj - output: joint spatial velocity (size 6)cj - output: velocity dependent spatial acceleration of the joint (size 6)q - input: joint DoF values (typically size n)qdot - input: time derivative of joint DoF values (typically size n)
getQDimension
public int getQDimension()
- Specified by:
getQDimension in interface Joint
getQDotDimension
public int getQDotDimension()
- Specified by:
getQDotDimension in interface Joint
getSWidth
public int getSWidth()
- Specified by:
getSWidth in interface Joint