mirror of
https://github.com/eddyem/mytakepic.git
synced 2025-12-06 02:35:16 +03:00
35 lines
839 B
Plaintext
35 lines
839 B
Plaintext
FLI CCD/wheel/focuser management
|
|
|
|
|
|
0.1 install kernel module (extern/fliusb.tgz for new kernels)
|
|
0.2 install libfli (extern/libfli-1.104.tgz) - untar, make & copy from root files libfli.a->/usr/lib; libfli.h->/usr/include, fli.pc->/usr/share/pkgconfig/
|
|
|
|
1. cmake .
|
|
2. make
|
|
3. [make install] or just copy file takepic wherever you want
|
|
|
|
File bta_print.c needed to fill specific FITS keys for BTA telescope
|
|
If your want use this outside SAO RAS localnet, write:
|
|
1. cmake -DNOBTA=1 .
|
|
2. make ...
|
|
|
|
|
|
If you wish to save not only FITS, define:
|
|
* -DUSERAW=1 to save raw data
|
|
* -DUSEPNG=1 to save png data
|
|
|
|
define
|
|
* -DEBUG=1 for debug info
|
|
|
|
|
|
TODO:
|
|
get/set camera readout speed with
|
|
FLIGetCameraModeString
|
|
FLISetCameraMode
|
|
/*
|
|
* set speed index
|
|
*
|
|
* speed index = 0 => set mode = 1 (1MHz)
|
|
* speed index = 1 => set mode = 0 (8MHz)
|
|
*/
|