new SimpleActionServer(options)
An actionlib action server client.
Emits the following events:
- 'goal' - Goal sent by action client.
- 'cancel' - Action client has canceled the request.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Source:
Methods
sendFeedback(feedback)
Send a feedback message.
Parameters:
Name | Type | Description |
---|---|---|
feedback |
Object | The feedback to send to the client. |
- Source:
setAborted(result)
Set action state to aborted and return to client.
Parameters:
Name | Type | Description |
---|---|---|
result |
Object | The result to return to the client. |
- Source:
setPreempted()
Handle case where client requests preemption.
- Source:
setSucceeded(result)
Set action state to succeeded and return to client.
Parameters:
Name | Type | Description |
---|---|---|
result |
Object | The result to return to the client. |
- Source: