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.6.4.tar.gz
(67.9 kB
view details)
Built Distribution
lebai-0.6.4-py3-none-any.whl
(71.3 kB
view details)
File details
Details for the file lebai-0.6.4.tar.gz
.
File metadata
- Download URL: lebai-0.6.4.tar.gz
- Upload date:
- Size: 67.9 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 | 6e35733e55e3ce167494ec6dbb424ed893a43f07fcc5fcfb171d16c45f0a4a13 |
|
MD5 | 7b30b00c8f892d88e85c67f4cdca0243 |
|
BLAKE2b-256 | 9f7bab5b88772fda3971839fe4a6056bd1316924a99e926420fece1ca70743bf |
File details
Details for the file lebai-0.6.4-py3-none-any.whl
.
File metadata
- Download URL: lebai-0.6.4-py3-none-any.whl
- Upload date:
- Size: 71.3 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 | 435383570e3e08430eebc0619f3cafb94c7d356403cd4eda27a0659c6065efef |
|
MD5 | fe14cd697ca7f523edabfb5fbeceb45c |
|
BLAKE2b-256 | 6e5546f438c12ddcf41737f51f272cfca1d800e971b1aac4445d03bedcd14c41 |