Skip to main content

Lebai Robot Python SDK

Project description

乐白机器人 Python SDK

使用说明

pip install lebai

API 文档

  • LebaiRobot:提供同步的 API。

示例

import math

from lebai import LebaiRobot, CartesianPose, JointPose


def run():
    rb = LebaiRobot("192.168.3.218")

    rb.start_sys()

    rb.movej(JointPose(0, -1.2, math.pi / 6, 0, math.pi / 4, 0), 0, 0, 1, 0)

    base = rb.get_actual_tcp_pose()
    p2 = CartesianPose(0.1, 0, 0, 0, 0, 0, base=base)
    rb.movel(p2, 0, 0, 1, 0)

    rb.stop_sys()


if __name__ == '__main__':
    run()

版本要求

  • Python >= 3.5

安装依赖:

pip install grpcio protobuf~=3.19.4 requests

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

lebai-0.8.5.tar.gz (68.9 kB view details)

Uploaded Source

Built Distribution

lebai-0.8.5-py3-none-any.whl (73.5 kB view details)

Uploaded Python 3

File details

Details for the file lebai-0.8.5.tar.gz.

File metadata

  • Download URL: lebai-0.8.5.tar.gz
  • Upload date:
  • Size: 68.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for lebai-0.8.5.tar.gz
Algorithm Hash digest
SHA256 8141d3de628cf95b5fe42a1224b2e622bb7bba8e4cc19c1b2177a73ddcf55ab5
MD5 62dbd7e3916da2e7c31d2370b9266c73
BLAKE2b-256 fab38689a16b9921012790649fadf678d593e032450d09d99c0373605cfe7134

See more details on using hashes here.

File details

Details for the file lebai-0.8.5-py3-none-any.whl.

File metadata

  • Download URL: lebai-0.8.5-py3-none-any.whl
  • Upload date:
  • Size: 73.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for lebai-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6f73dfb56a364bb73946b5d27706dd525ce7bb2293755a4ecad693273d8dc43d
MD5 4f9dfa33ea75a5543bf7ed340c4d0285
BLAKE2b-256 06253487be3c664ed32c0dae92f3a5356082fdf50bce56d955bdbc2e55d1f0be

See more details on using hashes here.

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