Skip to content

Conversation

SummerSigh
Copy link

No description provided.

@github-actions github-actions bot added Area: Hardware Protocol Related to communication with hardware/software trackers Area: Server Related to the server labels Sep 17, 2025
@ButterscotchV ButterscotchV marked this pull request as draft September 17, 2025 22:27
@SummerSigh SummerSigh marked this pull request as ready for review September 17, 2025 22:42
@ImUrX
Copy link
Member

ImUrX commented Sep 17, 2025

Mind making a PR to this file? https://github.com/SlimeVR/SlimeVR-Tracker-ESP/blob/main/src/network/packets.h#L56

Just reserving the enum 27 would be fine

@SummerSigh
Copy link
Author

🚀 🚀 🚀 🚀 🚀 🚀
@ButterscotchV
Copy link
Member

🚀

tracker = connection?.getTracker(packet.sensorId)
if (tracker == null) return
tracker.position = packet.position
// dont call dataTick here as this is just position update
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we don't do data tick here? We need to update stuff based on new position though?

We also should probably have a PositionRotation packet that has both to save on a bit of data

Copy link
Author

@SummerSigh SummerSigh Sep 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

me and butter talked about this a bit. essentially data tick has filtering stuff (specific to rotation data) that happens when it's called and is otherwise only really used to calculate TPS. PositionRotation is something that could be added for sure, but i was just going to use packet bundling anyway to do rot + pos in a single packet. Can add to this PR if needed
CC @ButterscotchV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Hardware Protocol Related to communication with hardware/software trackers Area: Server Related to the server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants