Camera Detector Controller Interface Software
If you encounter any problems or have questions about this project, please open an issue on the GitHub Issues page. Your feedback helps us improve the project!
- CMake 3.12 or higher
- cfitsio and CCFits libraries (expected in
/usr/local/lib
) - gtest (Google Test) library (needed to run unit tests)
Archon Controllers | ARC Controllers |
---|---|
g++ 8.1 or higher (and C++17) |
g++ 8.3 (and C++17) |
ARC API 3.6 and Arc66PCIe driver |
-
Change to the build directory:
$ cd build
-
Start with a clean build: Delete the contents of the build directory, including the
CMakeFiles/
subdirectory, but not the.gitignore
file.$ rm -Rf *
-
Create the Makefile by running CMake (from the build directory):
Archon ARC $ cmake ..
$ cmake -DINTERFACE_TYPE=AstroCam ..
-
Compile the sources:
$ make
-
Run the Camera Server:
-
As a foreground process:
$ ../bin/camerad <file.cfg> --foreground
-
As a daemon:
$ ../bin/camerad -d <file.cfg>
Replace
<file.cfg>
with an appropriate configuration file. See the example.cfg
files in theConfig
andConfig/demo
directories. -
-
(Optional) Run the Archon Emulator:
$ ../bin/emulator <file.cfg>
Note: The emulator software will only be compiled when
INTERFACE_TYPE
is set to Archon (default). -
(Optional) Run Unit Tests:
$ ../bin/run_unit_tests
David Hale
[email protected]