修改单双杠
This commit is contained in:
parent
017f9d1d8a
commit
cf2d997b43
|
@ -175,7 +175,7 @@ class Tricep_dip_1(BaseExercise):
|
|||
self.pre_pos = 2
|
||||
self.had_done = True
|
||||
|
||||
if elbow_1 <= 100 or shoulder_1_y > elbow_1_y:
|
||||
if elbow_1 <= 100 or shoulder_1_y >= elbow_1_y:
|
||||
self.feedback = "上升"
|
||||
if self.state == 1:
|
||||
self.time += 1
|
||||
|
@ -204,7 +204,7 @@ class Tricep_dip_1(BaseExercise):
|
|||
self.pre_pos = 2
|
||||
self.had_done = True
|
||||
|
||||
if elbow_2 <= 100 or shoulder_2_y > elbow_2_y:
|
||||
if elbow_2 <= 100 or shoulder_2_y >= elbow_2_y:
|
||||
self.feedback = "上升"
|
||||
if self.state == 1:
|
||||
self.time += 1
|
||||
|
|
Loading…
Reference in New Issue