diff --git a/Exercise3/tricep_dip.py b/Exercise3/tricep_dip.py index 54cdf01..6d6797d 100644 --- a/Exercise3/tricep_dip.py +++ b/Exercise3/tricep_dip.py @@ -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