seeing-things / zwo

ZWO SDK and custom software for debugging and using it.
23 stars 4 forks source link

Fix broken SWIG for some API functions #32

Closed bgottula closed 4 years ago

bgottula commented 5 years ago

The following functions don't work properly:

..there are more, these are just the ones I got to.

bgottula commented 5 years ago

Fixed more SWIG. Everything up to ASIGetDataAfterExp in ASICamera2.h appears to be working. The remaining functions are not quite as important but look like they should be straightforward to fix up.

There are a few cases still where things are not quite as Pythonic as they could be, but the worst cases have been dealt with (I think). It seems like it would not be tremendously difficult to provide an object-oriented wrapper on top of this SWIG-ed Python API that could take care of some of the setup boilerplate. But I've already spent too much time on this.