ok
CHOOSE YOUR LANGUAGE

A Simple Example

  1. Install PyZenbo first and get IP address of Zenbo Junior from ZenboLab.
  2. Open PyZenboSDK/tests/hello.py
  3. 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()
    
  4. Open cmd.exe and run “python hello.py”
  5. Zenbo Junior should show face and say “Hello world”. Output is shown as bellow:
Go To Top