@slimevr/firmware-protocol-debugger
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

SlimeVR Protocol Debugger

Simple, dependency-less inspection utility written in JavaScript to debug packets sent by owoTrack and SlimeVR trackers

Requirements

Getting Started

Make sure you have stopped the SlimeVR server before running this software!

npx @slimevr/firmware-protocol-debugger

Command line flags

  • --dump-all-packets-raw: Dump all packets to the console.
  • --dump-rotation-data-packets-raw: Dump all RotationData packets to the console.
  • --dump-rotation-data-packets-processed: Process the RotationData packets with averaging and standard distribution and dump them to the console.
  • --rotation-data-packets-file <file.csv>: Dump all RotationData packets to a file in CSV format.
  • --dump-fused-imu-data-raw: Dump all FusedIMUData packets to the console.
  • --dump-fused-imu-data-processed: Process the FusedIMUData packets with averaging and standard distribution and dump them to the console.
  • --fused-imu-data-file <file.csv>: Dump all FusedIMUData packets to a file in CSV format.
  • --dump-raw-imu-data-raw: Dump all RawIMUData packets to the console.
  • --dump-raw-imu-data-processed: Process the RawIMUData packets with averaging and standard distribution and dump them to the console.
  • --raw-imu-data-file <file.csv>: Dump all RawIMUData packets to a file in CSV format.
  • --dump-correction-data-raw: Dump all CorrectionData packets to the console.
  • --dump-correction-data-processed: Process the CorrectionData packets with averaging and standard distribution and dump them to the console.
  • --correction-data-file <file.csv>: Dump all CorrectionData packets to a file in CSV format.

Enabling extra IMU debug packets

git clone https://github.com/SlimeVR/SlimeVR-Tracker-ESP
cd SlimeVR-Tracker-ESP

# Edit src/debug.h
# Set `ENABLE_INSPECTION` to `true`
# Set `POWERSAVING_MODE` to `POWER_SAVING_NONE`
# Flash your ESP

Readme

Keywords

none

Package Sidebar

Install

npm i @slimevr/firmware-protocol-debugger

Homepage

.

Weekly Downloads

2

Version

0.2.6

License

(MIT OR Apache-2.0)

Unpacked Size

11.1 kB

Total Files

13

Last publish

Collaborators

  • eirenliel
  • thedevminertv