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.6.tar.gz
(69.0 kB
view details)
Built Distribution
lebai-0.7.6-py3-none-any.whl
(72.3 kB
view details)
File details
Details for the file lebai-0.7.6.tar.gz
.
File metadata
- Download URL: lebai-0.7.6.tar.gz
- Upload date:
- Size: 69.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90732f301aa0f056b6a84120bf28a3e30f811be2303bb8caf42b99fd9228d159 |
|
MD5 | 3bb8eb97fdf278701055e9cdffe63150 |
|
BLAKE2b-256 | 618abcd96ac9f5ece0663bd8b851b8232206331a218e4c58617fa8cee8baa39e |
File details
Details for the file lebai-0.7.6-py3-none-any.whl
.
File metadata
- Download URL: lebai-0.7.6-py3-none-any.whl
- Upload date:
- Size: 72.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d39fe57f6748db0fa080d271e9c57455feabf92e05772a27280489cd62226451 |
|
MD5 | 761335baa7551f6fad17d2adf4559ee6 |
|
BLAKE2b-256 | a955cccc3a40757655ed055afc3f538c05ad485104c07f8716329dcffefdf442 |