Skip to main content

CFFI wrap of ATI-IA force-torque sensor transform c library

Project description

Python interface to ATI-IA force-torque transform (ATIDAQ) C library, v1.0.7. For use with ATI Industrial Automation force-torque sensors.

This package does not read from hardware. Another package, such as NI-DAQmx, must be used for that purpose.

ATIDAQ C Library is available at https://www.ati-ia.com/library/software/daq_ft/ATIDAQ%20C%20Library.zip

Installation

pip install atiiaftt

Dependencies

CFFI and platform appropriate build tools are required to build the C source that is included with the package.

For Linux distributions, install the developer package group.

For Windows, see https://wiki.python.org/moin/WindowsCompilers

Documentation

Module help for the python classes is available via docstrings. Documentation for the wrapped functions is available in ATIDAQ_c_lib/readme.txt

Usage examples

High level usage is as follows:

  1. import atiiaftt

  2. Create an instance of the atiiafft.FTsensor class

  3. Load calibration data, either passing the calibration file path as a string during class instantiation or as a parameter while calling instance.createCalibration(‘./FT18766cal’).

  4. Optionally, set the tool transform, bias values and units as needed, eg)
    • instance.setToolTransform([0,0,20,45,0,0],atiiaftt.FTUnit.DIST_MM,atiiaftt.FTUnit.ANGLE_DEG)

    • instance.bias([0.254,-1.027,0.025,0.7422.0.9302,-0.230,0.082])

  5. Call the force-torque conversion function: instance.convertToFt([0.042,1.004,0.952,-0.235,0.091,1.091,0.054]); this returns the forces and torques as a list [F.x,F.y,F.z,T.x,T.y,T.z]. The last transformed values are stored in the instance variable instance.ft_vector for later access.

CFFI and python class examples found in ‘atiiaftt/samples/ftconvert.py’

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

atiiaftt-0.1.1.tar.gz (84.7 kB view details)

Uploaded Source

Built Distributions

atiiaftt-0.1.1-cp37-cp37m-win_amd64.whl (68.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

atiiaftt-0.1.1-cp36-cp36m-win_amd64.whl (67.2 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file atiiaftt-0.1.1.tar.gz.

File metadata

  • Download URL: atiiaftt-0.1.1.tar.gz
  • Upload date:
  • Size: 84.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for atiiaftt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 869e74f16552e18b3fbf2ec75dd7adc7b2889ee5f1fc99a79c92ed88bef9d2e6
MD5 7f0f82daaca86c2117c7415b35614d81
BLAKE2b-256 be6bd8c3bf611b9fb70f457ebde53ca0e814db71c555d94ce89b2ae1501a97f9

See more details on using hashes here.

File details

Details for the file atiiaftt-0.1.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: atiiaftt-0.1.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 68.1 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for atiiaftt-0.1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e3057384f0de9942281753d957577b09de047669ff797361ffd0dca13546725a
MD5 42668220c8d552fe96965abf6e1f14f6
BLAKE2b-256 26ef5483bc0671bc879f09699236ebcf5535afd45286e92a7111795869fe5733

See more details on using hashes here.

File details

Details for the file atiiaftt-0.1.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: atiiaftt-0.1.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 67.2 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for atiiaftt-0.1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2f473a589563f107fe5e11d281a12cd87f60d3b18a235c180643b7afe91819a3
MD5 20dc6f7dab86e4e42620dbc651b7e562
BLAKE2b-256 a0b7eab2d419dfaaeb1101677266e76e32c270d6ad664695f030c6b2f808698d

See more details on using hashes here.

Supported by

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