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.8.tar.gz
(205.5 kB
view details)
Built Distribution
lebai-0.7.8-py3-none-any.whl
(73.5 kB
view details)
File details
Details for the file lebai-0.7.8.tar.gz
.
File metadata
- Download URL: lebai-0.7.8.tar.gz
- Upload date:
- Size: 205.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f529f9b1b4599c3c05a78f9c491838a66c35b5b561bdf59c3e88d28d949852ec |
|
MD5 | cc6cc5dc88147b7a72888b921963f4db |
|
BLAKE2b-256 | 50a96bf533b5535d434009bd0a51b9b10142ac1a826f52645baea0f4c7c6aa1f |
File details
Details for the file lebai-0.7.8-py3-none-any.whl
.
File metadata
- Download URL: lebai-0.7.8-py3-none-any.whl
- Upload date:
- Size: 73.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3279f14b72392840a02173963b0a2bafc07e44c30562c2c914951d04e605a0f |
|
MD5 | c43367be76d96cf5d8ff8e7298b2c5c7 |
|
BLAKE2b-256 | 115f07ed00b9851bbe54018236192c9a63fe927b7f7af64011579aca11b8d2ef |