public abstract class WorldJoint extends Object
World joint has a range of motion, specified in degrees, and a sense
of positive/negative direction in the world space. E.G. is "eyes_right"
a "positive" motion in our world coordinate frame? (Answer: yes!)
This direction refers to the world sense of the logical joint, not the
physical sense of a particular underlying servo. The latter is indicated
by a "1" in the low-level servo-config, and is irrelevant to this class.
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
logicalJointID |
protected Joint |
myJoint |
protected Double |
rangeOfMotionDegrees |
| Constructor and Description |
|---|
WorldJoint() |
protected Double rangeOfMotionDegrees
protected Joint myJoint
protected Integer logicalJointID
public abstract boolean isWorldSenseInverted()
public Joint getJoint()
public void setJoint(Joint j)
public Integer getLogicalJointID()
public Double getRangeOfMotionDegrees()
protected double getCenterPosROM()
protected double getRawMaxDegreesOffset()
protected double getRawMinDegreesOffset()
public double getTruncatedInternalDegreesOffset(double wildOffsetDeg)
public double getWorldMaxDegreesOffset()
public double getWorldMinDegreesOffset()
public double getWorldInversionMultiplier()
public double getTruncatedWorldDegreesOffset(double wildWorldAngleDeg)
public double getROM_posForWorldAngleDeg(double worldAngleDeg)
public double getROM_velForWorldAngleSpeed(double worldAngleSpeedDegPS)
public double getInternalAngleDegForROMJP(JointPosition jp)
public double getWorldAngleDegForROMJP(JointPosition jp)
public double getInternalAngleSpeedDegPS_forVelAROMPS(JointPosition velJP)
public double getWorldAngleSpeedDegPS_forVelAROMPS(JointPosition velJP)
public double getRoomAboveWorldAngleDeg(double worldAngleDeg,
boolean exceptionIfNeg)
public double getRoomBelowWorldAngleDeg(double worldAngleDeg,
boolean exceptionIfNeg)
public JointVelocityAROMPS computeVelForJumpToTruncWorldDeg(double currWorldDeg, double targetWorldDeg, double jumpDurSec)
Copyright © 2010-2016. All Rights Reserved.