org.robokind.api.motion.servos.utils
Interface ServoJointAdapter<S extends Servo,J extends ServoJoint>

Type Parameters:
S - Servo Type used
J - 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
 

Method Detail

getJoint

J getJoint(Joint.Id jId,
           S s)
Creates a ServoJoint with the given Joint.Id and Servo

Parameters:
jId - Joint.Id for the ServoJoint
s - Servo to use
Returns:
ServoJoint with the given Joint.Id and Servo


Copyright © 2011-2013. All Rights Reserved.