|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.TorqueStatisticCommand
public class TorqueStatisticCommand
Command dealing with torque statistic data.
| Constructor Summary | |
|---|---|
TorqueStatisticCommand(LBR lbr,
boolean isTorqueMeasured)
Constructor for statistic command. |
|
| Method Summary | |
|---|---|
void |
acquireResources(ICommandContainer container)
Asks the command to acquire it's resources that are needed for execution. |
void |
createStatisticData()
Creates the internal object for holding statistic data. |
Controller |
getController()
Gets the controller to which the command is targeted. |
LBR |
getLBR()
Gets the corresponding LBR this command is aimed to. |
ICommandRuntimeData |
getRuntimeData()
Gets the runtime data object associated with the command. |
SerializableDoubleArray |
getStatisticData()
Gets the array with statistic data returned by SPR. |
SPR |
getStatisticSPR()
Gets the statistic SPR. |
boolean |
isTorqueMeasured()
Indicates if the torque is measured. |
void |
releaseResources(ICommandContainer container)
Tells the command to release it's resources. |
void |
setStatisticSPR(SPR spr)
Sets the statistic SPR. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TorqueStatisticCommand(LBR lbr,
boolean isTorqueMeasured)
lbr - the corresponding LBR.isTorqueMeasured - indicates if the torque are GMS data.| Method Detail |
|---|
public final Controller getController()
getController in interface IControllerCommandnull is not allowed!public final LBR getLBR()
public boolean isTorqueMeasured()
True if the torques is measured; otherwise false.public void setStatisticSPR(SPR spr)
spr - the statistic SPR.public SPR getStatisticSPR()
public void createStatisticData()
public SerializableDoubleArray getStatisticData()
public ICommandRuntimeData getRuntimeData()
getRuntimeData in interface IControllerCommandnull.public void acquireResources(ICommandContainer container)
This method can block until the resources are available. The method is called before the command is passed to the controller. Implementing classes should throw an exception if preparation fails.
acquireResources in interface IControllerCommandcontainer - The container which will be used for the execution of the
command.public void releaseResources(ICommandContainer container)
releaseResources in interface IControllerCommandcontainer - The container which was used for the execution of the command.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||