WKlata Mirobot Python SDK
Project description
Wlkata Mirobot (6DoF Robot Arm) Python SDK
Install Package
Windows
pip install wlkata-mirobot-python
Ubuntu
pip3 install wlkata-mirobot-python
Quick Start
'''
Set robot arm wrist pose by P2P trajectory plan
P2P: point to point
'''
from wlkata_mirobot import WlkataMirobot
import time
# Create Robot Arm Object
# Remember to change portname.
# - Windows: COM + ID, exp: 'COM15'
# - Linux: /dev/ttyUSB + ID, exp: '/dev/ttyUSB0'
arm = WlkataMirobot(portname='COM15', debug=True)
# Robot Arm Homing
arm.home_simultaneous()
print("Move to point A (x, y, z)")
arm.set_wrist_pose(200, 20, 230)
print(f"Current robot arm end pose: {arm.pose}")
time.sleep(1)
print("Move to point B (x, y, z)")
arm.set_wrist_pose(200, 20, 150)
print(f"Current robot arm end pose: {arm.pose}")
time.sleep(1)
print("Move to point C (x, y, z, roll, pitch, yaw)")
arm.set_wrist_pose(150, -20, 230, roll=30.0, pitch=0, yaw=45.0)
print(f"Current robot arm end pose {arm.pose}")
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
Close
Hashes for wlkata-mirobot-python-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61917505f8290d5a5cc5e488c9fa5e8dce4bca8ecfe5573e63d7c9723269c673 |
|
MD5 | f4d2271287922c295bb666dea1db6d7e |
|
BLAKE2b-256 | 8d0ed7395b54dce6efebb71574ec8f8811be90283c9a3cd757f1b8ea1a5e3ffe |