|
@@ -115,13 +115,6 @@ namespace snowboy_wakeup
|
|
|
hotword_pub_.publish(hotword_msg);
|
|
|
system("play -q --multi-threaded ~/Music/ding.wav");
|
|
|
}
|
|
|
- else if(result == 2)
|
|
|
- {
|
|
|
- ROS_INFO("Hotword 2 detected!");
|
|
|
- hotword_msg.data = result;
|
|
|
- hotword_pub_.publish(hotword_msg);
|
|
|
- system("play -q --multi-threaded ~/Music/dong.wav");
|
|
|
- }
|
|
|
else if (result == -3)
|
|
|
{
|
|
|
ROS_ERROR("Hotword detector not initialized");
|