Skip to main content

XenseGloveSDK

xenseglovesdk provides a Python API for Xense tactile gloves. Connect over USB serial or Bluetooth Low Energy (BLE) to read pressure distributions across the fingers and palm, along with IMU data.

Features​

FeatureDescription
Device connectionsDiscover and connect USB serial or BLE gloves; query the serial number, hand, and firmware version
Pressure dataRead a 63 × 39 pressure matrix and access the thumb, index, middle, ring, little finger, and palm regions
Data analysisGet valid point counts, ADC totals, maximum and mean values, and contact points that meet a threshold
Acquisition settingsSelect the output mode, channel, and frame rate; tare the glove over USB
IMU dataRead acceleration and angular velocity on three axes

Pressure readings are ADC values in the range 0–254. They describe contact locations and pressure changes, but do not directly represent force in newtons. IMU data provides acceleration and angular velocity; orientation angles require further calculation in your application.

Connection options​

ConnectionRequirementsPython entry point
USB serialConnect the glove to the computer with a USB data cableXenseGlove.open(port)
BLEA glove with BLE support and Bluetooth enabled on the computerXenseGlove.open_ble(address)

The glove sends data through one output channel at a time. After connecting, call set_channel("serial") or set_channel("ble") to select the channel that matches your connection.

Get started​

  1. Prepare your Python environment and install the SDK using the Installation guide.
  2. Connect a glove and read your first frame in Quick Start.
  3. Learn about the matrix layout, contact points, and IMU units in the Data Guide.
  4. Look up parameters and return values in the API Reference, or troubleshoot connections and acquisition in the FAQ.