1.7.7 • Published 4 days ago

haritorax-interpreter v1.7.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 days ago

HaritoraX Interpreter

Showcase of the package output with debug logs on, showing the data such as tracker settings, info, and interpreted IMU data via the GX6 dongle

A node.js package that allows you to communicate and interact with the HaritoraX FBT trackers to interpret the data how you want it. No HaritoraConfigurator software needed!

Check out the Haritora-GX(6/2) proof-of-concept repository here: https://github.com/JovannMC/haritora-gx-poc

Installation

npm install haritorax-interpreter

Documentation

Will write actual documentation at some point, for now refer to the source code, examples, and JSDoc comments.

Supported devices

DeviceSupportedElbow/Hip support
HaritoraX WirelessYY
HaritoraX 1.1B??
HaritoraX 1.1??
HaritoraX 1.0??
HaritoraXX
Communication modeSupported
BluetoothY
GX6 Communication DongleY
GX2 Communication DongleY

Example

import { HaritoraXWireless } from "haritorax-interpreter";

let device = new HaritoraXWireless(2, true); // enable debug mode w/ function & line info, allow printing of processIMUData() logs (lots of spam!)
device.startConnection("gx", ["COM4", "COM5", "COM6", "COM7"]); // start connecting to dongles via GX dongles, with the ports COM4, COM5, COM6, and COM7

device.on("imu", (trackerName, rotation, gravity, ankle) => {
    // IMU data received, do stuff
});

setTimeout(() => {
    // apply the following settings to the rightAnkle tracker:
    // sensor mode: 1 (magnetometer enabled)
    // posture data transfer rate: 100FPS
    // sensor auto correction mode: accelerometer and gyroscope
    // ankle motion detection: enabled
    device.setTrackerSettings("rightAnkle", 1, 100, ['accel', 'gyro'], true);
}, 2000)

setTimeout(() => {
    device.stopConnection("gx");
}, 10000)

Projects using package

  • SlimeTora - A program that connects the HaritoraX Wireless trackers to the SlimeVR server, supporting Bluetooth and the GX6 communication dongle.

Let me know if you want to be featured here, if you are using this package in any project!

License

This package is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

1.7.7

4 days ago

1.7.6

5 days ago

1.7.5

9 days ago

1.7.4

9 days ago

1.7.3

10 days ago

1.7.2

11 days ago

1.7.1

13 days ago

1.7.0

13 days ago

1.5.5

17 days ago

1.5.4

18 days ago

1.5.3

18 days ago

1.6.1

17 days ago

1.5.2

18 days ago

1.6.0

17 days ago

1.5.1

22 days ago

1.4.6

25 days ago

1.5.0

24 days ago

1.4.7

25 days ago

1.4.5

27 days ago

1.4.4

28 days ago

1.4.3

1 month ago

1.4.2

1 month ago

1.4.1

1 month ago

1.4.0

1 month ago

1.3.2

1 month ago

1.3.1

1 month ago

1.3.0

1 month ago

1.2.1

1 month ago

1.2.0

1 month ago

1.1.0

2 months ago

1.0.0

2 months ago