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.2.tar.gz
(67.6 kB
view details)
Built Distribution
lebai-0.6.2-py3-none-any.whl
(71.2 kB
view details)
File details
Details for the file lebai-0.6.2.tar.gz
.
File metadata
- Download URL: lebai-0.6.2.tar.gz
- Upload date:
- Size: 67.6 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 | 94141e0cbdb4f033bf8b729d1123c71212a877006870aff2d781b0250eb64654 |
|
MD5 | 31ce751fec4be12c1ce7dad9ab96ebf1 |
|
BLAKE2b-256 | 24f11c4c74d76241c08cacb109b38ec1d999f656cdf97089253994df48a05e7d |
File details
Details for the file lebai-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: lebai-0.6.2-py3-none-any.whl
- Upload date:
- Size: 71.2 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 | 532e12574b88ce3391287f17181ed74c6a7c99b9cef8ecc8c12a317bafe1c860 |
|
MD5 | a2af12ac208503cff70bd479baaabe12 |
|
BLAKE2b-256 | abc6a2a3118a2fea94c5cc791a043b48132007fafccf4265519470945f32c616 |