Skip to content

Conversation

@loucass003
Copy link
Member

@loucass003 loucass003 commented Apr 25, 2025

@github-actions github-actions bot added Area: Skeletal Model Deals with the model of the skeleton and its pose Area: Hardware Protocol Related to communication with hardware/software trackers Area: GUI Related to the GUI Area: SteamVR Driver Related to the SteamVR Driver Area: Server Related to the server Area: VMC Related to the VMC driver Area: VRCOSC Related to the VRChat OSC driver labels Apr 25, 2025
@github-actions github-actions bot added the Area: Application Protocol Related to communication with apps like the GUI, overlay, games label May 12, 2025
@github-actions github-actions bot added the Area: Documentation Improvements or additions to documentation label Jul 9, 2025
@github-actions github-actions bot added the Area: Translation Improvements or additions to translations label Jul 17, 2025
@sctanf sctanf force-pushed the llelievr/session-flightlist branch from f1ce5d3 to 0504b86 Compare July 23, 2025 07:57
@loucass003 loucass003 marked this pull request as ready for review September 24, 2025 05:49
Copy link
Member

@ButterscotchV ButterscotchV left a 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Comment on lines 18 to 26
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()
Copy link
Member

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)

Suggested change
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)

Comment on lines 214 to 221
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()
Copy link
Member

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 ->
Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Application Protocol Related to communication with apps like the GUI, overlay, games Area: Documentation Improvements or additions to documentation Area: GUI Related to the GUI Area: Hardware Protocol Related to communication with hardware/software trackers Area: Server Related to the server Area: Skeletal Model Deals with the model of the skeleton and its pose Area: SteamVR Driver Related to the SteamVR Driver Area: Translation Improvements or additions to translations Area: VMC Related to the VMC driver Area: VRCOSC Related to the VRChat OSC driver

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants