Hey!
Finally my servos arrived, I’m still trying to use pypot, but calling only the autodetect method from the dynamixel module ,eg. I make an empty .py file which only contains this:
robot = autodetect_robot()
will throw me a DxlError.
Trace:
Traceback (most recent call last): File "python_test.py", line 23, in <module> test_instance = Test() File "python_test.py", line 10, in __init__ self.core = Core() File "/Users/pszent/repos/io.payworks.mpos.robot/python_core.py", line 55, in __init__ self.robot = autodetect_robot() File "/Users/pszent/Library/Python/2.7/lib/python/site-packages/pypot/dynamixel/__init__.py", line 115, in autodetect_robot dxl_io = DxlIOCls(port) File "/Users/pszent/Library/Python/2.7/lib/python/site-packages/pypot/dynamixel/io/abstract_io.py", line 75, in __init__ self.open(port, baudrate, timeout) File "/Users/pszent/Library/Python/2.7/lib/python/site-packages/pypot/dynamixel/io/abstract_io.py", line 98, in open self._open(port, baudrate, timeout) File "/Users/pszent/Library/Python/2.7/lib/python/site-packages/pypot/dynamixel/io/abstract_io.py", line 120, in _open raise DxlError('Another instance of pypot use the port {}. You should restart your Python kernel to pass through this issue.'.format(port)) pypot.dynamixel.io.abstract_io.DxlError: Another instance of pypot use the port /dev/tty.usbmodem14111. You should restart your Python kernel to pass through this issue.
I’m using OS X Sierra, with the newest macbook pro, therefore I needed an USB hub connected to the Thunderbolt 3 type connectors to get the USB2AX working. That is connected to a power/serial hub, and the servo itself. Only 1 servo attached, I configured its ID already with the Dynamixel Configurator, it worked there.
Any tips?
Cheers,
Pali