ccourson / xArmServoController

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

script strip char B from the serial number if the serial number contains B at the end #9

Open vamsikracha opened 10 months ago

vamsikracha commented 10 months ago

when the script strips serial number from USB, it strip part of the serial number if it contains B like below

arm = xarm.Controller('USBMM32F103RB',debug=True) MM32F103R

fix it the below line to replace and the strip serial_number = com_port.replace('USB','').strip()

jonathanrandall commented 8 months ago

Thanks. I have run into this error as well.