Skip to main content

BeBop Sensors Forte Data Glove

Python Module of the DataGlove API

Simple Setup:

from dataglove import *

leftHand = Forte_CreateDataGloveIO(1) # 0 for right-handed glove
try:
	while True:
		sensors = Forte_GetSensors(leftHand)
		imu = Forte_GetIMU(leftHand)
		print(sensors)
		print(imu)
except(KeyboardInterrupt):
	Forte_DestroyDataGloveIO(leftHand)
	exit()

Core API Functions

  • Forte_CreateDataGloveIO(handType)
  • Forte_DestroyDataGloveIO(dataGloveIO)
  • Forte_GetIMU(dataGloveIO)
  • Forte_GetSensors(dataGloveIO)
  • Forte_GetBatteryLevel(dataGloveIO)
  • Forte_GetConnectionState(dataGloveIO)
  • Forte_GetHandType(dataGloveIO)
  • Forte_UploadFile(dataGloveIO, filePath, slot)
  • Forte_EnterBootloaderMode(dataGloveIO)
  • Forte_SetGloveDisplayID(dataGloveIO)
  • Forte_GetFullReport(dataGloveIO)

Raw Sensors/Fingers Functions

  • Forte_GetSensorRaw(dataGloveIO, index)
  • Forte_GetSensorsRaw(dataGloveIO)
  • Forte_GetFingerRaw(dataGloveIO, index)
  • Forte_GetFingersRaw(dataGloveIO)

Normalized Sensors/Fingers Functions

  • Forte_GetSensorNormalized(dataGloveIO, index)
  • Forte_GetSensorsNormalized(dataGloveIO)
  • Forte_GetFingerNormalized(dataGloveIO, index)
  • Forte_GetFingersNormalized(dataGloveIO)

Raw/Normalized Finger Sum Functions

  • Forte_GetFingersSumRaw(dataGloveIO)
  • Forte_GetFingersSumNormalized(dataGloveIO)

Haptics Functions

  • Forte_SendHaptic(dataGloveIO, actuatorID, note, amplitude)
  • Forte_SendOneShotHaptic(dataGloveIO, actuatorID, note, amplitude)
  • Forte_SendLoopHaptic(dataGloveIO, actuatorID, note, amplitude)
  • Forte_ToggleOneShot(dataGloveIO, actuatorID, makeOneShot)
  • Forte_SelectHapticWave(dataGloveIO, actuatorID, waveform)
  • Forte_SetGrainLocation(dataGloveIO, actuatorID, location)
  • Forte_SetAmplitude(dataGloveIO, actuatorID, amplitude)
  • Forte_SetPitchBend(dataGloveIO, actuatorID, pitch)
  • Forte_SetGrainSize(dataGloveIO, actuatorID, size)
  • Forte_SetGrainFade(dataGloveIO, actuatorID, fade)
  • Forte_ToggleHapticsOn(dataGloveIO, turnOn)
  • Forte_SilenceHaptics(dataGloveIO)

Calibration Functions

  • Forte_CalibrateFlat(dataGloveIO)
  • Forte_CalibrateFingersIn(dataGloveIO)
  • Forte_CalibrateThumbIn(dataGloveIO)
  • Forte_LoadCalibration(dataGloveIO, slot)
  • Forte_SaveCalibration(dataGloveIO, slot)
  • Forte_ResetCalibration(dataGloveIO)

Device Info Functions

  • Forte_GetHardwareRev(dataGloveIO)
  • Forte_GetHardwareVersion(dataGloveIO)
  • Forte_GetSAMDBootloaderVersion(dataGloveIO)
  • Forte_GetSAMDAppletVersion(dataGloveIO)
  • Forte_GetBLESoftDeviceVersion(dataGloveIO)
  • Forte_GetBLEBootloaderVersion(dataGloveIO)
  • Forte_GetBLEAppletVersion(dataGloveIO)

Conversion and Rotation Functions

  • Forte_HomeIMU(dataGloveIO)
  • Forte_GetQuaternionRaw(dataGloveIO)
  • Forte_GetQuaternionNormalized(dataGloveIO)
  • Forte_GetEulerAngles(dataGloveIO)
  • Forte_GetAxisAngle(dataGloveIO)
  • Forte_GetRotationMatrix(dataGloveIO)
  • Forte_GetSphericalCoordinates(dataGloveIO)

Download files

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

Source Distribution

dataglove-0.0.10.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

dataglove-0.0.10-py3-none-any.whl (256.2 kB view details)

Uploaded Python 3

File details

Details for the file dataglove-0.0.10.tar.gz.

File metadata

  • Download URL: dataglove-0.0.10.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for dataglove-0.0.10.tar.gz
Algorithm Hash digest
SHA256 7daf2b1068f7ac2696c4a90cb5163205785e505a78910fdecb4cec5d4f4180ff
MD5 c78936841ceba422cd34470e67b3799e
BLAKE2b-256 1c07a89b37c01e3d00dea732de3c07f93b0029776d9ba5c0a3fd6bf678cfd3f8

See more details on using hashes here.

File details

Details for the file dataglove-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: dataglove-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 256.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for dataglove-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 050161d9f1a12b491b13c83f8934c248636f292d8ef89e0dc6a97b0925063047
MD5 f0dd7718c95043dacc330826f741440c
BLAKE2b-256 347193cbadc48669f427defab7d56b4fabfa6be89a113ae9143b4a3f9522a4b2

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.12

2 files

0.0.11

2 files

This release

0.0.10 This release

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page