Cleared warnings
This commit is contained in:
@@ -62,14 +62,14 @@ class StepCountingSession {
|
||||
landmarks: Map<Int, SmoothedLandmark>,
|
||||
angles: PoseAngles,
|
||||
timestampMs: Long,
|
||||
isStartingPosition: Boolean = false
|
||||
isStartingPosition: Boolean = false,
|
||||
) {
|
||||
val smoothedAnkleHip = ankleHipSmoother.smooth(landmarks)
|
||||
val frame = buildPoseFrame(
|
||||
timestampMs = timestampMs,
|
||||
landmarks = landmarks,
|
||||
smoothedAnkleHip = smoothedAnkleHip,
|
||||
angles = angles
|
||||
angles = angles,
|
||||
)
|
||||
poseFrameBuffer.add(frame)
|
||||
|
||||
@@ -78,7 +78,7 @@ class StepCountingSession {
|
||||
_stepEvents.value = emptyList()
|
||||
}
|
||||
if (result.newSteps.isNotEmpty()) {
|
||||
_stepEvents.value = _stepEvents.value + result.newSteps
|
||||
_stepEvents.value += result.newSteps
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user