Id - Id Type used by the ServoConf - ServoConfig type for this Servopublic interface Servo<Id,Conf extends ServoConfig> extends PropertyChangeSource
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_ENABLED
Property string for Enabled.
|
static String |
PROP_GOAL_POSITION
Property string for GoalPostion.
|
| Modifier and Type | Method and Description |
|---|---|
Conf |
getConfig()
Returns the Servo's configuration values.
|
ServoController |
getController()
Returns the Servo's parent ServoController.
|
NormalizedDouble |
getDefaultPosition()
Returns the Servo default position.
|
Boolean |
getEnabled()
If enabled, this Servo will accept move commands.
|
NormalizedDouble |
getGoalPosition()
Returns the goal position.
|
Id |
getId()
Returns the Servo's id.
|
int |
getMaxPosition()
Returns the Servo maximum position.
|
int |
getMinPosition()
Returns the Servo minimum position.
|
String |
getName()
Returns the Servo name.
|
NormalizableRange<Double> |
getPositionRange()
Returns the NormalizableRange describing the range of motion.
|
void |
setEnabled(Boolean enabled)
Sets the enabled value for this Servo
|
void |
setGoalPosition(NormalizedDouble pos)
Sets the goal position.
|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerstatic final String PROP_GOAL_POSITION
static final String PROP_ENABLED
Id getId()
NormalizedDouble getGoalPosition()
void setGoalPosition(NormalizedDouble pos)
pos - the goal positionConf getConfig()
ServoController getController()
Boolean getEnabled()
void setEnabled(Boolean enabled)
enabled - enabled valueString getName()
int getMinPosition()
int getMaxPosition()
NormalizedDouble getDefaultPosition()
NormalizableRange<Double> getPositionRange()
Copyright © 2011-2014. All Rights Reserved.