| Package | Description |
|---|---|
| org.robokind.api.motion.servos | |
| org.robokind.api.motion.servos.config | |
| org.robokind.api.motion.servos.utils |
| Modifier and Type | Field and Description |
|---|---|
protected Map<ServoController.ServoId<IdType>,S> |
AbstractServoController.myServoMap
Map of the Controller's Servos and their ids.
|
| Modifier and Type | Method and Description |
|---|---|
protected ServoController.ServoId<IdType> |
AbstractServoController.servoId(IdType id)
Creates a ServoController.ServoId from this ServoController's Id and a
Servo's Id
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractServoController.changeServoId(ServoController.ServoId<IdType> oldId,
ServoController.ServoId<IdType> newId)
Called when the id of a Servo changes in the underlying
ServoControllerConfig.
|
protected void |
AbstractServoController.changeServoId(ServoController.ServoId<IdType> oldId,
ServoController.ServoId<IdType> newId)
Called when the id of a Servo changes in the underlying
ServoControllerConfig.
|
boolean |
ServoController.containsId(ServoController.ServoId<IdType> id)
Returns true if the controller contains a Servo for the given Servo id.
|
boolean |
AbstractServoController.containsId(ServoController.ServoId<IdType> id) |
protected abstract boolean |
AbstractServoController.disconnectServo(ServoController.ServoId<IdType> id)
Called when a Servo is being removed.
|
ServoType |
ServoController.getServo(ServoController.ServoId<IdType> id)
Returns the Servo with the given id.
|
S |
AbstractServoController.getServo(ServoController.ServoId<IdType> id) |
boolean |
ServoController.moveServo(ServoController.ServoId<IdType> id,
long lenMillisec)
Move the Servo with the given Servo id to its goal position in the given
time.
|
boolean |
ServoController.moveServos(ServoController.ServoId<IdType>[] ids,
int len,
int offset,
long lenMillisec)
Move the Servos with the given Servo ids to their goal positions.
|
protected void |
AbstractServoController.removingServo(ServoController.ServoId<IdType> id)
Called when a Servo is removed from the underlying ServoControllerConfig.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ServoController.containsIds(Set<ServoController.ServoId<IdType>> ids)
Returns true if the controller contains a Servo for each of the given
Servo ids.
|
boolean |
AbstractServoController.containsIds(Set<ServoController.ServoId<IdType>> ids) |
| Modifier and Type | Method and Description |
|---|---|
Map<Joint.Id,ServoController.ServoId> |
ServoRobotConfig.getIdMap()
Returns a Map of JointIds and their Corresponding ServoIds.
|
List<ServoController.ServoId<String>> |
JointServoMap.getServoIds(ServoController.Id controllerId) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServoRobotConfig.addServoJoint(Joint.Id id,
ServoController.ServoId servoId)
Add a Joint to the RobotConfig with the given id and name.
|
| Modifier and Type | Method and Description |
|---|---|
ServoController.ServoId<Id> |
ServoIdReader.read(ServoController.Id controllerId,
String servoIdStr)
Reads and parses a String into the Id Type, and returns a
ServoController.ServoId.
|
Copyright © 2011-2014. All Rights Reserved.