Revision 64f5c90e client/python/test.py
client/python/test.py | ||
---|---|---|
43 | 43 |
r.set_speak("test 123") |
44 | 44 |
|
45 | 45 |
g = RobotGaze() |
46 |
g.gaze_type = RobotGaze.GAZETARGET_ABSOLUTE |
|
46 | 47 |
|
47 | 48 |
m = RobotMouth() |
48 | 49 |
m.position_center = 10.0 |
... | ... | |
50 | 51 |
r.set_mouth_target(m) |
51 | 52 |
|
52 | 53 |
while(True): |
54 |
g.timestamp = time.time() |
|
53 | 55 |
g.pan = g.pan + 5.0; |
54 | 56 |
if (g.pan > 20.0): |
55 | 57 |
g.pan = -20.0 |
Also available in: Unified diff