Class: Goal

Goal(options)

new Goal(options)

An actionlib goal that is associated with an action server.

Emits the following events:

  • 'timeout' - If a timeout occurred while sending a goal.
Parameters:
Name Type Description
options Object
Properties
Name Type Description
actionClient ActionClient

The ROSLIB.ActionClient to use with this goal.

goalMessage Object

The JSON object containing the goal for the action server.

Source:

Methods

cancel()

Cancel the current goal.

Source:

send(timeoutopt)

Send the goal to the action server.

Parameters:
Name Type Attributes Description
timeout number <optional>

A timeout length for the goal's result.

Source: