Skip to content

Commit f78d855

Browse files
authored
Update linker_hand_api.py
1 parent 003e50b commit f78d855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LinkerHand/linker_hand_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, hand_type="left", hand_joint="L10", modbus = "None",can="can0
2121
self.hand_id = 0x28 # Left hand
2222
if self.hand_type == "right":
2323
self.hand_id = 0x27 # Right hand
24-
if self.hand_joint.upper() == "O6":
24+
if self.hand_joint.upper() == "O6" or self.hand_joint == "L6":
2525
from .core.can.linker_hand_o6_can import LinkerHandO6Can
2626
self.hand = LinkerHandO6Can(can_id=self.hand_id,can_channel=self.can, yaml=self.yaml)
2727
if self.hand_joint == "L7":
@@ -269,4 +269,4 @@ def close_can(self):
269269
self.open_can.close_can0()
270270

271271
if __name__ == "__main__":
272-
hand = LinkerHandApi(hand_type="right", hand_joint="L10")
272+
hand = LinkerHandApi(hand_type="right", hand_joint="L10")

0 commit comments

Comments
 (0)