uArm Serial No.: UP130018040695 (50F14A43684B)
Firmware Version: 3.2.0
Operation System: Win(10) / Linux
uArm Controlling Method: uArm Studio 1.1.22 / Python 3.7.9
If the arm reaches one of its boundaries and then comes back to the middle, without using reset, it’s new “middle” won’t be directly in front but rather closer to the boundary it hit. This continues until it gets reset. What should I do?
jane
September 9, 2020, 1:47am
2
Hello, can you send the program to us? And please take a video about the issue and send it to us. Thanks.
I had something like this, but reaching out causes the code to throw error exception:
swift.set_servo_detach()
‘OK’
while True:
… swift.get_position()
… time.sleep(1)
…
[109.1762, 0.0, 28.6666]
[109.1762, 0.0, 28.6666]
[121.4175, 0.0, 35.2121]
[169.2261, -84.8561, 116.4281]
[39.0041, -187.0718, 121.4812]
[ERROR] 2020-10-06 15:15:47 [/usr/local/lib/python3.6/dist-packages/uArm_Python_SDK-2.0.6-py3.6.egg/uarm/swift/utils.py:32]: ValueError - get_position - could not convert string to float:
[ERROR] 2020-10-06 15:15:48 [/usr/local/lib/python3.6/dist-packages/uArm_Python_SDK-2.0.6-py3.6.egg/uarm/swift/utils.py:32]: ValueError - get_position - could not convert string to float:
[ERROR] 2020-10-06 15:15:49 [/usr/local/lib/python3.6/dist-packages/uArm_Python_SDK-2.0.6-py3.6.egg/uarm/swift/utils.py:32]: ValueError - get_position - could not convert string to float:
[24.5853, -199.3322, 124.0703]
[128.9342, -163.6555, 124.7053]
[207.7733, -12.1251, 124.6862]
[206.2704, 25.441, 124.4355]
[168.0559, 121.0786, 122.3589]
[83.3223, 187.972, 122.2135]
[53.013, 198.6597, 122.2135]
[30.3574, 202.512, 121.0196]
[7.7285, 201.4297, 121.967]
[ERROR] 2020-10-06 15:15:59 [/usr/local/lib/python3.6/dist-packages/uArm_Python_SDK-2.0.6-py3.6.egg/uarm/swift/utils.py:32]: ValueError - get_position - could not convert string to float:
[ERROR] 2020-10-06 15:16:00 [/usr/local/lib/python3.6/dist-packages/uArm_Python_SDK-2.0.6-py3.6.egg/uarm/swift/utils.py:32]: ValueError - get_position - could not convert string to float:
[32.8041, 187.3481, 120.0064]
[204.8141, 30.7025, 143.3324]
jane
October 9, 2020, 6:28am
4
Hello,
you can add the program below to the front of your program, then please send the content printed to us,thanks.
the program:
from uarm.utils.log import logger
logger.setLevel(logger.VERBOSE)