ccourson / xArmServoController

LewanSoul-Lobot-HiWonder 6-DOF xArm servo controller libraries
https://ccourson.github.io/xArmServoController/
MIT License
64 stars 30 forks source link

The test code returns; AttributeError: module 'xarm' has no attribute 'Controller' #3

Open Dr0pler opened 3 years ago

Dr0pler commented 3 years ago

import xarm

arm = xarm.Controller('USB')

battery_voltage = arm.getBatteryVoltage() print('Battery voltage (volts):', battery_voltage)

nba841211 commented 1 year ago

check your python filename is not 'xarm'