Skip to content

Velocity MVP. Add Velocity calculation toggle and logic.#1753

Open
M1DNYT3 wants to merge 1 commit intoSlimeVR:mainfrom
M1DNYT3:velocity-mvp
Open

Velocity MVP. Add Velocity calculation toggle and logic.#1753
M1DNYT3 wants to merge 1 commit intoSlimeVR:mainfrom
M1DNYT3:velocity-mvp

Conversation

@M1DNYT3
Copy link

@M1DNYT3 M1DNYT3 commented Feb 17, 2026

This PR brings the fundamentals necessary for Velocity transmission from the Server app to the OpenVR driver.

What's added:

  • New config toggle, default is set to false (separate file for future expandability)
  • Per tracker config flag write (for future expandability + follows existing architecture)
  • Velocity calculation and write per tracker.

What's missing:

Technicalities:
Velocity is being calculated based on the final position resolved in HumanSkeleton and its previous delta over the last tick.
Delta is going through a sanity check before being used in order to discard noisy updates and spikes.

Addresses the issue: #25

@github-actions github-actions bot added Area: Skeletal Model Deals with the model of the skeleton and its pose Area: Server Related to the server labels Feb 17, 2026
@M1DNYT3 M1DNYT3 force-pushed the velocity-mvp branch 2 times, most recently from 1ad1a76 to b502b9c Compare February 17, 2026 12:11
@M1DNYT3
Copy link
Author

M1DNYT3 commented Feb 17, 2026

Force pushes in history are changes made by spotless.
For some reason, one application wasn't enough for it to fix all the issues in Tracker.kt, so I had to push it twice, and I didn't want to make 2 separate commits for spotless alone.

@M1DNYT3 M1DNYT3 changed the title MVP. Add Velocity transmission toggle and calculation logic. MVP. Add Velocity calculation toggle and logic. Feb 17, 2026
@M1DNYT3 M1DNYT3 changed the title MVP. Add Velocity calculation toggle and logic. Velocity MVP. Add Velocity calculation toggle and logic. Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Server Related to the server Area: Skeletal Model Deals with the model of the skeleton and its pose

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant