sendGoalAndWait
Send goal message and wait for result
Syntax
Description
[
returns the final goal state and associated status text using any of the
previous syntaxes. The resultMsg,state,status]
= sendGoalAndWait(___)state contains information about
whether the goal execution succeeded or not.
Note
In a future release, this syntax will not display an error if the
server does not return the result in the timeout period. Instead, it
will return the state as
'timeout', which can be reacted to in the calling
code.