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

Package class diagram package SetJoint
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by 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.


Field Summary
protected  String Name
           
protected  String Opcode
           
protected  double Param1
           
protected  double Param2
           
protected  String Type
           
 
Constructor Summary
SetJoint()
          WARNING: this is empty-command constructor, you have to use Setters to fill it up!
SetJoint(SetJoint original)
          Cloning constructor.
SetJoint(String Type, String Name, String Opcode, double param1, double param2)
           
 
Method Summary
 String getName()
           
 String getOpcode()
           
 double getParam1()
           
 double getParam2()
           
 String getType()
           
 SetJoint setName(String Name)
           
 SetJoint setOpcode(String Opcode)
           
 SetJoint setParam1(double Param1)
           
 SetJoint setParam2(double Param2)
           
 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

Type

protected String Type

Name

protected String Name

Opcode

protected String Opcode

Param1

protected double Param1

Param2

protected double Param2
Constructor Detail

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.

Method Detail

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 © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.