|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.requestModel.AbstractRequest
com.kuka.roboticsAPI.requestModel.AbstractDeviceRequest
com.kuka.roboticsAPI.requestModel.GetTorqueStateRequest
public class GetTorqueStateRequest
Requests the current state of a torque sensor.
| Nested Class Summary | |
|---|---|
static class |
GetTorqueStateRequest.ETorqueState
Specifies the different states of a torque sensor. |
| Constructor Summary | |
|---|---|
GetTorqueStateRequest(LBR lbr,
com.kuka.roboticsAPI.deviceModel.JointEnum joint)
Creates a new request to determine the torque sensor state. |
|
| Method Summary | |
|---|---|
com.kuka.roboticsAPI.deviceModel.JointEnum |
getJointIndex()
Returns the index of the axis on which the torque sensor is fixed. |
GetTorqueStateRequest.ETorqueState |
getResult()
Gets the result of the request. |
boolean |
hasResult()
Returns true if getResult is not null. |
void |
setTorqueState(GetTorqueStateRequest.ETorqueState torqueSensorState)
Saves the state of the torque sensor. |
| Methods inherited from class com.kuka.roboticsAPI.requestModel.AbstractDeviceRequest |
|---|
getDevice |
| Methods inherited from class com.kuka.roboticsAPI.requestModel.AbstractRequest |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GetTorqueStateRequest(LBR lbr,
com.kuka.roboticsAPI.deviceModel.JointEnum joint)
lbr - The device on which the torque sensor is fixed.joint - The index of the axis on which the torque sensor is fixed.| Method Detail |
|---|
public boolean hasResult()
AbstractRequestnull. May be overridden by subclasses to
determine if the request has a result in a different way.
hasResult in interface IRequesthasResult in class AbstractRequestpublic GetTorqueStateRequest.ETorqueState getResult()
IRequest
public com.kuka.roboticsAPI.deviceModel.JointEnum getJointIndex()
public void setTorqueState(GetTorqueStateRequest.ETorqueState torqueSensorState)
torqueSensorState - The state of the torque sensor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||