Skip to main content

乐白机器人 Python SDK

使用说明

pip install lebai

API 文档

  • LebaiRobot:提供乐白机器人API的python调用接口。

示例

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.7

安装依赖:

pip install grpcio protobuf~=3.19.4 requests

Metadata

Release files for lebai 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lebai 0.9.0
File Size Uploaded Provenance
lebai-0.9.0.tar.gz 51.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lebai 0.9.0
File Interpreter ABI Platform
lebai-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 106.4 kB

Release files / lebai-0.9.0.tar.gz

Download URL lebai-0.9.0.tar.gz
Size 51.2 kB
Tags Source
SHA-256 checksum
How to use checksums
39482cfbe33c82e98ab78ea97bf080ec6af1327d0ea1322500c2fdf2d90c5328
BLAKE2b-256 checksum
How to use checksums
8940aa63650c829a0e54c192681dedc258c992320eeb093134afe17c62fadd7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.9

Release files / lebai-0.9.0-py3-none-any.whl

Download URL lebai-0.9.0-py3-none-any.whl
Size 55.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54ba4c03f79f5c2d0da8cf70aa514db7a119f98adb3d3d41180053008769b604
BLAKE2b-256 checksum
How to use checksums
66f2a0c85a510a8d409e732d165d88aa38220591267fb6784f0a012e03c33597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.9

Security for lebai 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page