mycobot_ros/mycobot_ai/myPalletizer_260/scripts/tools.py
2022-06-24 18:39:35 +08:00

13 lines
234 B
Python
Executable file

from pymycobot.mycobot import MyCobot
import os
# name of device
# port = "/dev/ttyUSB0"
# mc = MyCobot(port)
# release mycobot
# mc.release_all_servos()
# calibrate the sixth servo
# mc.set_servo_calibration(6)
print(os.getcwd())