Skip to content

Commit 1fc2bb0

Browse files
authored
Merge pull request #47 from RoggeOhta/main
重写了手柄控制
2 parents 14bcb5e + 131a727 commit 1fc2bb0

File tree

5 files changed

+362
-26
lines changed

5 files changed

+362
-26
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ __pycache__/port.cpython-39.pyc
2222
demo/__pycache__/port.cpython-39.pyc
2323
demo/__pycache__/port_setup.cpython-39.pyc
2424
.idea
25+
.vscode

.vscode/settings.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

demo/handle_control/arm_profile/mycobot_280.json

Whitespace-only changes.

demo/handle_control/handle_control.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from pymycobot import MyCobot
55
import threading
66

7-
mc = MyCobot("com7")
7+
mc = MyCobot("/dev/ttyAMA0")
88

99
# The default initial point can be changed, if you want to change, you should change 'command' and 'zero' at the same time
1010
command = [144.8, -66.9, 185.3, 178.47, 0.87, -115.07]
@@ -371,6 +371,7 @@ def main():
371371

372372
pygame.quit()
373373

374+
374375
if __name__ == "__main__":
375376
# pass
376377
t = threading.Thread(target=control)

0 commit comments

Comments
 (0)