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
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.4.3.tar.gz
(61.6 kB
view details)
Built Distribution
lebai-0.4.3-py3-none-any.whl
(68.8 kB
view details)
File details
Details for the file lebai-0.4.3.tar.gz
.
File metadata
- Download URL: lebai-0.4.3.tar.gz
- Upload date:
- Size: 61.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b3c2ddcd2a675d07a4d16f0495e74737d04208041f6003821fa97ff64f59310 |
|
MD5 | 33fa2ec5d6b94cc75e208903fc9ddb8f |
|
BLAKE2b-256 | 1584d7978a2ed0e1773c5f090256836f7714597dd5e066e0b8298bdce43f633d |
File details
Details for the file lebai-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: lebai-0.4.3-py3-none-any.whl
- Upload date:
- Size: 68.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4c9c533e2a5d1346d4159f2319aee1b26fe2843e133ab343d5313925d1419b5 |
|
MD5 | bb2f5a015a9620a42e346d992932c9e8 |
|
BLAKE2b-256 | 5570f0a86f7d596d05c9c45077d94e882304a570822d4299ac251374cf5bf438 |