rapid
A ROS robotics library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
fetch.h
Go to the documentation of this file.
1 #ifndef _RAPID_FETCH_FETCH_H_
2 #define _RAPID_FETCH_FETCH_H_
3 
4 #include <string>
5 
6 #include "sound_play/sound_play.h"
7 
8 #include "rapid_fetch/gripper.h"
9 
10 namespace rapid {
11 namespace fetch {
12 class Fetch {
13  public:
14  Fetch(Gripper* gripper, sound_play::SoundClient* sound_client);
15 
16  // Use text-to-speech to say something aloud.
17  void Say(const std::string& text,
18  const std::string& voice = "voice_kal_diphone");
19 
21 
22  private:
23  sound_play::SoundClient* sound_client_;
24 };
25 
26 Fetch* BuildReal();
27 } // namespace fetch
28 } // namespace rapid
29 
30 #endif // _RAPID_FETCH_FETCH_H_
Gripper * gripper
Definition: fetch.h:20
void Say(const std::string &text, const std::string &voice="voice_kal_diphone")
Fetch(Gripper *gripper, sound_play::SoundClient *sound_client)
Fetch * BuildReal()