org.robokind.impl.motion.openservo.feedback
Class OpenServoFeedbackValues
java.lang.Object
org.robokind.impl.motion.openservo.feedback.OpenServoFeedbackValues
public class OpenServoFeedbackValues
- extends Object
- Author:
- Matthew Stevenson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POSITION
public static final int POSITION
- See Also:
- Constant Field Values
SPEED
public static final int SPEED
- See Also:
- Constant Field Values
LOAD
public static final int LOAD
- See Also:
- Constant Field Values
PWM_CW_CCW
public static final int PWM_CW_CCW
- See Also:
- Constant Field Values
GOAL_POSITION
public static final int GOAL_POSITION
- See Also:
- Constant Field Values
GOAL_SPEED
public static final int GOAL_SPEED
- See Also:
- Constant Field Values
VOLTAGE
public static final int VOLTAGE
- See Also:
- Constant Field Values
OpenServoFeedbackValues
public OpenServoFeedbackValues(OpenServo.Id id,
int[] vals,
long timestamp)
getServoId
public OpenServo.Id getServoId()
getCurrentPosition
public int getCurrentPosition()
getCurrentSpeed
public int getCurrentSpeed()
getCurrentLoad
public int getCurrentLoad()
getCurrentVoltage
public int getCurrentVoltage()
getUpdateTimestamp
public long getUpdateTimestamp()
getValues
public int[] getValues()
Copyright © 2011-2013. All Rights Reserved.