org.robokind.api.motion.servos.utils
Interface ServoJointAdapter<S extends Servo,J extends ServoJoint>
- Type Parameters:
S
- Servo Type usedJ
- ServoJoint Type used
- All Known Implementing Classes:
- AbstractServoJointAdapter
public interface ServoJointAdapter<S extends Servo,J extends ServoJoint>
A ServoJointAdapter is used by a ServoRobot to create ServoJoints from
Servos.
- Author:
- Matthew Stevenson
Method Summary |
J |
getJoint(Joint.Id jId,
S s)
Creates a ServoJoint with the given Joint.Id and Servo |
getJoint
J getJoint(Joint.Id jId,
S s)
- Creates a ServoJoint with the given Joint.Id and Servo
- Parameters:
jId
- Joint.Id for the ServoJoints
- Servo to use
- Returns:
- ServoJoint with the given Joint.Id and Servo
Copyright © 2011-2013. All Rights Reserved.