cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands
Class SetJoint
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.usar2004.communication.messages.usarcommands.SetJoint
public class SetJoint
- extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
This command is used to drive a joint.
Corresponding GameBots command is SET.
Type
protected String Type
Name
protected String Name
Opcode
protected String Opcode
Param1
protected double Param1
Param2
protected double Param2
SetJoint
public SetJoint(String Type,
String Name,
String Opcode,
double param1,
double param2)
SetJoint
public SetJoint()
- WARNING: this is empty-command constructor, you have to use
Setters to fill it up!
SetJoint
public SetJoint(SetJoint original)
- Cloning constructor.
getType
public String getType()
getName
public String getName()
setName
public SetJoint setName(String Name)
getOpcode
public String getOpcode()
setOpcode
public SetJoint setOpcode(String Opcode)
getParam1
public double getParam1()
setParam1
public SetJoint setParam1(double Param1)
getParam2
public double getParam2()
setParam2
public SetJoint setParam2(double Param2)
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.