Lebai Robot Python SDK
Project description
乐白机器人 Python SDK
使用说明
pip install lebai
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 requests
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
lebai-0.7.2.tar.gz
(68.7 kB
view details)
Built Distribution
lebai-0.7.2-py3-none-any.whl
(72.0 kB
view details)
File details
Details for the file lebai-0.7.2.tar.gz
.
File metadata
- Download URL: lebai-0.7.2.tar.gz
- Upload date:
- Size: 68.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 017a751955472961985a9baed8b09549039408a7140954c46d147d099cfcd40f |
|
MD5 | ac0605f5853d21096995458d71de665f |
|
BLAKE2b-256 | 810f220eea81ec46f2e00c7566f4795f43f0bd54596f8772b57ed13f0d65b1a5 |
File details
Details for the file lebai-0.7.2-py3-none-any.whl
.
File metadata
- Download URL: lebai-0.7.2-py3-none-any.whl
- Upload date:
- Size: 72.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d1624f998b921ee2c26c7f2b6386264b9e4862e4201c8494a87e02897033e3 |
|
MD5 | 16339c5d25e0678a8387e62f25a04a9f |
|
BLAKE2b-256 | de512302e75b485f97abdc6566afa9058fc927aafff3155c8763364b93ba56cb |