cacao-org / cacao

Compute And Control for Adaptive Optics
GNU General Public License v3.0
24 stars 9 forks source link

Missing information #13

Closed Zarathustrared closed 2 years ago

Zarathustrared commented 2 years ago

Hi,

I am trying, the operative word, to install and run Cacao. However, it appears that certain environmental variables are needed - there are no instructions for their deployment:

export MILK_ROOT=${HOME}/src/milk # point to source code directory. Edit as needed. export MILK_INSTALLDIR=/usr/local/milk export PATH=${PATH}:${MILK_INSTALLDIR}/bin export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${MILK_INSTALLDIR}/lib/pkgconfig

I found them at https://github.com/milk-org/milk-package rather than the milk link provided: https://github.com/milk-org/milk I get that this is not your oversight.

Clear updated installation instructions would be a great benefit to the dissemination of your rather awesome software.

Cheers.

PS.

Additionally, I tried to install shmimviewGTK, however, the program refused to cmake because it couldn't find the milk package required in the CMakeList,

find_package(PkgConfig REQUIRED) pkg_check_modules(MILK REQUIRED milk>=1.01.02)

failed to locate milk, I deleted that requirement. I then had to edit the subsequent path to ${MILK_INSTALLDIR}, for it to make. It did work after that.

Finally, while I understand that the software is complex, with a large potential use case, my use case is relatively simple; I want it to take a wavefront camera input, transform it, and provide an output to a simple tip-tilt mirror and a deformable mirror. That output should just be an array of voltage settings that I can then supply the actuator drivers for the relevant actuator displacements. The system only needs to run at 100hz. I am fairly sure this is possible; I find myself lost in the forest of possibility missing the small garden of trees I need for the task.