Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more robust program arguments support to capture #75

Open
7 of 8 tasks
bgottula opened this issue Jan 23, 2023 · 1 comment
Open
7 of 8 tasks

Add more robust program arguments support to capture #75

bgottula opened this issue Jan 23, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bgottula
Copy link
Collaborator

bgottula commented Jan 23, 2023

Add more robust program options support to capture. I did a quick survey of available libraries and https://github.com/CLIUtils/CLI11 appears to be popular and uses modern C++. It is available as libcli11-dev on Ubuntu 22.04.

Use this as an opportunity to replace some of the hard-coded constants in the software with program args. Some to consider:

  • SER output filename
  • Camera name
  • Preview window frame rate throttle
  • Histogram window refresh rate
  • Whether or not to start up with disk writing paused
  • Initial gain and exposure time
  • AGC enable at startup

Further work to do:

  • Update CMake for capture to remove add_subdirectory(CLI11) and instead require CLI11 to be installed in the host system.
@bgottula bgottula added the enhancement New feature or request label Jan 23, 2023
@bgottula bgottula self-assigned this Jan 23, 2023
@bgottula
Copy link
Collaborator Author

bgottula commented Feb 6, 2023

I've done the work on branch cli11. As of now, in CMake CLI11 is added as a subdirectory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant