Revision f1d5f58f
client/python/hlrc_client/RobotGaze.py | ||
---|---|---|
24 | 24 |
Forschungsgemeinschaft (DFG) in the context of the German |
25 | 25 |
Excellence Initiative. |
26 | 26 |
""" |
27 |
import time
|
|
27 |
from RobotTimestamp import *
|
|
28 | 28 |
|
29 | 29 |
class RobotGaze: |
30 | 30 |
GAZETARGET_ABSOLUTE = 0 |
... | ... | |
38 | 38 |
self.pan_offset = 0.0 |
39 | 39 |
self.tilt_offset = 0.0 |
40 | 40 |
self.gaze_type = RobotGaze.GAZETARGET_ABSOLUTE |
41 |
self.gaze_timestamp = time.time()
|
|
41 |
self.gaze_timestamp = RobotTimestamp()
|
|
42 | 42 |
|
43 | 43 |
def __str__(self): |
44 | 44 |
if self.gaze_type == RobotGaze.GAZETARGET_ABSOLUTE: |
tts_bridge/mary/mary_tts_bridge/MaryTTSBridge.py | ||
---|---|---|
56 | 56 |
|
57 | 57 |
self.tts_client = MaryTTSClient(voice, locale, tts_host, tts_port, loglevel) |
58 | 58 |
|
59 |
rospy.init_node('MaryTTSBridge') |
|
59 |
rospy.init_node('MaryTTSBridge', anonymous=True)
|
|
60 | 60 |
|
61 | 61 |
self._action_name = topic |
62 | 62 |
self._as = actionlib.SimpleActionServer(self._action_name, ttsAction, execute_cb = self.execute_cb, auto_start = False) |
Also available in: Unified diff