from pymycobot import MyAGVPro m = MyAGVPro('/dev/agvpro_controller') m.power_on()