Skip to main content

wlkata-mirobot-python

勤牛智能 Mirobot六自由度机械臂 Python SDK

安装包

Windows


通过pip安装

.. code:: bash

   pip install wlkata-mirobot-python

从源码编译安装

::

   python -m pip install .

Ubuntu
~~~~~~

通过pip安装

.. code:: bash

   sudo pip3 install wlkata-mirobot-python

从源码编译安装

::

   sudo python3 -m pip install .

准备工作
--------

-  将机械臂上电并连接到电脑的USB端口处

-  电脑安装好了CH340的驱动

-  安装好了Mirobot的Python SDK

快速入手
--------

.. code:: python

   '''
   机械臂腕关节的位置控制, 点控P2P(point to point)模式
   '''
   import time
   from wlkata_mirobot import WlkataMirobot

   # 创建机械臂 
   arm = WlkataMirobot()
   # 回归机械零点 Homing (同步模式)
   arm.home()

   print("运动到目标点 A")
   arm.set_tool_pose(200,  20, 230)
   print(f"当前末端在机械臂坐标系下的位姿 {arm.pose}")
   time.sleep(1)

   print("运动到目标点 B")
   arm.set_tool_pose(200,  20, 150)
   print(f"当前末端在机械臂坐标系下的位姿 {arm.pose}")
   time.sleep(1)

   print("运动到目标点 C, 指定末端的姿态角")
   arm.set_tool_pose(150,  -20,  230, roll=30.0, pitch=0, yaw=45.0)
   print(f"当前末端在机械臂坐标系下的位姿 {arm.pose}")

使用手册
--------

详细的API说明与示例代码, 请参阅
``doc/WLKATA MIROBOT Python SDK使用手册/``

Release files for wlkata-mirobot-python 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wlkata-mirobot-python 0.1.14
File Size Uploaded Provenance Actions
wlkata-mirobot-python-0.1.14.tar.gz 19.2 kB Without provenance Details for wlkata-mirobot-python-0.1.14.tar.gz

Release files / wlkata-mirobot-python-0.1.14.tar.gz

Download URL wlkata-mirobot-python-0.1.14.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
95a8f69ef2800818791d698f0e6de6a677da36e09262bd078da56e9ff37378f3
BLAKE2b-256 checksum
How to use checksums
ee36f8a916e0e26ca98517da133dacb6088b7af3833f2f689f6f042a5ff7189e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for wlkata-mirobot-python 0.1.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page