A Simple Example
- Install PyZenbo first and get IP address of Zenbo Junior from ZenboLab.
- Open PyZenboSDK/tests/hello.py
- Replace 192.168.0.186 with IP address of your Zenbo Junior
import pyzenbo from pyzenbo.modules.dialog_system import RobotFace host = '192.168.0.186' sdk = pyzenbo.connect(host) sdk.robot.set_expression(RobotFace.DEFAULT, 'Hello World') sdk.robot.set_expression(RobotFace.HIDEFACE) sdk.release()
- Open cmd.exe and run “python hello.py”
- Zenbo Junior should show face and say “Hello world”. Output is shown as bellow: