Revision f1d5f58f client/python/hlrc_client/RobotGaze.py
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: |
Also available in: Unified diff