mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-26 20:06:28 -08:00
move clearTrackersDriftCompensation to vrserver
This commit is contained in:
1 parent
3ee4e19a92
commit
381cf13459
3 files changed
+10
-15
No files matched your search
@@ -33,16 +33,6 @@ public class DriftCompensationConfig {
|
||||
}
|
||||
}
|
||||
|
||||
public void clearTrackersDriftCompensation() {
|
||||
for (Tracker t : Main.getVrServer().getAllTrackers()) {
|
||||
Tracker tracker = t.get();
|
||||
if (tracker instanceof IMUTracker imuTracker) {
|
||||
imuTracker.clearDriftCompensation();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public boolean getEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user