00001 00011 #ifndef ROVIO_AUDIO_H_ 00012 #define ROVIO_AUDIO_H_ 00013 00014 #include <ros/ros.h> 00015 #include <rovio_shared/wav_play.h> 00016 #include <string> 00017 00024 class audio_controller 00025 { 00026 public: 00032 audio_controller(); 00033 00034 private: 00044 bool wav_play_callback(rovio_shared::wav_play::Request &req, rovio_shared::wav_play::Response &resp); 00045 00046 std::string host; 00047 std::string user; 00048 std::string pass; 00050 ros::NodeHandle node; 00052 ros::ServiceServer wav_play; 00053 }; 00054 00062 int main(int argc, char **argv); 00063 00064 #endif