Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement devices and refactor trackers #195

Conversation

loucass003
Copy link
Member

@loucass003 loucass003 commented Jun 10, 2022

Implemented Devices. So both UDPTrackers and Feeder VRTrackers have devices and can report infos in the protocol.

The Feeder now declares Devices in the protocol so it can be displayed in the gui.
After that the feeder is probably gonna need an update, i need more infos about the device coming from steamvr.
For now i have put a placeholder for stuff like the manufacturer. (I put "FeederApp" as the manufacturer for now)

In my chase of implementing the device i did a bunch of cleaning the the trackers because it was a mess.

One of the big refactors was to remove the ReferencedAdjustedTracker that was making use do a bunch of wierd tracker replace everywhere, making the code more confusing.
Broke some unit tests on the way, i have no idea how to replace those. Sorry

Also removed some functions from the Tracker interface into Smaller interfaces so it is easier to know what kind of tracker has what by using instanceof

Also fixed the FastList spliterator

@loucass003
Copy link
Member Author

Also need Eirenliel/slime-java-commons#9 to me merged first

@loucass003 loucass003 changed the title Implement devices and refactor rackers Implement devices and refactor trackers Jun 10, 2022
@loucass003
Copy link
Member Author

@Eirenliel this is a lot of changes, please dont bonk me <3

@loucass003
Copy link
Member Author

Still need some testing thats why it is still a draft

@Eirenliel
Copy link
Member

Please add description to the PR, or I won't review it :P

@loucass003
Copy link
Member Author

Please add description to the PR, or I won't review it :P

Done sorry <3

@loucass003 loucass003 marked this pull request as ready for review June 17, 2022 07:36
@loucass003
Copy link
Member Author

Atight i got the message ..... LOL
i am splitting that PR

@loucass003 loucass003 closed this Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants