Skip to content
Snippets Groups Projects
Commit 55aa88a2 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Move action feedback msg reset from action_done function to make_request...

Move action feedback msg reset from action_done function to make_request function. Then, last feedback is still available until new request is made
parent ffb771c1
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +249,7 @@ class CModuleAction
this->status=ACTION_SUCCESS;
}
}
this->action_feedback_msg=Feedback();
//this->action_feedback_msg=Feedback();
this->action_timeout.stop();
this->action_access.exit();
}
......@@ -473,6 +473,7 @@ class CModuleAction
*/
act_srv_status make_request(Goal &msg)
{
this->action_feedback_msg=Feedback();
if(this->enabled)
{
if(this->action_client->isServerConnected())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment