|
||||||||||
| 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.GimbalJoint
public class GimbalJoint
Title: Yobotics! Simulation Construction Set
Description: Package for Simulating Dynamic Robots and Mechanisms
Copyright: Copyright (c) Jerry Pratt
Company: Yobotics, Inc.
| Field Summary |
|---|
| Fields inherited from class com.yobotics.simulationconstructionset.Joint |
|---|
MAX_ROT_ACCEL, MAX_TRANS_ACCEL, X, Y, Z |
| Constructor Summary | |
|---|---|
GimbalJoint(java.lang.String jname1,
java.lang.String jname2,
java.lang.String jname3,
javax.vecmath.Vector3d offset,
Robot rob,
int firstAxis,
int secondAxis,
int thirdAxis)
|
|
| 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 |
getState(double[] state)
Inserts the given position and velocity of this pin joint into the provided array. |
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,
double q3_init,
double qd3_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, getRotationFromWorld, getRotationFromWorld, getTransformFromWorld, getTransformFromWorld, getTranslationFromWorld, 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 GimbalJoint(java.lang.String jname1,
java.lang.String jname2,
java.lang.String jname3,
javax.vecmath.Vector3d offset,
Robot rob,
int firstAxis,
int secondAxis,
int thirdAxis)
| 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,
double q3_init,
double qd3_init)
public void getState(double[] state)
PinJoint
getState in class PinJointstate - double[]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||