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

CamTracker is stuck at initialization #184

Closed
2 tasks done
dostuffthatmatters opened this issue Oct 2, 2023 · 2 comments
Closed
2 tasks done

CamTracker is stuck at initialization #184

dostuffthatmatters opened this issue Oct 2, 2023 · 2 comments
Assignees
Labels
scope:camtracker status:implemented has been implemented in some dev branch

Comments

@dostuffthatmatters
Copy link
Member

dostuffthatmatters commented Oct 2, 2023

Camtracker does not initialize correctly. It says "waiting for initialization" and does not progress further.

  • Implement check 1: Restart CamTracker if it is not producing logs after 5 minutes of running.
  • Implement check 2: Restart CamTracker if the cover is at zero degrees after 5 minutes of running.
@dostuffthatmatters dostuffthatmatters self-assigned this Oct 2, 2023
@dostuffthatmatters dostuffthatmatters added status:in-progress is being work on in some dev branch and removed high-priority labels Oct 4, 2023
@dostuffthatmatters dostuffthatmatters changed the title [BUG]: CamTracker is stuck at initialization CamTracker is stuck at initialization Oct 4, 2023
dostuffthatmatters added a commit that referenced this issue Oct 4, 2023
Parse exact julian datetime not only the date from the last logline
dostuffthatmatters added a commit that referenced this issue Oct 4, 2023
Add config parameter to specify whether to ignore too old lines or not
dostuffthatmatters added a commit that referenced this issue Oct 4, 2023
Issue a restart if specified and last log line too long
@dostuffthatmatters dostuffthatmatters added status:implemented has been implemented in some dev branch and removed status:in-progress is being work on in some dev branch labels Oct 4, 2023
@dostuffthatmatters
Copy link
Member Author

@patrickjaigner The config now has a parameter config.camtracker.restart_if_logs_are_too_old which is a boolean. If True, Pyra will do this restart after 5 minutes of no logs. This parameter will be set to False by default so that people who upgrade from 4.0.X to 4.1.Y will not have any change of behaviour in their system but have to actively opt-in.

@dostuffthatmatters dostuffthatmatters added status:in-progress is being work on in some dev branch and removed status:implemented has been implemented in some dev branch labels Nov 1, 2023
@dostuffthatmatters
Copy link
Member Author

dostuffthatmatters commented Nov 1, 2023

The second check can be enabled with the setting config.camtracker.restart_if_cover_remains_closed.

@dostuffthatmatters dostuffthatmatters added status:implemented has been implemented in some dev branch and removed status:in-progress is being work on in some dev branch labels Nov 2, 2023
dostuffthatmatters added a commit that referenced this issue Nov 2, 2023
Refactor code that checks the motor position
dostuffthatmatters added a commit that referenced this issue Nov 2, 2023
Add config parameter `camtracker.restart_if_cover_remains_closed`
dostuffthatmatters added a commit that referenced this issue Nov 2, 2023
Add config parameter `camtracker.restart_if_cover_remains_closed` to UI
dostuffthatmatters added a commit that referenced this issue Nov 2, 2023
Implement TUM enclosure cover check
dostuffthatmatters added a commit that referenced this issue Nov 2, 2023
Implement TUM enclosure cover check
dostuffthatmatters added a commit that referenced this issue Nov 8, 2023
Refactor code that checks the motor position
dostuffthatmatters added a commit that referenced this issue Nov 8, 2023
Add config parameter `camtracker.restart_if_cover_remains_closed`
dostuffthatmatters added a commit that referenced this issue Nov 8, 2023
Add config parameter `camtracker.restart_if_cover_remains_closed` to UI
dostuffthatmatters added a commit that referenced this issue Nov 8, 2023
Implement TUM enclosure cover check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:camtracker status:implemented has been implemented in some dev branch
Projects
None yet
Development

No branches or pull requests

1 participant