tune(posture): default polling 3s → 1s (실시간 자세 감지)
낙상 예방 시나리오상 자세 변화 즉시 감지 중요 → 1초 polling 으로 단축. canSendMaa() 500ms throttle + mtb 응답 ~400ms 이라 1초가 사실상 한계. 사용자가 slider 로 더 늦출 수도 있음 (1~15초 범위). BLE 부담: device active ~40% (mtb 한 cycle ≈ 400ms × 매초). 배터리 영향은 짧은 모니터링 세션 (수십분~수시간) 수준에선 무시 가능. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ object GreenZoneConstants {
|
|||||||
@Volatile var pitchLyingThreshold: Float = 25f
|
@Volatile var pitchLyingThreshold: Float = 25f
|
||||||
|
|
||||||
/** Posture polling 간격 (ms). PiezoMonitoring 에서 mtb 보내는 주기. dev 모드에서 조정 가능. */
|
/** Posture polling 간격 (ms). PiezoMonitoring 에서 mtb 보내는 주기. dev 모드에서 조정 가능. */
|
||||||
@Volatile var posturePollIntervalMs: Long = 3000L
|
@Volatile var posturePollIntervalMs: Long = 1000L
|
||||||
|
|
||||||
// ═══════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════
|
||||||
// 신호 범위
|
// 신호 범위
|
||||||
|
|||||||
Reference in New Issue
Block a user