-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Hi,
If I try to drive the uarm too far so that it returns an error, subsequent calls to set_position() also return errors/failure even if they are to valid positions. Is this expected? Do I have to do something to clear the error?
Thanks,
Randall.
e..g
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import pyuarm
myuarm=pyuarm.uarm.UArm()
pyuarm - INFO - pyuarm version: 2.2.5.3
pyuarm - INFO - Connecting from port - /dev/ttyUSB0...
pyuarm - INFO - Connected...
pyuarm - INFO - Firmware Version: 2.2.1
myuarm.set_position(50,50,100)
True
myuarm.set_position(-150,150,100)
True
myuarm.set_position(-150,150,100,speed=50)
False
myuarm.set_position(-150,250,100,speed=50)
True
myuarm.set_position(-150,250,250,speed=50)
pyuarm - ERROR - Communication| ERROR: send #15 G0 X-150.0 Y250.0 Z250.0 F50.0
, received error from robot:
False
myuarm.set_position(-150,250,100,speed=50)
pyuarm - ERROR - Communication| ERROR: send #17 G0 X-150.0 Y250.0 Z100.0 F50.0
, received error from robot: $16 OK V2.2.1
False
myuarm.set_position(-150,150,100,speed=50)
pyuarm - ERROR - Communication| ERROR: send #19 G0 X-150.0 Y150.0 Z100.0 F50.0
, received error from robot: $18 OK V2.2.1
False