-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
961 protect from empty camera image #967
Commits on Dec 13, 2021
-
Protect warm PiCamera and CiscCamera until frame is available
- prior code just waited a couple of seconds. - this new code now starts asking for frames and will wait until a frame is return or a timeout happens - Generally this is a more reliable and faster way to warm the camera; if it is going to work it will return a frame quickly. So start up is faster. - The warmup code also declares a better error if the camera can't start; it raises the error in the camera part rather than downstream where the image is used or later in the pipeline. That makes it easier to diagnose what is going on.
Configuration menu - View commit details
-
Copy full SHA for 5be5320 - Browse repository at this point
Copy the full SHA 5be5320View commit details -
Protect cv_control.py from None image
- if the camera returns a None image the code would crash. That could happen with the prior CISC camera if it did not start properly. However, that error was confusing. - Now this code will simply ignore an None image.
Configuration menu - View commit details
-
Copy full SHA for 6784c7b - Browse repository at this point
Copy the full SHA 6784c7bView commit details -
Make cv_control debug window optional
- added --debug flag. if this is passed to 'drive' command then debug window is shown. Otherwise it does not. - this fixes an issue when using a headless OS on the donkeycar; open cv cannot create a debug window and so crashes.
Configuration menu - View commit details
-
Copy full SHA for 3756e6c - Browse repository at this point
Copy the full SHA 3756e6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for db9bff4 - Browse repository at this point
Copy the full SHA db9bff4View commit details -
Added warmup routine to webcam
- this guarantees we can produce frames before the camera is used - also detects if pygame is not installed and prints instructions
Configuration menu - View commit details
-
Copy full SHA for c8fd658 - Browse repository at this point
Copy the full SHA c8fd658View commit details
Commits on Dec 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2f80aab - Browse repository at this point
Copy the full SHA 2f80aabView commit details
Commits on Dec 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 85e8800 - Browse repository at this point
Copy the full SHA 85e8800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47c9660 - Browse repository at this point
Copy the full SHA 47c9660View commit details -
Add config for camera index in WEBCAM
- if both a CSIC camera and a USB camera are connected then there will be more than one camera available - The current code always just choose index 0 - This change allows the index to be chose with cfg.CAMERA_INDEX, which defaults to zero
Configuration menu - View commit details
-
Copy full SHA for 32b2cb0 - Browse repository at this point
Copy the full SHA 32b2cb0View commit details
Commits on Dec 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 07c123a - Browse repository at this point
Copy the full SHA 07c123aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 240412f - Browse repository at this point
Copy the full SHA 240412fView commit details