Revision eb9b1b16
client/python/hlrc_client/RobotController.py | ||
---|---|---|
27 | 27 |
|
28 | 28 |
import logging |
29 | 29 |
try: |
30 |
import rsb |
|
31 |
except ImportError: |
|
32 |
RSB_SUPPORT = False |
|
30 |
import rsb |
|
31 |
import rst |
|
32 |
import rstsandbox |
|
33 |
from rst.robot.EmotionState_pb2 import EmotionState |
|
34 |
from rst.robot.Animation_pb2 import Animation |
|
35 |
from rst.robot.GazeTarget_pb2 import GazeTarget |
|
36 |
from rst.robot.MouthTarget_pb2 import MouthTarget |
|
37 |
except ImportError, e: |
|
38 |
print("Warning, RSB import error: ") |
|
39 |
print e |
|
40 |
RSB_SUPPORT = False |
|
33 | 41 |
else: |
34 | 42 |
from MiddlewareRSB import * |
35 | 43 |
RSB_SUPPORT = True |
Also available in: Unified diff