Revision 3877047d client/python/hlrc_client/RobotMouth.py
client/python/hlrc_client/RobotMouth.py | ||
---|---|---|
26 | 26 |
""" |
27 | 27 |
|
28 | 28 |
class RobotMouth: |
29 |
def __init__(self):
|
|
30 |
self.opening_left = 0.0
|
|
31 |
self.opening_center = 0.0
|
|
32 |
self.opening_right = 0.0
|
|
33 |
self.position_left = 0.0
|
|
34 |
self.position_center = 0.0
|
|
35 |
self.position_right = 0.0
|
|
29 |
def __init__(self):
|
|
30 |
self.opening_left = 0.0 |
|
31 |
self.opening_center = 0.0 |
|
32 |
self.opening_right = 0.0 |
|
33 |
self.position_left = 0.0 |
|
34 |
self.position_center = 0.0 |
|
35 |
self.position_right = 0.0 |
|
36 | 36 |
|
37 | 37 |
def __str__(self): |
38 |
return "RobotMouth = { opening={%6.2f %6.2f %6.2f} offset={%6.2f %6.2f %6.2f} }" \ |
|
39 |
% (self.opening_left, self.opening_center, self.opening_right, \ |
|
40 |
self.position_left, self.position_center, self.position_right) |
|
38 |
return "RobotMouth = { opening={%6.2f %6.2f %6.2f} offset={%6.2f %6.2f %6.2f} }" \ |
|
39 |
% (self.opening_left, self.opening_center, self.opening_right, \ |
|
40 |
self.position_left, self.position_center, self.position_right) |
Also available in: Unified diff