Skip to content

Commit

Permalink
Set action server properly to preempted
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyR committed May 7, 2014
1 parent 419cb19 commit 293c7c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cerevoice_tts/src/CerevoiceTts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ void CerevoiceTts::preemptCB()

if(ret == 0)
ROS_ERROR("Player can't be stopped!");

action_server_.setPreempted();
}
else
ROS_ERROR("Player is NULL!");
Expand Down

0 comments on commit 293c7c4

Please sign in to comment.