Skip to main content

Python SDK for Digitopia Advanced Mechanical Intelligence Platform.

Project description

damip

Python SDK for Digitopia Advanced Mechanical Intelligence Platform(DAMIP).

Installation

We use PyPI to distribute our software.

$ pip install damip

Usage

>>> from damip import oldtimes
>>> mybot = oldtimes.Robot()
>>> mybot.hello()
'hello, I am an oldtimes robot, My name is Oldtimes.'
>>> mybot.right_arm_shake(1)
:) Send:  {"T":50,"id":2,"pos":300,"spd":500,"acc":30} 44
:) Set right arm postion:  300
:) Send:  {"T":50,"id":2,"pos":700,"spd":500,"acc":30} 44
:) Set right arm postion:  700
:) Send:  {"T":50,"id":2,"pos":500,"spd":500,"acc":30} 44

>>> from damip import glmcloud
>>> myglm = glmcloud.Chatglm()
>>> myglm.request("有⼈向你提问<中国最⾼的⼭脉是哪个>,你应该怎么回答?请将回答通过声卡播放。")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

damip-0.1.6.tar.gz (4.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page