new Goal(object)
An actionlib goal goal is associated with an action server.
Emits the following events:
* 'timeout' - if a timeout occurred while sending a goal
Parameters:
Name | Type | Description |
---|---|---|
object |
with following keys: * actionClient - the ROSLIB.ActionClient to use with this goal * goalMessage - The JSON object containing the goal for the action server |
- Source:
Methods
cancel()
Cancel the current goal.
- Source:
send(timeout)
Send the goal to the action server.
Parameters:
Name | Type | Description |
---|---|---|
timeout |
(optional) - a timeout length for the goal's result |
- Source: