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

Try catch around cvtColor to avoid demosaicing src.empty() error #463

Merged
merged 1 commit into from Sep 24, 2019

Conversation

lucasw
Copy link
Contributor

@lucasw lucasw commented Sep 24, 2019

I've encountered a cvtColor opencv exception a few times, my camera driver is occasionally feeding bad images in but I'd rather the nodelets survive this than not handle the exception here.

@SteveMacenski
Copy link
Member

totally makes sense to me, I'll merge after CI

@SteveMacenski SteveMacenski merged commit d4bb3f0 into ros-perception:melodic Sep 24, 2019
@SteveMacenski
Copy link
Member

Fastest PR -> merge I've seen in awhile :-) go circle CI

@lucasw
Copy link
Contributor Author

lucasw commented Sep 23, 2020

Can this be backported to kinetic? I can make a new PR if that helps, it looks like the same change can be used as is.

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.

None yet

2 participants