Lebai Robot Python SDK
Project description
乐白机器人 Python SDK
使用说明
pip install lebai
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
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.9.0.tar.gz
(51.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lebai-0.9.0-py3-none-any.whl
(55.3 kB
view details)
File details
Details for the file lebai-0.9.0.tar.gz.
File metadata
- Download URL: lebai-0.9.0.tar.gz
- Upload date:
- Size: 51.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39482cfbe33c82e98ab78ea97bf080ec6af1327d0ea1322500c2fdf2d90c5328
|
|
| MD5 |
d2c71b0d3950bdd5bbe40d5e0e254f49
|
|
| BLAKE2b-256 |
8940aa63650c829a0e54c192681dedc258c992320eeb093134afe17c62fadd7e
|
File details
Details for the file lebai-0.9.0-py3-none-any.whl.
File metadata
- Download URL: lebai-0.9.0-py3-none-any.whl
- Upload date:
- Size: 55.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54ba4c03f79f5c2d0da8cf70aa514db7a119f98adb3d3d41180053008769b604
|
|
| MD5 |
cd7bdbd9288c9128b11b169d84943b96
|
|
| BLAKE2b-256 |
66f2a0c85a510a8d409e732d165d88aa38220591267fb6784f0a012e03c33597
|