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_tool_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_tool_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_tool_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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fcfe859225e414c7618a8e9cb7cfab085e407a4413b424350f0561e0c6147de |
|
MD5 | 93df42973173390f1ffc2e2539623757 |
|
BLAKE2b-256 | 524316c27826b4b1d7c754c9f8b38498e20c8d649c88fc260237fa66da2f8e05 |