Hello,

On my Raspberry Pi, I'm using a main program in python, a part of the program connects an ASI camera with pyindi. It works well except for the acquisition time impossible to decrease below 300 ms for a frame (even with binning or cropping). It has been explained in this topic : indilib.org/forum/ccds-dslrs/12476-acquition-time-too-long.html .

I would like to create a python library just to acquire frames at a higher rate, so written in C++ to overpass this limitation. I've seen the examples : github.com/indilib/indi/tree/master/examples , example 6 fits almost my need, but programs are always compiled with the whole library using cmake.

To create a library to use with python, I need to compile it using python docs.python.org/3/extending/extending.html passing by a commande like

python3 ./setup.py build
with all informations regarding the compilation in the setup.py file. Both conditions (cmake and python compilation) are quite complexe to use together.

Is it a simple way to compile a simple client (for exemple the one in exemple 6), just linked to the needed libraries ?.
given the simple client, I expected a possibility like, for the C++ part :
g++ very_simple_client.cpp -needed_library - L /urs.... -I /usr/...
that would be easy to transfer for a python compilation.

Does such a simple compilation way exist ?

Thank you !
Benjamin

Read More...