Python development framework for robotchain.
Project description
🤖 Python Framework SDK
⚡ Python development framework for robotchain. ⚡
已经内置在robotchain中,无需单独、重复安装,该仓库仅供学习参考。
It is already built-in within robotchain, so there is no need for separate or redundant installation. This repository is provided for learning and reference purposes only.
📖 Initialization
安装相关依赖
Install the required dependencies.
pip3 install robotchain-sdk colorlog websocket-client==0.48.0 requests pyserial roslibpy empy colcon-common-extensions pymongo tornado
📖 Using templates
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import robotchain_sdk as framework
def robot_start(sdk):
while True:
pass
def robot_message(sdk, message):
pass
def robot_exit(sdk):
pass
if __name__ == '__main__':
framework_sdk = framework.Init()
robot_start(framework_sdk)
📖 Development
安装相关依赖
Install the required dependencies.
pip3 install twine setuptools wheel
构建软件包
Build software package.
python3 setup.py sdist bdist_wheel
上传软件包到PyPI
Upload software package to PyPI.
twine upload dist/*
🌞 Development Team
GEEKROS https://www.geekros.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
robotchain-1.0.6.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for robotchain-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40c37cfdb7b068c97f50347d755692e61f5af9b0e9e2ce628c174a5d9642b5f5 |
|
MD5 | aeda6a88ae79bcbc9c3c6ce6a8227bd7 |
|
BLAKE2b-256 | 9c09e60314494af31f5f2656c6cef1c80a7c008e9d933e535615eec3d4544451 |