tune(walking): wmean default 15→10 — 더 짧은 보행도 잡음

이전: 15 (stand-up settling motion 5~10 dps 차단용)
변경: 10 (보행 50+ dps 와 충분히 분리되면서 짧은 보행도 잡음)

GreenZoneConstants.walkingStartWmean + PostureTuningPrefs.D_WALK_START_WMEAN
양쪽 같이 갱신.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 09:26:00 +09:00
parent 37d3d0d84a
commit 48e6d72270
2 changed files with 3 additions and 3 deletions
@@ -43,8 +43,8 @@ object GreenZoneConstants {
/** Walking 인정 최소 pitch (deg). |pitch| > 이 값 이라야 walking 후보. */ /** Walking 인정 최소 pitch (deg). |pitch| > 이 값 이라야 walking 후보. */
@Volatile var walkingMinPitchDeg: Float = 45f @Volatile var walkingMinPitchDeg: Float = 45f
/** Walking 시작 — gyro 이동평균 (wmean) 임계 (dps). 실측: stand-up + 자세조정 /** Walking 시작 — gyro 이동평균 (wmean) 임계 (dps). 실측: stand-up + 자세조정
* motion 이 5~10 dps 지속 → 임계 15 로 false-trigger 차단. 진짜 보행은 50+ dps. */ * motion 이 5~10 dps 지속. 진짜 보행은 50+ dps. 10 으로 완화하여 짧은 보행도 잡음. */
@Volatile var walkingStartWmean: Float = 15f @Volatile var walkingStartWmean: Float = 10f
/** Walking 시작 — gyro 이동표준편차 (wstd) 임계 (dps). */ /** Walking 시작 — gyro 이동표준편차 (wstd) 임계 (dps). */
@Volatile var walkingStartWstd: Float = 2f @Volatile var walkingStartWstd: Float = 2f
/** Walking 시작 — 두 임계 모두 만족한 채 지속해야 하는 최소 시간 (ms). 실측: stand-up /** Walking 시작 — 두 임계 모두 만족한 채 지속해야 하는 최소 시간 (ms). 실측: stand-up
@@ -24,7 +24,7 @@ object PostureTuningPrefs {
private const val D_ACC_MAX = 1.2f private const val D_ACC_MAX = 1.2f
private const val D_POLL_MS = 1000L private const val D_POLL_MS = 1000L
private const val D_WALK_PITCH = 45f private const val D_WALK_PITCH = 45f
private const val D_WALK_START_WMEAN = 15f private const val D_WALK_START_WMEAN = 10f
private const val D_WALK_START_WSTD = 2f private const val D_WALK_START_WSTD = 2f
private const val D_WALK_KEEP_WMEAN = 2f private const val D_WALK_KEEP_WMEAN = 2f
private const val D_WALK_START_HOLD_MS = 6000L private const val D_WALK_START_HOLD_MS = 6000L