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

Delay in camera wake-up causes camera position change to fail #88

Open
lkiesow opened this issue Nov 15, 2024 · 0 comments · May be fixed by #91
Open

Delay in camera wake-up causes camera position change to fail #88

lkiesow opened this issue Nov 15, 2024 · 0 comments · May be fixed by #91
Labels
bug Something isn't working

Comments

@lkiesow
Copy link
Member

lkiesow commented Nov 15, 2024

Pull request #87 causes cameras to automatically wake up if there are in standby mode. This works great and will resolve problems with shut-down cameras eventually.

Unfortunately, if the Panasonic cameras are in stand-by right before we want to move them, the code will wake them up, but both models I've tested will fail to actually turn. This may due to the camera not yet being awake? The result is that the camera will only turn with the next forced update interval which cam be quite a while later. That's not great.

Maybe instead of just always sending the command, something simple like this could resolve the issue:

if not camera.in_standby() then
begin
    camera.power_on();
    sleep(10);
end

If we know the camera is turned off, we could even add a metric (counter for each camera?) to track that.
Though, that's certainly just a “nice-to-have” addition.

@lkiesow lkiesow added the bug Something isn't working label Nov 15, 2024
@janmn janmn linked a pull request Dec 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant