S - Type of Servo usedpublic abstract class AbstractServoJointAdapter<S extends Servo> extends Object implements ServoJointAdapter<S,ServoJoint<S>>
| Constructor and Description |
|---|
AbstractServoJointAdapter() |
| Modifier and Type | Method and Description |
|---|---|
ServoJoint<S> |
getJoint(Joint.Id jId,
S s)
Creates a ServoJoint with the given Joint.Id, Servo, and default
JointProperties returned by getJointProperties
|
protected abstract List<JointProperty> |
getJointProperties(S servo)
Returns the default JointProperties for a new ServoJoint.
|
public ServoJoint<S> getJoint(Joint.Id jId, S s)
getJoint in interface ServoJointAdapter<S extends Servo,ServoJoint<S extends Servo>>jId - Joint.Id for the ServoJoints - Servo to useprotected abstract List<JointProperty> getJointProperties(S servo)
servo - Servo to get JointProperties forCopyright © 2011-2014. All Rights Reserved.