|
||||||||||
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 |
---|
addTau, getQ, getQD, getQDD, getTau, setInitialState, setLimitStops, setQ, setQd, setQdd, setTau, setTorqueLimits, setTorqueSpeedCurve, setVelocityLimits |
Methods inherited from class com.yobotics.simulationconstructionset.Joint |
---|
addRangeSensor, changeOffsetVector, changeOffsetVector, get3DRotation, getChildrenJoints, getExternalForcePoints, getGroundContactPointGroup, getJointAxis, getKinematicPoints, getLink, getName, getOffset, getTransformFromWorld, getTransformToWorld, getUnitVector, getXYZFromWorld, getYawPitchRollFromWorld, isDynamic, recursiveDecideGroundContactPointsInContact, recursiveGetChildrenJoints, 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 Joint
nextJoint
- Child joint to be added.public void setLink(Link l)
Joint
setLink
in class Joint
l
- New link for this joint.public void addCameraMount(CameraMount mount)
Joint
addCameraMount
in class Joint
mount
- CameraMount to be added.CameraMount
public void addKinematicPoint(KinematicPoint point)
Joint
addKinematicPoint
in class Joint
point
- KinematicPoint to be added.KinematicPoint
public void addGroundContactPoint(GroundContactPoint point)
Joint
addGroundContactPoint
in class Joint
point
- GroundContactPointGroundContactPoint
,
GroundContactModel
public void addExternalForcePoint(ExternalForcePoint point)
Joint
addExternalForcePoint
in class Joint
point
- 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 PinJoint
b_damp
- general damping constant for this jointpublic void setInitialState(double q1_init, double qd1_init, double q2_init, double qd2_init)
public void getState(double[] state)
PinJoint
getState
in class PinJoint
state
- double[]public void getRotationFromWorld(javax.vecmath.Matrix3d rotation)
Joint
getRotationFromWorld
in class Joint
rotation
- Matrix3d containing the rotational component.public void getRotationFromWorld(javax.vecmath.Quat4d rotation)
Joint
getRotationFromWorld
in class Joint
rotation
- Quat4d to store the rotational transform.public void getTranslationFromWorld(javax.vecmath.Vector3d translation)
Joint
getTranslationFromWorld
in class Joint
translation
- 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 |