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

CameraInfoMissingError exception is misleading #2

Open
jack-oquin opened this issue Aug 5, 2013 · 0 comments
Open

CameraInfoMissingError exception is misleading #2

jack-oquin opened this issue Aug 5, 2013 · 0 comments
Assignees

Comments

@jack-oquin
Copy link
Member

This exception indicates that loadCameraInfo() has not been called since the current URL and camera name were defined or changed.

It does not indicate whether the camera info file actually exists, but users will probably mistakenly think the camera is not calibrated. That is not the problem.

I would like to change the name to CameraInfoNotLoadedError, but then any code that catches the former name will no longer work, failing silently.

Perhaps the best solution is to improve the documentation for this exception, which is currently somewhat vague.

See ros-drivers/axis_camera#18 for a long discussion demonstrating the possible confusion.

@ghost ghost assigned jack-oquin Aug 5, 2013
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

No branches or pull requests

1 participant