Skip to content

get_camera_image() is too impatient #11

Description

@touretzkyds

In aim.py, when get_camera_image() starts the image stream, it will throw an exception and exit if the first camera image doesn't arrive within 0.5 seconds. This is way too impatient, and often causes my code to fail on startup.

A more reasonable threshold would be 2 seconds, although I'd suggest using 5 seconds to be really safe.

It would also be good practice to make this a variable that users can control, instead of a mysterious constant.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions