Revision 0c15613f server/include/MiddlewareROS.h
| server/include/MiddlewareROS.h | ||
|---|---|---|
| 30 | 30 |
#include "Middleware.h" |
| 31 | 31 |
#ifdef ROS_SUPPORT |
| 32 | 32 |
#include "ros/ros.h" |
| 33 |
#include <actionlib/client/simple_action_client.h> |
|
| 34 |
|
|
| 33 | 35 |
//messages |
| 34 | 36 |
#include "hlrc_server/phoneme.h" |
| 35 | 37 |
#include "hlrc_server/soundchunk.h" |
| 38 |
#include "hlrc_server/utterance.h" |
|
| 36 | 39 |
//actions |
| 37 | 40 |
#include "hlrc_server/gazetargetAction.h" |
| 41 |
#include "hlrc_server/ttsAction.h" |
|
| 38 | 42 |
|
| 39 | 43 |
#include "ROS/GazeCallbackWrapperROS.h" |
| 40 | 44 |
#include "ROS/MouthCallbackWrapperROS.h" |
| ... | ... | |
| 45 | 49 |
#endif |
| 46 | 50 |
#include <boost/shared_ptr.hpp> |
| 47 | 51 |
|
| 52 |
#define ROS_ACTION_CALL_TIMEOUT 30.0 |
|
| 48 | 53 |
|
| 49 | 54 |
class MiddlewareROS : public Middleware{
|
| 50 | 55 |
#ifndef ROS_SUPPORT |
| ... | ... | |
| 87 | 92 |
GazeCallbackWrapper *gaze_action_server; |
| 88 | 93 |
MouthCallbackWrapper *mouth_action_server; |
| 89 | 94 |
SpeechCallbackWrapper *speech_action_server; |
| 95 |
actionlib::SimpleActionClient<hlrc_server::ttsAction> *tts_ac; |
|
| 90 | 96 |
#endif |
| 91 | 97 |
}; |
| 92 | 98 |
|
Also available in: Unified diff