-
-
Notifications
You must be signed in to change notification settings - Fork 218
Session flightlist #1407
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
base: main
Are you sure you want to change the base?
Session flightlist #1407
Conversation
f1ce5d3 to
0504b86
Compare
…eVR-Server into llelievr/session-flightlist
…r/session-flightlist
ButterscotchV
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't review the full thing yet, but I wanna give some comments early
| onboarding-automatic_mounting-mounting_reset-step-1 = 2. Press the "Reset Mounting" button and wait for 3 seconds before the trackers' mounting orientations will reset. | ||
| onboarding-automatic_mounting-mounting_reset-step-1 = 2. Press the "Mounting calibration" button and wait for 3 seconds before the trackers' mounting orientations will reset. | ||
| onboarding-automatic_mounting-mounting_reset-feet-step-0 = 1. Stand on your toes, both feets pointing forward. Alternatively you can do it siting on a chair. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| onboarding-automatic_mounting-mounting_reset-feet-step-0 = 1. Stand on your toes, both feets pointing forward. Alternatively you can do it siting on a chair. | |
| onboarding-automatic_mounting-mounting_reset-feet-step-0 = 1. Stand on your toes with both feet pointing forward. Alternatively you can do it siting on a chair. |
| tracking_checklist-STEAMVR_DISCONNECTED-desc = SteamVR is not running. Are you using it for vr? | ||
| tracking_checklist-STEAMVR_DISCONNECTED-open = Launch SteamVR | ||
| tracking_checklist-TRACKERS_REST_CALIBRATION = Calibrate your trackers | ||
| tracking_checklist-TRACKERS_REST_CALIBRATION-desc = You didnt perform the tracker calibration. Please let your slimes, highlited in yellow, rest on a static surface for a few secconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| tracking_checklist-TRACKERS_REST_CALIBRATION-desc = You didnt perform the tracker calibration. Please let your slimes, highlited in yellow, rest on a static surface for a few secconds | |
| tracking_checklist-TRACKERS_REST_CALIBRATION-desc = You didn't perform tracker calibration. Please let your Slimes (highlighted in yellow) rest on a stable surface for a few secconds. |
| } | ||
| tracking_checklist-NETWORK_PROFILE_PUBLIC-open = Open Control Panel | ||
| tracking_checklist-STAY_ALIGNED_CONFIGURED = Configure Stay Aligned | ||
| tracking_checklist-STAY_ALIGNED_CONFIGURED-desc = Record the stay aligned poses for an improved imu drift |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| tracking_checklist-STAY_ALIGNED_CONFIGURED-desc = Record the stay aligned poses for an improved imu drift | |
| tracking_checklist-STAY_ALIGNED_CONFIGURED-desc = Record the Stay Aligned poses for an improved imu drift |
| field = FastMath.clamp(yawResetTaps.toFloat(), 2f, 10f).toInt() | ||
| field = yawResetTaps | ||
| } | ||
| var fullResetTaps = 3 | ||
| set(fullResetTaps) { | ||
| field = FastMath.clamp(fullResetTaps.toFloat(), 2f, 10f).toInt() | ||
| field = fullResetTaps | ||
| } | ||
| var mountingResetTaps = 3 | ||
| set(mountingResetTaps) { | ||
| field = FastMath.clamp(mountingResetTaps.toFloat(), 2f, 10f).toInt() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can also just use coerceIn for these to not convert to floats and stuff
See: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.ranges/coerce-in.html
(Might need an import)
| field = FastMath.clamp(yawResetTaps.toFloat(), 2f, 10f).toInt() | |
| field = yawResetTaps | |
| } | |
| var fullResetTaps = 3 | |
| set(fullResetTaps) { | |
| field = FastMath.clamp(fullResetTaps.toFloat(), 2f, 10f).toInt() | |
| field = fullResetTaps | |
| } | |
| var mountingResetTaps = 3 | |
| set(mountingResetTaps) { | |
| field = FastMath.clamp(mountingResetTaps.toFloat(), 2f, 10f).toInt() | |
| field = yawResetTaps.coerceIn(2, 10) | |
| } | |
| var fullResetTaps = 3 | |
| set(fullResetTaps) { | |
| field = fullResetTaps.coerceIn(2, 10) | |
| } | |
| var mountingResetTaps = 3 | |
| set(mountingResetTaps) { | |
| field = mountingResetTaps.coerceIn(2, 10) |
| var legTweaks = LegTweaks(this) | ||
| var tapDetectionManager = TapDetectionManager(this) | ||
| var tapDetectionManager: TapDetectionManager? = null | ||
| var localizer = Localizer(this) | ||
| var ikSolver = IKSolver(headBone) | ||
|
|
||
| // Stay Aligned | ||
| var trackerSkeleton = TrackerSkeleton(this) | ||
| var stayAlignedConfig = StayAlignedConfig() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should all really be val, not var.
| humanPoseManager.server.configManager.vrConfig.resetsConfig.lastMountingMethod = | ||
| MountingMethods.AUTOMATIC | ||
| if (!humanPoseManager.server.trackingChecklistManager.resetMountingCompleted) { | ||
| humanPoseManager.server.trackingChecklistManager.resetMountingCompleted = bodyParts.any { it -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is any the right choice here? We're essentially just checking if one of the body parts is matching, not all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is a bit broader bc imo its a bigger deal if the status don't clear and get stuck bc of something wierd. bc the list on the sever could mismatch the one in the GUI. I hate the current state of things .... we should have not kept that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair, definitely not ideal. If this is what needs to be done then it can be resolved.
Requires: SlimeVR/SolarXR-Protocol#178