Add Velocity calculation logic and GUI toggle (end-to-end MVP).#1753
Add Velocity calculation logic and GUI toggle (end-to-end MVP).#1753M1DNYT3 wants to merge 12 commits intoSlimeVR:mainfrom
Conversation
b502b9c to
b83d03d
Compare
|
Force pushes in history are changes made by spotless. |
|
At some point, I had a conversation with @ButterscotchV in DMs, and there was a recommendation expressed to ship the whole feature (Implying a toggle, nothing overkill) in one PR. The description is edited accordingly to reflect each affected part of the code. |
b3df88e to
fc9c9a6
Compare
|
I had some additional feedback from @ButterscotchV in DMs, addressed it all + rebased to the latest main + also did some changes of my own. Feedback changes:
My own improvement: |
|
Review changes were shipped and tested E2E with SteamVR. One thing to note. Jitter is still noticeable. I may think of a one-euro filter or some velocity smoothing added, but I suggest that to be a separate PR once this one is shipped. |
ButterscotchV
left a comment
There was a problem hiding this comment.
Looks fine, SolarXR needs to be merged/fixed before this PR.
… latest definition from the Driver's main branch.
…ce, Replace allowVelocity with hasVelocity in ProtobufBridge.
…#1811 # Conflicts: # server/core/src/main/java/dev/slimevr/protocol/rpc/settings/RPCSettingsBuilder.kt
� Conflicts: � server/core/src/main/java/dev/slimevr/protocol/rpc/settings/RPCSettingsBuilder.kt
…timing fix, non-nullable writeTrackerUpdate param
This PR completes velocity transmission end-to-end, adding RPC settings and a GUI toggle on top of the foundation from #1754.
What's added:
Toggle's GUI Path:
Settings > General > Tracker Settings > Toggle is at the very bottom of the section.
Technicalities:
Most of the line count (~400) comes from regenerated ProtobufMessages.java. The handwritten change itself is small.
Depends on SlimeVR/SolarXR-Protocol#202, should be merged only after the submodule is updated to the tracked HEAD.
Addresses the issue: #25