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

Some vessels generate multiple tweets #6

Open
ezod opened this issue Jul 20, 2021 · 2 comments
Open

Some vessels generate multiple tweets #6

ezod opened this issue Jul 20, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ezod
Copy link
Owner

ezod commented Jul 20, 2021

Occasionally, a vessel will generate multiple tweets (usually 2-3), with one "correct" photo and the others off-center or empty frame. The scheduler event is keyed by MMSI, and should be unique until 60 seconds after the tweet.

@ezod
Copy link
Owner Author

ezod commented Jul 20, 2021

This seems to be a bug related to the non-scheduled capture and tweet for when the delta is less than half a second.

[2021-07-20 09:52:53.992198] SOME DEVIL: ship in view, tweeting...
[2021-07-20 09:52:55.696870] SOME DEVIL: image captured to /tmp/338189812.jpg
[2021-07-20 09:53:00.120939] SOME DEVIL: done tweeting
[2021-07-20 09:53:02.549867] SOME DEVIL: ship in view, tweeting...
[2021-07-20 09:53:04.269768] SOME DEVIL: image captured to /tmp/338189812.jpg
[2021-07-20 09:53:08.569030] SOME DEVIL: done tweeting
[2021-07-20 09:53:08.605714] SOME DEVIL: ship in view, tweeting...
[2021-07-20 09:53:10.292035] SOME DEVIL: image captured to /tmp/338189812.jpg
[2021-07-20 09:53:14.584837] SOME DEVIL: done tweeting

This may be triggering when AIS telemetry is received for vessels moving away from the camera axis which did not previously have a scheduled tweet.

@ezod ezod closed this as completed in 2147db1 Jul 20, 2021
@ezod ezod reopened this May 16, 2022
@ezod
Copy link
Owner Author

ezod commented May 16, 2022

Seems to be an issue in the event scheduler; the workaround in 872025f should be sufficient for now as long as the first scheduled shot is in the correct position.

@ezod ezod added the bug Something isn't working label Jun 20, 2023
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

No branches or pull requests

1 participant