Skip to main content

Python development framework for robotchain.

Project description

🤖 Python Framework SDK

⚡ Python development framework for robotchain. ⚡

License: MIT

已经内置在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


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 hashes)

Uploaded Source

Built Distribution

robotchain-1.0.7-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

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