修改单双杠
This commit is contained in:
parent
ece635b61f
commit
5e98825acb
|
@ -200,6 +200,7 @@ class PullUp_1(BaseExercise):
|
|||
self.direction = 0
|
||||
self._time = 0
|
||||
if self.count % 1 == 0:
|
||||
self.speak_driver.speed_control(200)
|
||||
self.speak_driver.add_speak("{}".format(int(self.count)))
|
||||
if self.count == 1:
|
||||
self.initial_wrist_1_y = wrist_1_y
|
||||
|
|
|
@ -198,6 +198,7 @@ class Tricep_dip_1(BaseExercise):
|
|||
self.count += 0.5
|
||||
self.state = 1
|
||||
self.end_test = 0
|
||||
self.speak_driver.speed_control(200)
|
||||
self.speak_driver.add_speak("{}".format(int(self.count)))
|
||||
|
||||
elif self.dir == 2 and self.pre_pos == 1 and self.form == 1:
|
||||
|
@ -226,5 +227,6 @@ class Tricep_dip_1(BaseExercise):
|
|||
self.count += 0.5
|
||||
self.state = 1
|
||||
self.end_test = 0
|
||||
self.speak_driver.speed_control(200)
|
||||
self.speak_driver.add_speak("{}".format(int(self.count)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue