semvec/pypi-packages huggingface dataset:
IDS-XS-TOOLS-UiS 0.3
Image functions for IDS XS camera
Requires Python: >=3.6

# IDS XS TOOLS - UiS
Class and functions for processing images and puck objects

## installation

pip install IDS-XS-TOOLS-UiS



## contents

ImageFunctions

    Functions to capture image, find pucks and test if image is blurry.

Puck Class

    Used to define a Puck object. 
    Happens automatically when a puck is detected using QR-Reader.

    Puck class contains:
    puck number
    puck position
    puck angle
    puck height


#### function examples;



**capture_image(cam, gripper_height)**  
Captures an image and returns image array
Gripper height is needed.

**findPucks(cam, robot, robtarget_pucks, cam_comp=False)**  
Finds all pucks in the frame of the camera by capturing an image and scanning the image for QR codes.
After the codes have been pinpointed, a series of transformations happen to finally create robtargets
which can be sent to RobotWare.
Robot, previous found pucks and wether camera compensation has been performed or not is needed.

**set_position(self, position)**  
Set the [x,y] coordinate belonging  to the puck.

## example of use

    # Two ways to import:
    import ids_xs_tools

    # or
    from ids_xs_tools import ImageFunctions, Puck

	# Then again two ways to excecute wanted commands:
	ids_xs_tools.ImageFunctions.findPucks(config.cam, norbert, robtarget_pucks, 195)

	# or
	ImageFunctions.findPucks(config.cam, norbert, robtarget_pucks, 195)
pulseapi-integration-calibrate 0.0.3
Calibrate plane
Requires Python: >=3.6

## 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

```python
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](https://www.researchgate.net/profile/Wenzeng_Zhang2/publication/221104984/figure/fig1/AS:393976885596166@1470942817415/Three-points-in-part-coordinate-system.png)

_**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
FireDeamon 0.1.2
Misc routines for the ManipulateAggregates package

# GENERAL

This is a set of C++-based Python extensions for the ManipulateAggregates
software package (see <https://github.com/razziel89/ManipulateAggregates>).

Please see the documentation for all detailed descriptions of libFireDeamon on
<https://razziel89.github.io/libFireDeamon/> (provided via GitHub pages).
Since we lack a good tool to document both Python and C++ code, both are
documented separately.
Doxygen is used for C++ whereas Sphinx is used for Python.
The Python docs are available at:
<https://razziel89.github.io/libFireDeamon/>.
They link to the C++ documentation.

# Contributing

Contributions are very welcome!
Please simply open a pull request.
If you would like to make large-ish contributions, it might be prudent to first
contact the maintainer to better co-ordinate those efforts.

This project uses the following auto-formatters:
* Python code: black (the uncompromising Python code formatter)
  <https://github.com/psf/black>
* C++ code: clang-format <https://clang.llvm.org/docs/ClangFormat.html> with the
  options `--style="{BasedOnStyle: llvm, ColumnLimit: 100, BinPackArguments: false}"`

Please make sure to auto-format your pull request with those options.
Furthermore, please document any code you add.
Happy contributing!