Revision dec1ec7a
| client/python/test.py | ||
|---|---|---|
| 32 | 32 |
import sys |
| 33 | 33 |
|
| 34 | 34 |
if __name__ == "__main__": |
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 | 35 |
r = RobotController("ROS", "/flobi", logging.DEBUG)
|
| 39 | 36 |
|
| 40 | 37 |
|
| ... | ... | |
| 45 | 42 |
g = RobotGaze() |
| 46 | 43 |
g.gaze_type = RobotGaze.GAZETARGET_ABSOLUTE |
| 47 | 44 |
|
| 48 |
m = RobotMouth()
|
|
| 45 |
m = RobotMouth() |
|
| 49 | 46 |
m.position_center = 10.0 |
| 50 |
m.opening_center = 15.0
|
|
| 51 |
r.set_mouth_target(m)
|
|
| 47 |
m.opening_center = 15.0 |
|
| 48 |
r.set_mouth_target(m) |
|
| 52 | 49 |
|
| 53 | 50 |
while(True): |
| 54 | 51 |
g.timestamp = time.time() |
Also available in: Unified diff