Open y-z-g opened 1 month ago
Did you select Transponder > USB UART > OK before running the demo script? The robot needs to establish a connection before it can be programmed
Select menu: miniRoboFlow v2.30 -> Transponder -> USB UART
Showing: Connect test Atom: OK
You can write a simple test script like this to see if there is any output。
from pymycobot import MyCobot
import time
m = MyCobot("com5")
for _ in range(10):
print(m.get_angles())
time.sleep(0.1)
print(m.get_coords())
time.sleep(0.1)
Describe the bug Following the myCobot 280 M5 demo code, got error.
To Reproduce Steps to reproduce the behavior:
Expected behavior demo code should work but mc.get_coords() returns None.
Env (please complete the following information): ubuntu, python3.11 venv