Skip to main content

SDK for Elite EC Series Cobots

Project description

Elite EC Series Python SDK

Introduction

There was no Python SDK for the Elite EC Series of Cobots, so I decided to make one. This SDK is based on the ELITE ROBOTS EC Series Programming Manual, provided by Elite Robots. The official manual provides functions that establish socket communication for controlling the robot. This SDK is the more pythonic version of the official manual.

Usage

Please insure that the robot is in remote mode when using this SDK.

You can instantiate a robot class for each robot, the robot class requires IP address at the time of object creation.

warehouse_bot = Robot("192.168.0.1")

You need to follow these steps to send commands to the robot.

  1. Instantiate a new robot object with IP and Port (by default Robot class uses Port 8055).
  2. Make connection to the robot.
  3. Send commands to the robot using the execute function or set variables using setVariable function.
  4. After usage is over, You should ideally disconnect the robot using disconnect function.

Example Program

import robot

warehouse_bot = Robot("192.168.0.1")

# Connect to the robot
connection, message = warehouse_bot.connect()
print(message)

if connection:
    # Accessing the value of System Variable B at address 1
    _, result = warehouse_bot.getVariable("SysVarB", 1)
    print("Value of SysVarB at addr 1: ", result)

    # Executing pause_trajectory command mentioned in the Programming Manual
    _, result = warehouse_bot.execute("pause_trajectory")
    print(result)

    # Disconnection the robot
    result, message = warehouse_bot.disconnect()
    print(message)

Further Development

This SDK was made for the sole purpose of making my projects using this robot, easy to read and understand, the official "SDK", requires many lines of code to be written each time and it is difficult to understand.

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

elite-ec-sdk-0.0.2.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

elite_ec_sdk-0.0.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file elite-ec-sdk-0.0.2.tar.gz.

File metadata

  • Download URL: elite-ec-sdk-0.0.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for elite-ec-sdk-0.0.2.tar.gz
Algorithm Hash digest
SHA256 859bd4d0333b0cf37dda0ae6de1befc4952f7729ee403e8d6148842388aecc32
MD5 c9a2e41de9a8ee0ac7779d4d3baaddc8
BLAKE2b-256 0160505ea9da79b4ae2e8abee1482cbc60615ff88386f8b38492236e851b08ae

See more details on using hashes here.

Provenance

File details

Details for the file elite_ec_sdk-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for elite_ec_sdk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b300c6ad3c277627d0474ac317c506265f21769c24cb501a47840f684e003bb2
MD5 63454f7d1bd87fad20006c40deda4e52
BLAKE2b-256 c3cbecb6765b1f7a307bc1c8d66cec6ebab4250ecfa8459523df47918ccea25f

See more details on using hashes here.

Provenance

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