Skip to main content

BeBop Sensors Forte Data Glove

64-bit Python Module of the DataGlove API

Prerequisite:

64-bit version of Python

Simple Setup:

from dataglove import *

leftHand = Forte_CreateDataGloveIO(1, "") # 0 for right-handed glove
try:
	while True:
		try:
			sensors = Forte_GetSensors(leftHand)
			imu = Forte_GetIMU(leftHand)
			print(sensors)
			print(imu)
		except(GloveDisconnectedException):
			print("Glove is Disconnected")
			pass
except(KeyboardInterrupt):
	Forte_DestroyDataGloveIO(leftHand)
	exit()

Core API Functions

  • Forte_CreateDataGloveIO(handType, bleScanName)
  • 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)

Metadata

Release files for dataglove 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dataglove 0.2.0
File Size Uploaded
dataglove-0.2.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dataglove 0.2.0
File Interpreter ABI Platform
dataglove-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 470.0 kB

Release files / dataglove-0.2.0.tar.gz

Download URL dataglove-0.2.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3a7e58ea2706b842c7dabedbcfade13b2d24a9013df2d09bd2e2bb99a7e190a7
BLAKE2b-256 checksum
How to use checksums
9559ee7f3b15526e7f916de6656c247d38c7df2b0a87e5fcb91b47c1bc25ed52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4

Release files / dataglove-0.2.0-py3-none-any.whl

Download URL dataglove-0.2.0-py3-none-any.whl
Size 466.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db6de6d690813846b4c2687e5b37d5fa16a04e2e8a4fea176907e8777fb9716d
BLAKE2b-256 checksum
How to use checksums
62cec480ac3e781c7e006f0d0f2ff81d5119f5594974904c4ceb65ccaa6aea19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release 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