Skip to main content

Python support for the Robotiq TSF-85 tactile sensor

Project description

pyRobotiqTactile

A Python package for communicating with the Robotiq TSF-85 tactile sensor.

The project focuses on a public RobotiqTactileSensor class that provides:

  • serial communication setup
  • sensor configuration and autosend control
  • pressure-frame decoding as NumPy arrays
  • accelerometer and gyroscope access
  • a structured SensorReading container for the decoded data

Installation

pip install pyrobotiqtactile

For local development:

uv sync
uv run python -m unittest discover -s tests -v

Quick start

Explicit connection

If you already know the port name:

from pyrobotiqtactile import RobotiqTactileSensor

sensor = RobotiqTactileSensor()
sensor.connect("COM3")
sensor.configure(update_period_ms=50, synchronous=True)

reading = sensor.read_frame()
print(reading.pressure.shape)
print(sensor.get_imu())

Package structure

  • protocol.py: low-level packet framing and parsing
  • data.py: NumPy-friendly decoded sensor containers
  • sensor.py: high-level RobotiqTactileSensor API

Development

uv sync
uv build
uv run python -m unittest discover -s tests -v

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

pyrobotiqtactile-0.1.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

pyrobotiqtactile-0.1.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file pyrobotiqtactile-0.1.2.tar.gz.

File metadata

  • Download URL: pyrobotiqtactile-0.1.2.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyrobotiqtactile-0.1.2.tar.gz
Algorithm Hash digest
SHA256 27c3db04a77adba7a59d444d842839f7d9ed7082bab8dca81a59766922f48827
MD5 55db5362a28a8adc1843de310778e8b0
BLAKE2b-256 7c0963c815a49b880225454307a428789deb51c6cd344d61da4aec99d53069a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrobotiqtactile-0.1.2.tar.gz:

Publisher: publish.yml on bcastets-robotiq/pyRobotiqTactile

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrobotiqtactile-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyrobotiqtactile-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 97cbf36bbac11c6310d117b441133ec919e68be9ccdddc961ff32a3ee530b94c
MD5 931d63ccbe169e13faee11193f1423ee
BLAKE2b-256 1d5da5bdb3fd34708631df62f119441036417c450999829d542e2b3dfdf67af6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrobotiqtactile-0.1.2-py3-none-any.whl:

Publisher: publish.yml on bcastets-robotiq/pyRobotiqTactile

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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