mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
7 lines
No EOL
213 B
Python
7 lines
No EOL
213 B
Python
from pymycobot.mypalletizer import MyPalletizer
|
|
mp = MyPalletizer("/dev/ttyUSB0", 115200)
|
|
n = mp.get_angles()
|
|
# while(1):
|
|
# print(mp.get_angles())
|
|
# print(mp.get_radians())
|
|
mp.send_angles([100,0,0,150],30) |