cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands
Class DriveSkid
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
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.
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. |
Left
protected double Left
Right
protected double Right
Normalized
protected boolean Normalized
Light
protected boolean Light
Flip
protected boolean Flip
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.
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.