|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Joint
A Joint represents the values and properties of a DoF (degree of freedom) of a Robot. A Joint provides the goal position, and various JointProperties. Joints are intended to provide read-only access to properties, however some JointProperties can support writing the property as well. Joints can not be moved directly, move commands must go through the Robot.
| Nested Class Summary | |
|---|---|
static class |
Joint.Id
Joint.Id is an immutable identifier for a Joint within a Robot or ServoController. |
| Field Summary | |
|---|---|
static java.lang.String |
PROP_ENABLED
Property string for Enabled. |
static java.lang.String |
PROP_GOAL_POSITION
Property string for GoalPostion. |
| Method Summary | ||
|---|---|---|
org.jflux.api.common.rk.position.NormalizedDouble |
getDefaultPosition()
Returns the Joint's default position. |
|
java.lang.Boolean |
getEnabled()
If enabled, this Joint will accept move commands. |
|
org.jflux.api.common.rk.position.NormalizedDouble |
getGoalPosition()
Returns the goal position. |
|
Joint.Id |
getId()
Returns the Joint's logical id. |
|
java.lang.String |
getName()
Returns the name of the Joint. |
|
org.jflux.api.common.rk.position.NormalizableRange<java.lang.Double> |
getPositionRange()
Returns the NormalizableRange describing the range of motion. |
|
java.util.Collection<JointProperty> |
getProperties()
|
|
JointProperty |
getProperty(java.lang.String name)
Returns the JointProperty with the given name. |
|
|
getProperty(java.lang.String name,
java.lang.Class<T> propertyType)
Returns the JointProperty with the given name, ensuring the value is assignable to propertyType. |
|
void |
setEnabled(java.lang.Boolean enabled)
If enabled, this Joint will accept move commands. |
|
| Methods inherited from interface org.jflux.api.common.rk.property.PropertyChangeSource |
|---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
static final java.lang.String PROP_GOAL_POSITION
static final java.lang.String PROP_ENABLED
| Method Detail |
|---|
Joint.Id getId()
java.lang.String getName()
org.jflux.api.common.rk.position.NormalizedDouble getDefaultPosition()
org.jflux.api.common.rk.position.NormalizableRange<java.lang.Double> getPositionRange()
org.jflux.api.common.rk.position.NormalizedDouble getGoalPosition()
void setEnabled(java.lang.Boolean enabled)
enabled - java.lang.Boolean getEnabled()
<T> JointProperty<T> getProperty(java.lang.String name,
java.lang.Class<T> propertyType)
T - Value Type returned by the JointPropertyname - name of the JointPropertypropertyType - Class for T
JointProperty getProperty(java.lang.String name)
name - name of the JointProperty
java.util.Collection<JointProperty> getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||