actionLib: which way is better when using setSucceed()?
Hi,
in actionLib tutorial it uses as_.setSucceeded(result_);
to notify success
but in actionLib wiki pages it uses as->setSucceeded();
to notify success.
However, in the Simple action server document, there is only the first method mentioned, not the second one. But the second method can be compiled successfully.
Then I'm wondering since they all sent success notification to the client, which way is better if there is only a bool
variable stands for action success or not in my file.action
?