Calibrate plane
Project description
Rounding motion for robot Pulse by Rozum Robotics
Requirements
Python 3.6+
pulse-api (pip3 install pulse-api -i https://pip.rozum.com/simple)
pulseapi-integration (pip3 install pulseapi-integration)
Installation
To get the latest version, use the following command:
pip install pulseapi-integration-calibrate
Getting started
Examples use the latest version of the library.
Quickstart
from pulseapi_integration_calibrate.plane import calibrate_reference_frame
from pulseapi_integration import *
host = "192.168.1.33:8081"
robot = NewRobotPulse(host)
CALIBRATE_FRAME_3P_P1_ORIGIN = 1
M1 = [x1,y1,z1]
M2 = [x2,y2,z2]
M3 = [x3,y3,z3]
frame = calibrate_reference_frame([M1,M2,M3], method = CALIBRATE_FRAME_3P_P1_ORIGIN)
robot.set_reference_frame(position(frame[0],frame[1]))
New function:
calibrate_reference_frame(points,method)
Return calibrate frame
Points definition:
If method = CALIBRATE_FRAME_3P_P1_ORIGIN, then set points as in the image
Methods:
CALIBRATE_FRAME_3P_P1_ON_X = 0 # Calibrate by 3 points: [X, X+, Y+] (p1 on X axis)
CALIBRATE_FRAME_3P_P1_ORIGIN = 1 # Calibrate by 3 points: [Origin, X+, XY+] (p1 is origin)
CALIBRATE_FRAME_6P = 2 # Calibrate by 6 points
Important!
Now only CALIBRATE_FRAME_3P_P1_ORIGIN method works
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pulseapi_integration_calibrate-0.0.3.tar.gz.
File metadata
- Download URL: pulseapi_integration_calibrate-0.0.3.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ca16daa4dde8fd3158f7c7d00bdb36038bb4e4110a4f18a4d3bdc3cb584e0c8
|
|
| MD5 |
622909424f04c53a051bf17e8616e690
|
|
| BLAKE2b-256 |
8844ecccf123744770b7c0533a6044c8d6a4f935f8bcb42383c7ea3479f9c514
|
File details
Details for the file pulseapi_integration_calibrate-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pulseapi_integration_calibrate-0.0.3-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d6c987d75d3148666470b307a2edc95467d7ed756b6c98c43727e753d723df9
|
|
| MD5 |
25215ef2951ceeaf5961e930ebb5832b
|
|
| BLAKE2b-256 |
30dd7eaa442ecd43a1cad0c26d1705ad2e8822910f9ff17ebf21e3980c754607
|