fix: 무게 수신 버퍼 및 안정성 임계값 기준 재측정 로직으로 수정 #10
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/weight-timing-control"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
QW 시리즈 무게 측정 안정화 로직 추가
변경 사항
주요 로직
1. 무게 버퍼 처리
AddToWeightBuffer(weight)
: 측정값 버퍼에 추가IsWeightStable()
: 버퍼 내 max-min ≤ 5g → 안정성 판단GetStableWeight()
: 평균값으로 최종 측정값 계산2. 재측정 트리거 조건
3. 무게 일치 비교 로직
🔗 관련 이슈