Revision a9885c2e
client/python/hlrc_client/RobotGaze.py | ||
---|---|---|
36 | 36 |
self.vergence = 0.0 |
37 | 37 |
self.pan_offset = 0.0 |
38 | 38 |
self.tilt_offset = 0.0 |
39 |
self.gaze_type = GAZETARGET_ABSOLUTE |
|
39 |
self.gaze_type = RobotGaze.GAZETARGET_ABSOLUTE
|
|
40 | 40 |
self.timestamp = self.now() |
41 | 41 |
|
42 | 42 |
def __str__(self): |
43 |
if (self.gaze_type == GAZETARGET_ABSOLUTE):
|
|
43 |
if (self.gaze_type == RobotGaze.GAZETARGET_ABSOLUTE):
|
|
44 | 44 |
type_s = "ABSOLUTE" |
45 | 45 |
else: |
46 | 46 |
type_s = "RELATIVE" |
Also available in: Unified diff