mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-26 03:46:28 -08:00
Implement AutoBone into the protocol (#187)
Implement event-based AutoBoneHandler & more
This commit is contained in:
1 parent
766cf9ae72
commit
215f3b9f44
11 files changed
+758
-372
No files matched your search
@@ -27,6 +27,7 @@ import java.net.UnknownHostException;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.function.Consumer;
|
||||
import dev.slimevr.autobone.AutoBoneHandler;
|
||||
|
||||
|
||||
public class VRServer extends Thread {
|
||||
@@ -44,6 +45,7 @@ public class VRServer extends Thread {
|
||||
private final List<? extends ShareableTracker> shareTrackers;
|
||||
private final BVHRecorder bvhRecorder;
|
||||
private final SerialHandler serialHandler;
|
||||
private final AutoBoneHandler autoBoneHandler;
|
||||
private final ProtocolAPI protocolAPI;
|
||||
private final String configPath;
|
||||
|
||||
@@ -57,6 +59,7 @@ public class VRServer extends Thread {
|
||||
loadConfig();
|
||||
|
||||
serialHandler = new SerialHandler();
|
||||
autoBoneHandler = new AutoBoneHandler(this);
|
||||
protocolAPI = new ProtocolAPI(this);
|
||||
|
||||
hmdTracker = new HMDTracker("HMD");
|
||||
@@ -356,6 +359,10 @@ public class VRServer extends Thread {
|
||||
return this.serialHandler;
|
||||
}
|
||||
|
||||
public AutoBoneHandler getAutoBoneHandler() {
|
||||
return this.autoBoneHandler;
|
||||
}
|
||||
|
||||
public ProtocolAPI getProtocolAPI() {
|
||||
return protocolAPI;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user