Skip to content

Conversation

@DanielCoelho112
Copy link
Contributor

This change prevents the error when the camera2topic.py is terminated using Ctr+c. The cap.release() is now called every time the user ends the program.
Please check if everything is OK, and if so, merge.

@manuelgitgomes
Copy link
Contributor

Tried with my webcam and it went smoothly. Going to merge.

Copy link
Contributor

@manuelgitgomes manuelgitgomes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran the code in my computer and it worked fine with my webcam. Further tests are needed on real car to merge to main, but for dev is good enough!

@manuelgitgomes manuelgitgomes merged commit 54f5833 into dev Sep 9, 2021
@manuelgitgomes manuelgitgomes deleted the cap_release_problem branch September 9, 2021 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants