FlySorterLLC / MAPLEControlSoftware

Control software for the Drosophila handling robot MAPLE (Modular Automated Platform for Large-scale Experiments)
GNU General Public License v2.0
4 stars 5 forks source link

Linux support #14

Open tom-f-oconnell opened 6 years ago

tom-f-oconnell commented 6 years ago

What are the main obstacles you are aware of preventing operation in Linux? The camera drivers?

I haven't dove too much into the code yet, and I'm just trying to get a rough estimate of how much effort it would be to add Linux support myself.

flysorter commented 6 years ago

Camera API is the big impediment to getting this to work on linux, I suspect. There may be other Windows dependencies hiding in the code, but nothing that couldn't be worked around.

We depend on https://github.com/morefigs/py-ic-imaging-control to interface with the camera (beyond the normal OpenCV camera interface, which isn't sufficient for those devices). That code is Windows-only. The Imaging Source does have Linux support for the cameras (https://github.com/TheImagingSource/tiscamera), but no Python bindings.

I'd consider switching cameras if you're building up a new robot. Basler has a Python API (https://github.com/basler/pypylon), and their Ace cameras are comparably priced.

tom-f-oconnell commented 6 years ago

I wrote an abstraction layer for cameras, and I put both the pyicic and OpenCV supported cameras behind that. I'll try to sort it into a pull request in the next couple of days.

It doesn't seem like there will be other issues re: Linux support.

flysorter commented 6 years ago

Right on! Will close this out after pull request, etc.