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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02d998db04cbd76db4d2a4d1097f5cf0abc43cbd286ced5e360cfd7393d365e3 |
|
MD5 | deb97910f6da99c782223495ba81093c |
|
BLAKE2b-256 | aa415e4fa309c22335dffbf85e8fe183b848599245796d1ce44faa26a49edea9 |