Skip to main content

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

points

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulseapi_integration_calibrate-0.0.2.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file pulseapi_integration_calibrate-0.0.2.tar.gz.

File metadata

  • Download URL: pulseapi_integration_calibrate-0.0.2.tar.gz
  • Upload date:
  • Size: 20.9 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

Hashes for pulseapi_integration_calibrate-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1190a49eea4173d14981e996c69ab5b7d4964fc767177cc815d0ce84053d3b62
MD5 b3c2fe26b24a35e1a20110cc1af69f20
BLAKE2b-256 ee6fec47c951a2e4f608b7d532e4044bf9b5a6acaf058aa3504b4443cecaa421

See more details on using hashes here.

File details

Details for the file pulseapi_integration_calibrate-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pulseapi_integration_calibrate-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.0 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

Hashes for pulseapi_integration_calibrate-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 432363d408be5cbc039a3610827a57b3f66e7392a0fcd2a87dfc6fd13a35dbba
MD5 5fb2deb2e610335728f940cb546e969a
BLAKE2b-256 7bad282379ce8e7160b94c2e78878189547a3da3010b5aa72b2c60560f93b360

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page