actionlib appears to work differently with Kinetic
I was using actionlib.SimpleActionClient('sound_play', SoundRequestAction) under ROS Indigo and it was working fine for doing speech and sound output. Basically I had a python script that subscribed to a topic that received the output from pocketsphinx, parsed the recognized text, executed commands and spoke associated text.
This worked just fine under Indigo, but the same exact code doesn't produce ANY speech or wave file output under Kinetic.
I've determined that if I do the actionlib related processing in the main of the python script that it does work fine, but attempting to do the actionlib sound_play from the context of the callback produces no output. No errors, and sound_play reports that it has spoken or played the wav file.
Has anyone else run into this with Kinetic? There is some more information below.
I had a similar problem with OpenCV with Kinetic. It appears that callbacks may be happening on a different thread and that is breaking things. With the OpenCV issue the imshow() function would not return, no errors and nothing drawn in the window. To resolve that, at least short term, I changed the code to defer the creation of the OpenCV windows so that it happened in the context of the callback function(s). A similar approach with the actionlib processing has so far failed to resolve the issue.