|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.ControllerService
com.kuka.roboticsAPI.controllerModel.RequestService
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseRequestService
public class SunriseRequestService
The Sunrise request service handles the requests Sunrise knows.
| Field Summary | |
|---|---|
static String |
PARAM_GET_INVERSEKINEMATICS
SSR parameter. |
| Method Summary | |
|---|---|
protected void |
dispose()
Disposes this service. |
SunriseController |
getController()
Gets the controller associated with this service. |
Transformation |
getDeviceRoot(String deviceName)
Return the kinematic root position in world. |
protected void |
onPerformRequest(IRequest request)
Default handling inside the concrete request service. |
void |
sendAsynchronousSSR(SSR ssr)
Sends the given SSR asynchronously. |
void |
sendSPRAsSSR(SPR spr)
Sends a SPR to Sunrise. |
Message |
sendSynchronousSSR(SSR ssr)
Sends a SSR to Sunrise. |
Message |
sendSynchronousSSR(SSR ssr,
int timeout,
TimeUnit timeUnit)
Sends a SSR to Sunrise. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.RequestService |
|---|
initialize, performRequest, register, unregister |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.ControllerService |
|---|
getContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAM_GET_INVERSEKINEMATICS
| Method Detail |
|---|
public Transformation getDeviceRoot(String deviceName)
deviceName - The addressed device
public SunriseController getController()
getController in class ControllerServicepublic void sendSPRAsSSR(SPR spr)
sendSPRAsSSR in interface ISunriseRequestServicespr - The SPR which should be sent. null is not allowed.public Message sendSynchronousSSR(SSR ssr)
sendSynchronousSSR in interface ISunriseRequestServicessr - The SSR which should be sent. null is not allowed.
public Message sendSynchronousSSR(SSR ssr,
int timeout,
TimeUnit timeUnit)
sendSynchronousSSR in interface ISunriseRequestServicessr - The SSR which should be sent. null is not allowed.timeout - the timeout to wait for a response.timeUnit - the timeout unit for the timeout
public void sendAsynchronousSSR(SSR ssr)
sendAsynchronousSSR in interface ISunriseRequestServicessr - The SSR which should be sent.protected void dispose()
ControllerService
dispose in class ControllerServiceprotected void onPerformRequest(IRequest request)
RequestServiceNote that the base implementation does nothing with the request.
onPerformRequest in class RequestServicerequest - The request which should be performed. Will never be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||