cz.cuni.amis.pogamut.usar2004.communication.messages.datatypes
Class LinkState

Package class diagram package LinkState
java.lang.Object
  extended by cz.cuni.amis.pogamut.usar2004.communication.messages.datatypes.LinkState
All Implemented Interfaces:
Serializable, Cloneable

public class LinkState
extends Object
implements Serializable, Cloneable

VALUE parameter has two possible meanings. If the link being described is a prismatic joint, double gives the distance (in meters) from the original position of the link. If the link being described is a revolute joint, it gives a sector(probably). The TORQUE parameter gives the current torque of the link being described. * All of the above are collected into one data structure below this text.

Author:
vejmanm
See Also:
Serialized Form

Constructor Summary
LinkState()
           
LinkState(int link, double value, double torque)
           
 
Method Summary
 Object clone()
           
 int getLink()
           
 double getTorque()
           
 double getValue()
           
 void set(int link, double value, double torque)
           
 void set(LinkState tplLS)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkState

public LinkState()

LinkState

public LinkState(int link,
                 double value,
                 double torque)
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

set

public final void set(int link,
                      double value,
                      double torque)

set

public final void set(LinkState tplLS)

getLink

public final int getLink()

getValue

public final double getValue()

getTorque

public final double getTorque()


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