modbus <=> motor_controller
Hello,
I am very pleased to have found your project to be very useful in my biological research.
I'm still trying to understand and master the project.
There seem to be many references to the instrument.modbus module which is no longer present. I found it on the github repo.
So my first report would be:
in
/doc/examples/drive_motor.py
we need to replace
from fluidlab.instruments.modbus.unidrive_sp import UnidriveSP
with
from fluidlab.instruments.motor_controller.unidrive_sp import UnidriveSP
this raises another error :
in instruments.motor_controller.unidrive_sp
we need to import Driver class
from fluidlab.instruments.drivers import Driver
Now i'm still stucked with an other error :
fluidlab/instruments/features.py", line 151, in __init__
command_get = command_set + "?"
TypeError: unsupported operand type(s) for +: 'int' and 'str'
I hope I can figure out how to fix it and share it.
Edited by Pierre Augier