|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yobotics.simulationconstructionset.Joint
com.yobotics.simulationconstructionset.PinJoint
com.yobotics.simulationconstructionset.UniversalJoint
public class UniversalJoint
| Field Summary |
|---|
| Fields inherited from class com.yobotics.simulationconstructionset.Joint |
|---|
MAX_ROT_ACCEL, MAX_TRANS_ACCEL, X, Y, Z |
| Constructor Summary | |
|---|---|
UniversalJoint(java.lang.String jname1,
java.lang.String jname2,
javax.vecmath.Vector3d offset,
Robot rob,
int firstAxis,
int secondAxis)
|
|
| Method Summary | |
|---|---|
void |
addCameraMount(CameraMount mount)
Adds the specified camera mount to this joint. |
void |
addExternalForcePoint(ExternalForcePoint point)
Adds the specified ExternalForcePoint. |
void |
addGroundContactPoint(GroundContactPoint point)
Adds the specified GroundContactPoint to this joint. |
void |
addJoint(Joint nextJoint)
Adds the specified joint as a child of this joint. |
void |
addKinematicPoint(KinematicPoint point)
Adds the specified KinematicPoint to this joint. |
void |
getRotationFromWorld(javax.vecmath.Matrix3d rotation)
Retrieves the rotational component of the transform between world space and this joint space. |
void |
getRotationFromWorld(javax.vecmath.Quat4d rotation)
Retrieves the quaternion representation of the rotational component of the transform between world space and this joint space. |
void |
getState(double[] state)
Inserts the given position and velocity of this pin joint into the provided array. |
void |
getTranslationFromWorld(javax.vecmath.Vector3d translation)
Retrieves the translational component of the transform between world space and this joint space in vector form. |
void |
setDamping(double b_damp)
Specifies the overall damping constant for this joint. |
void |
setDamping(int axis,
double b_damp)
|
void |
setInitialState(double q1_init,
double qd1_init,
double q2_init,
double qd2_init)
|
void |
setLimitStops(int axis,
double q_min,
double q_max,
double k_limit,
double b_limit)
|
void |
setLink(Link l)
Sets the link for this joint. |
| Methods inherited from class com.yobotics.simulationconstructionset.PinJoint |
|---|
getQ, getQD, getQDD, getTau, setInitialState, setLimitStops, setTau, setTorqueLimits, setVelocityLimits |
| Methods inherited from class com.yobotics.simulationconstructionset.Joint |
|---|
addRangeSensor, changeOffsetVector, changeOffsetVector, getChildrenJoints, getGroundContactPointGroup, getJointAxis, getLink, getName, getOffset, getTransformFromWorld, getTransformFromWorld, getXYZFromWorld, getYawPitchRollFromWorld, isDynamic, recursiveDecideGroundContactPointsInContact, recursiveUpdateAllGroundContactPointVelocities, setDynamic, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UniversalJoint(java.lang.String jname1,
java.lang.String jname2,
javax.vecmath.Vector3d offset,
Robot rob,
int firstAxis,
int secondAxis)
| Method Detail |
|---|
public void addJoint(Joint nextJoint)
Joint
addJoint in class JointnextJoint - Child joint to be added.public void setLink(Link l)
Joint
setLink in class Jointl - New link for this joint.public void addCameraMount(CameraMount mount)
Joint
addCameraMount in class Jointmount - CameraMount to be added.CameraMountpublic void addKinematicPoint(KinematicPoint point)
Joint
addKinematicPoint in class Jointpoint - KinematicPoint to be added.KinematicPointpublic void addGroundContactPoint(GroundContactPoint point)
Joint
addGroundContactPoint in class Jointpoint - GroundContactPointGroundContactPoint,
GroundContactModelpublic void addExternalForcePoint(ExternalForcePoint point)
Joint
addExternalForcePoint in class Jointpoint - ExternalForcePointExternalForcePoint
public void setLimitStops(int axis,
double q_min,
double q_max,
double k_limit,
double b_limit)
public void setDamping(int axis,
double b_damp)
public void setDamping(double b_damp)
PinJoint
setDamping in class PinJointb_damp - general damping constant for this joint
public void setInitialState(double q1_init,
double qd1_init,
double q2_init,
double qd2_init)
public void getState(double[] state)
PinJoint
getState in class PinJointstate - double[]public void getRotationFromWorld(javax.vecmath.Matrix3d rotation)
Joint
getRotationFromWorld in class Jointrotation - Matrix3d containing the rotational component.public void getRotationFromWorld(javax.vecmath.Quat4d rotation)
Joint
getRotationFromWorld in class Jointrotation - Quat4d to store the rotational transform.public void getTranslationFromWorld(javax.vecmath.Vector3d translation)
Joint
getTranslationFromWorld in class Jointtranslation - Vector3d representing the translation between world and joint space.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||