Skip to main content

Python API for serial communication of MyCobot.

Project description

This is Python API for ElephantRobotics product

Python 3 pypi_version

This is a python API for serial communication with robot and controlling it.

home

Installation

Notes:

Make sure that Atom is flashed into the top Atom, Transponder is flashed into the base Basic.
The firmware Atom and Transponder download address: https://github.com/elephantrobotics/myCobot/tree/main/Software
You also can use myStudio to flash them, myStudio address: https://github.com/elephantrobotics/myStudio/releases

Pip

pip install pymycobot --upgrade

Source code

# The latest code branch is the develop branch. You can choose to install it if necessary.
git clone https://github.com/elephantrobotics/pymycobot.git <your-path>
cd <your-path>/pymycobot
# Install
[sudo] python2 setup.py install # Will not support starting from v4.0.1
# or
[sudo] python3 setup.py install

Or the more modern form:

# Install
pip install .
# Uninstall
pip uninstall .

Usage:

# for mycobot 280 machine
from pymycobot import MyCobot280  
from pymycobot import MyCobot280Socket
# for mycobot 320 machine
from pymycobot import MyCobot320
from pymycobot import MyCobot320Socket  
# for mecharm 270 machine
from pymycobot import MechArm270  
from pymycobot import MechArmSocket  
# for mypalletizer 260 machine
from pymycobot import MyPalletizer260  
from pymycobot import MyPalletizerSocket
# for ultraArm P340 machine
from pymycobot import ultraArmP340
# for mycobot pro450 machine
from pymycobot import Pro450Client

The demo directory stores some test case files.

You can find out which interfaces pymycobot provides in pymycobot/README.md.

Please go to here.

Note: Version v3.6.0 differentiates interfaces by model. Starting from this version, the MyCobot class will no longer be maintained. For new usage, please refer to the document:

CN EN
MyCobot 280 API说明 MyCobot 280 API Description
MyCobot 320 API说明 MyCobot 320 API Description
MechArm 270 API说明 MechArm 270 API Description
MyPalletizer 260 API说明 MyPalletizer 260 API Description
myAGV API说明 myAGV API Description
myArm_M&C API说明 myArm_M&C API Description
ultraArm P340 API说明 ultraArm P340 API Description
MyBuddy API说明 MyBuddy API Description
MyBuddyEmoticon API说明 MyBuddyEmoticon API Description
MyCobot Pro450 API说明 MyCobot Pro450 API Description

pymycobot

This is python API for ElephantRobotics product

We support Python2, Python3.5 or later.

jaywcjlove/sb jaywcjlove/sb

MyCobot 280 API说明 | MyCobot 280 API Description

MyCobot 320 API说明 | MyCobot 320 API Description

MechArm 270 API说明 | MechArm 270 API Description

MyPalletizer 260 API说明 | MyPalletizer 260 API Description

myAGV API说明 | myAGV API Description

myArm_M&C API说明 | myArm_M&C API Description

ultraArm P340 API说明 | ultraArm P340 API Description

MyBuddy API说明 | MyBuddy API Description

MyBuddyEmoticon API说明 | MyBuddyEmoticon API Description

MyCobot Pro450 API说明 | MyCobot Pro450 API Description

Catalogue:

More demo can go to here.

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

pymycobot-4.0.5.tar.gz (239.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymycobot-4.0.5-py3-none-any.whl (301.5 kB view details)

Uploaded Python 3

File details

Details for the file pymycobot-4.0.5.tar.gz.

File metadata

  • Download URL: pymycobot-4.0.5.tar.gz
  • Upload date:
  • Size: 239.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.10

File hashes

Hashes for pymycobot-4.0.5.tar.gz
Algorithm Hash digest
SHA256 42f3ba85203130bf2ee7c122ede37e4d148538644bf1ae2c01663cfe0aa90266
MD5 504131c56363d9b0e81b7832f13efaaf
BLAKE2b-256 945d17f9b745e32c8058c8a6391eea2f81623955c13596c6c5434add051877f8

See more details on using hashes here.

File details

Details for the file pymycobot-4.0.5-py3-none-any.whl.

File metadata

  • Download URL: pymycobot-4.0.5-py3-none-any.whl
  • Upload date:
  • Size: 301.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.10

File hashes

Hashes for pymycobot-4.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7ab6edef05d7ae4e17c543ba24ffbb4f4e504a1acde96f346d658b5aa0609690
MD5 eb0f7ebbe29cf19d29e26495d71c237d
BLAKE2b-256 c95fec6505555837d14f807cef4e9976f90807cac1c69b1ce8f1baad57ad89be

See more details on using hashes here.

Supported by

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