How to connect swift Pro by pyuarm?

uArm Serial No.: UARM050517004F
Firmware Version: 3.1.9

Operation System: Win(7,8,9,10)

uArm Controlling Method: Python (pyuarm)

I tried the sample like this:

from pyuarm.tools.list_uarms import uarm_ports
uarm_ports()

but only and always get this:


UFACTORY Website:
www.ufactory.cc
uArm User Facebook Group
Contact Us:
English Channel
中文通道

Hi,

pyuarm is for uArm Metal only.

Here is the Python library for Swift Pro:

I’ve been hacking on this a bit. There’s no reason why the basic pyuarm code can’t be used for the Swift or SwiftPro as well as uArm Metal.
In my experience so far, the code can be mostly made to work via conditional import of protocol.py .
Check out GitHub - jetdillo/pyuarm: uArm python library
to see how I’ve been tackling the problem. It works for me, but as always, I’d appreciate others checking it out, trying it, sending me bug reports, PRs, etc.
It would be good have a single library that works with different versions/generations of uArm.

1 Like

Many thanks! Cleo.

I’v been let the little thing move under python :).

Thanks again!

1 Like

Hi,
I am trying to use jetdillo pyuarm.
When connecting, got this:

student@ubuntu:~/uArmStudio$ rosrun uarm uarm_core.py connect

Connecting …

2341:0042
USB VID:PID=2341:0042 LOCATION=3-3.1
pyuarm - INFO - pyuarm version: 2.3.0.11
pyuarm - INFO - swift
pyuarm - INFO - Detected uArm model swift
pyuarm - INFO - Connecting from port - /dev/ttyACM0…
pyuarm - INFO - Connected…

But then the screen wouldn’t interact anymore.
I am using python 2.7 - maybe that is the reason?
Any other idea?
Thanks
Dror

Hi @drorerezprivate

pyuarm is for uArm Metal only.
Please use this Python Library for uArm Swift Pro: