Browse Source

Fix typo

tags/v0.3.11-rc1
haixuantao 10 months ago
parent
commit
32a4c49c5d
3 changed files with 3 additions and 3 deletions
  1. +1
    -0
      _typos.toml
  2. +1
    -1
      node-hub/dora-distil-whisper/dora_distil_whisper/main.py
  3. +1
    -2
      node-hub/dora-reachy1/dora_reachy1/main.py

+ 1
- 0
_typos.toml View File

@@ -1,3 +1,4 @@
[default.extend-identifiers] [default.extend-identifiers]
# *sigh* this just isn't worth the cost of fixing # *sigh* this just isn't worth the cost of fixing
DeviceNDArray = "DeviceNDArray" DeviceNDArray = "DeviceNDArray"
Feedforward_2nd_Gain = "Feedforward_2nd_Gain"

+ 1
- 1
node-hub/dora-distil-whisper/dora_distil_whisper/main.py View File

@@ -223,7 +223,7 @@ def main():
if time.time() - noise_timestamp > (len(text_noise.split()) / 2): # WPS if time.time() - noise_timestamp > (len(text_noise.split()) / 2): # WPS
text_noise = "" text_noise = ""


## Remove text noise independantly of casing
## Remove text noise independently of casing
text = remove_text_noise(text, text_noise) text = remove_text_noise(text, text_noise)


if text.strip() == "" or text.strip() == ".": if text.strip() == "" or text.strip() == ".":


+ 1
- 2
node-hub/dora-reachy1/dora_reachy1/main.py View File

@@ -47,7 +47,6 @@ def sad_antennas(reachy):




def main(): def main():

node = Node() node = Node()


ROBOT_IP = os.getenv("ROBOT_IP", "10.42.0.24") ROBOT_IP = os.getenv("ROBOT_IP", "10.42.0.24")
@@ -109,7 +108,7 @@ def main():
reachy.joints.r_gripper.goal_position = goal reachy.joints.r_gripper.goal_position = goal
time.sleep(0.02) time.sleep(0.02)


# When openning the gripper always go to default pose
# When opening the gripper always go to default pose
if action == -100: if action == -100:
goto( goto(
{ {


Loading…
Cancel
Save