_port
Posted: Wed Aug 19, 2020 8:03 am
During a crash test, we unplug on purpose the encoder to check if the software stop the motor.
After it, and other tests, I don't manage to communicate with the Motordriver anymore with alway the same problem. Lunching roboclaw_readversion.py
Please help me to find out the problem
After it, and other tests, I don't manage to communicate with the Motordriver anymore with alway the same problem. Lunching roboclaw_readversion.py
Code: Select all
Traceback (most recent call last):
File "/home/pi/Documents/MCP236_py3/Roboclaw_testProgram/roboclaw_readversion.py", line 13, in <module>
version = rc.ReadVersion(0x80)
File "/home/pi/Documents/MCP236_py3/Roboclaw_testProgram/roboclaw_3.py", line 718, in ReadVersion
self._port.flushInput()
AttributeError: 'Roboclaw' object has no attribute '_port'