cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands
Class DriveSkid

Package class diagram package DriveSkid
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands.DriveSkid

public class DriveSkid
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage

Drive command specified for a ground vehicle with no steering. Corresponding GameBots command is DRIVE.


Field Summary
protected  boolean Flip
           
protected  double Left
           
protected  boolean Light
           
protected  boolean Normalized
           
protected  double Right
           
 
Constructor Summary
DriveSkid()
          WARNING: this is empty-command constructor, you have to use setters to fill it up!
DriveSkid(double Left, double Right, boolean Normalized, boolean Light, boolean Flip)
           
DriveSkid(DriveSkid original)
          Cloning constructor.
 
Method Summary
 double getLeft()
           
 double getRight()
           
 boolean isFlip()
           
 boolean isLight()
           
 boolean isNormalized()
           
 DriveSkid setFlip(boolean Flip)
           
 DriveSkid setLeft(double Left)
           
 DriveSkid setLight(boolean Light)
           
 DriveSkid setNormalized(boolean Normalized)
           
 DriveSkid setRight(double Right)
           
 String toHtmlString()
           
 String toMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Left

protected double Left

Right

protected double Right

Normalized

protected boolean Normalized

Light

protected boolean Light

Flip

protected boolean Flip
Constructor Detail

DriveSkid

public DriveSkid(double Left,
                 double Right,
                 boolean Normalized,
                 boolean Light,
                 boolean Flip)

DriveSkid

public DriveSkid()

WARNING: this is empty-command constructor, you have to use setters to fill it up!


DriveSkid

public DriveSkid(DriveSkid original)
Cloning constructor.

Method Detail

getLeft

public double getLeft()

setLeft

public DriveSkid setLeft(double Left)

getRight

public double getRight()

setRight

public DriveSkid setRight(double Right)

isNormalized

public boolean isNormalized()

setNormalized

public DriveSkid setNormalized(boolean Normalized)

isLight

public boolean isLight()

setLight

public DriveSkid setLight(boolean Light)

isFlip

public boolean isFlip()

setFlip

public DriveSkid setFlip(boolean Flip)

toString

public String toString()
Overrides:
toString in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage

toHtmlString

public String toHtmlString()

toMessage

public String toMessage()


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.