Python

Cozmo SDK est basé sur le langage Python3.

Voici le squelette d'un script python typique :

import cozmo
 
def cozmo_program(robot: cozmo.robot.Robot):
    # Here goes the main Cozmo function implementation
    # Currently Cozmo just will say 'Hello World' by himself.
    robot.say_text("Hello World").wait_for_completed()
 
cozmo.run_program(cozmo_program)