双杆标准
This commit is contained in:
parent
e9642b4763
commit
d7e63931d3
|
@ -180,7 +180,7 @@ class Tricep_dip_1(BaseExercise):
|
|||
# self.pre_pos = 2
|
||||
# self.had_done = True
|
||||
|
||||
if elbow_1 <= 97 and shoulder_1_y >= elbow_1_y - 5:
|
||||
if elbow_1 <= 95 and shoulder_1_y >= elbow_1_y:
|
||||
self.feedback = "上升"
|
||||
if self.state == 1:
|
||||
self.time += 1
|
||||
|
@ -209,7 +209,7 @@ class Tricep_dip_1(BaseExercise):
|
|||
# self.pre_pos = 2
|
||||
# self.had_done = True
|
||||
|
||||
if elbow_2 <= 97 and shoulder_2_y >= elbow_2_y - 5:
|
||||
if elbow_2 <= 93 and shoulder_2_y >= elbow_2_y:
|
||||
self.feedback = "上升"
|
||||
if self.state == 1:
|
||||
self.time += 1
|
||||
|
|
Loading…
Reference in New Issue