mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-26 11:56:27 -08:00
Added basic GUI
Added more config loading and saving to human skeleton Added smoothing of tracker reading to preven jitter Adjust skeleton
This commit is contained in:
1 parent
2998662c44
commit
1940d2d60d
18 files changed
+987
-19
No files matched your search
@@ -1,8 +1,41 @@
|
||||
package io.eiren.vr.processor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import io.eiren.util.ann.ThreadSafe;
|
||||
import io.eiren.util.ann.VRServerThread;
|
||||
|
||||
public abstract class HumanSkeleton {
|
||||
|
||||
|
||||
@VRServerThread
|
||||
public abstract void updatePose();
|
||||
|
||||
@ThreadSafe
|
||||
public abstract TransformNode getRootNode();
|
||||
|
||||
@ThreadSafe
|
||||
public abstract Map<HumanJoint, Float> getJointsMap();
|
||||
|
||||
@ThreadSafe
|
||||
public abstract void sentJointLength(HumanJoint joint, float newLength);
|
||||
|
||||
public enum HumanJoint {
|
||||
|
||||
HEAD("Head", ""),
|
||||
NECK("Neck", ""),
|
||||
WAIST("Waist", ""),
|
||||
WASIT_VIRTUAL("Virtual waist", ""),
|
||||
HIPS_WIDTH("Hips width", ""),
|
||||
HIPS_LENGTH("Hips length", ""),
|
||||
LEGS_LENGTH("Legs length", ""),
|
||||
;
|
||||
|
||||
public final String name;
|
||||
public final String description;
|
||||
|
||||
private HumanJoint(String name, String description) {
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user