us.ihmc.packets
Class LowLevelDrivingCommand

java.lang.Object
  extended by us.ihmc.packets.LowLevelDrivingCommand
All Implemented Interfaces:
ComparableDataObject<LowLevelDrivingCommand>

public class LowLevelDrivingCommand
extends java.lang.Object
implements ComparableDataObject<LowLevelDrivingCommand>


Field Summary
 LowLevelDrivingAction action
           
 double value
           
 
Constructor Summary
LowLevelDrivingCommand()
           
LowLevelDrivingCommand(LowLevelDrivingAction action, double value)
           
 
Method Summary
 boolean epsilonEquals(LowLevelDrivingCommand other, double epsilon)
           
 LowLevelDrivingAction getAction()
           
 double getValue()
           
 void setAction(LowLevelDrivingAction action)
           
 void setValue(double value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

public LowLevelDrivingAction action

value

public double value
Constructor Detail

LowLevelDrivingCommand

public LowLevelDrivingCommand()

LowLevelDrivingCommand

public LowLevelDrivingCommand(LowLevelDrivingAction action,
                              double value)
Method Detail

getAction

public LowLevelDrivingAction getAction()

getValue

public double getValue()

setAction

public void setAction(LowLevelDrivingAction action)

setValue

public void setValue(double value)

epsilonEquals

public boolean epsilonEquals(LowLevelDrivingCommand other,
                             double epsilon)
Specified by:
epsilonEquals in interface ComparableDataObject<LowLevelDrivingCommand>