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

Added extra text options #267

Merged
merged 1 commit into from
Oct 4, 2020
Merged

Added extra text options #267

merged 1 commit into from
Oct 4, 2020

Conversation

Alex-developer
Copy link
Collaborator

@Alex-developer Alex-developer commented Oct 3, 2020

Adds three new fields to the camera config (To be used in conjunction with the PR on the allsky-portal repo)

  • extratext - The full path to a file containing the extra text to be displayed on the images. The file can contain multiple lines, each will be displayed.

  • extratextage - If the file above is not updated within this timeframe then the contents of the text file will not be added to the images, handy for when the process updating the text file crashes. To disable this check set the value to 0

  • textlineheight - Allows the line height of the text to be changed, saves people manually editing and recompiling capture.cpp

  • Fixed a few issues with name and std library clashes (renamed time to showTime)

  • Fixed a bug with the command line parser if a text value was missing

  • Added a debug option (-debuglevel) for running in foreground. If set to 0, the default then the exiting text display is maintained. This option has to be manually added and is not set by the camera config

  • Added a few missing values to the startup output

  • Updated readme

Did a full reinstall on a new Pi to test and seems to work ok, had to modify the gui install script to pull from my branch for the test but I am sure thats ok :-)

Added new options for
- The Extra textfile, the test to display on the image
- The max age of the extra text file before its not used
- Added an option to specify the text line height

- Fixed a few issues with name and std library clashes (time)
- Added a debug option for running in foreground

- Updated readme
@thomasjacquin thomasjacquin merged commit 991cdbf into AllskyTeam:master Oct 4, 2020
@thomasjacquin
Copy link
Collaborator

@Alex-developer Do you mind taking a look at this issue? #271

There is an issue when the extratextage is set to 0. The text doesn't display on the image.

@Alex-developer
Copy link
Collaborator Author

@Alex-developer Do you mind taking a look at this issue? #271

There is an issue when the extratextage is set to 0. The text doesn't display on the image.

Thomas

Sorry only just seen this, yes seen the issue and found the bug will sort it later today

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

Successfully merging this pull request may close these issues.

None yet

2 participants