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 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 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.7.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file robotchain-1.0.7.tar.gz
.
File metadata
- Download URL: robotchain-1.0.7.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b33d4f978c85679d802f76fe2a76527bc2b81e1c2321bbe2a744343911b0c4ac |
|
MD5 | e1ac53a5ba3e073228fec3cb63fba283 |
|
BLAKE2b-256 | 6bf1fc332f662577f815faf727b84232462b2e4f85efdadf44c6df34d2d5140b |
File details
Details for the file robotchain-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: robotchain-1.0.7-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a01190281c4b8873987524ee2776e8b484abba9f34cd174e44991036d28d097 |
|
MD5 | 27ad96d6c4faf1a58f0bff2a27e3346a |
|
BLAKE2b-256 | 8dafee594685e9df4207eafe7e1d0430478fdb42d8d99bea2274c1807c650735 |