org.robokind.impl.motion.openservo.feedback
Class OpenServoFeedbackValues

java.lang.Object
  extended by org.robokind.impl.motion.openservo.feedback.OpenServoFeedbackValues

public class OpenServoFeedbackValues
extends Object

Author:
Matthew Stevenson

Field Summary
static int GOAL_POSITION
           
static int GOAL_SPEED
           
static int LOAD
           
static int POSITION
           
static int PWM_CW_CCW
           
static int SPEED
           
static int VOLTAGE
           
 
Constructor Summary
OpenServoFeedbackValues(OpenServo.Id id, int[] vals, long timestamp)
           
 
Method Summary
 int getCurrentLoad()
           
 int getCurrentPosition()
           
 int getCurrentSpeed()
           
 int getCurrentVoltage()
           
 OpenServo.Id getServoId()
           
 long getUpdateTimestamp()
           
 int[] getValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

OpenServoFeedbackValues

public OpenServoFeedbackValues(OpenServo.Id id,
                               int[] vals,
                               long timestamp)
Method Detail

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.