|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Id - Id Type used by the ServoConf - ServoConfig type for this Servopublic interface Servo<Id,Conf extends ServoConfig>
A Servo provides control of a physical servo belonging to a servo control board.
| 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 | |
|---|---|
Conf |
getConfig()
Returns the Servo's configuration values. |
ServoController |
getController()
Returns the Servo's parent ServoController. |
org.jflux.api.common.rk.position.NormalizedDouble |
getDefaultPosition()
Returns the Servo default position. |
java.lang.Boolean |
getEnabled()
If enabled, this Servo will accept move commands. |
org.jflux.api.common.rk.position.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. |
java.lang.String |
getName()
Returns the Servo name. |
org.jflux.api.common.rk.position.NormalizableRange<java.lang.Double> |
getPositionRange()
Returns the NormalizableRange describing the range of motion. |
void |
setEnabled(java.lang.Boolean enabled)
Sets the enabled value for this Servo |
void |
setGoalPosition(org.jflux.api.common.rk.position.NormalizedDouble pos)
Sets the goal position. |
| 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 |
|---|
Id getId()
org.jflux.api.common.rk.position.NormalizedDouble getGoalPosition()
void setGoalPosition(org.jflux.api.common.rk.position.NormalizedDouble pos)
pos - the goal positionConf getConfig()
ServoController getController()
java.lang.Boolean getEnabled()
void setEnabled(java.lang.Boolean enabled)
enabled - enabled valuejava.lang.String getName()
int getMinPosition()
int getMaxPosition()
org.jflux.api.common.rk.position.NormalizedDouble getDefaultPosition()
org.jflux.api.common.rk.position.NormalizableRange<java.lang.Double> getPositionRange()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||