Revision 04cf2b6f client/python/hlrc_client/hlrc_test_relative_gaze.py
client/python/hlrc_client/hlrc_test_relative_gaze.py | ||
---|---|---|
54 | 54 |
|
55 | 55 |
while(r.is_running()): |
56 | 56 |
g.gaze_timestamp = RobotTimestamp() |
57 |
#add some delazy to make it realistic |
|
58 |
time.sleep(1.0 / 50.0) |
|
59 |
|
|
60 |
print(g) |
|
57 | 61 |
g.pan = random.uniform(-20, 20) |
58 | 62 |
|
59 | 63 |
for t in range(50): |
Also available in: Unified diff