From 5e98825acb74ca3e7cbdc46d0a34e059025557e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A3=E6=B8=A3=E5=92=8C?= <2608761159@qq.com> Date: Wed, 25 Sep 2024 13:08:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=95=E5=8F=8C=E6=9D=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Exercise3/pull_up_1.py | 1 + Exercise3/tricep_dip.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Exercise3/pull_up_1.py b/Exercise3/pull_up_1.py index 499fe5d..1e05e26 100644 --- a/Exercise3/pull_up_1.py +++ b/Exercise3/pull_up_1.py @@ -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 diff --git a/Exercise3/tricep_dip.py b/Exercise3/tricep_dip.py index 5461437..eed5bb2 100644 --- a/Exercise3/tricep_dip.py +++ b/Exercise3/tricep_dip.py @@ -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)))