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

depthimage_to_laser ' Cannot call rectifyPoint when distortion is unknown.' #51

Open
q8wwe opened this issue Mar 21, 2020 · 3 comments
Open

Comments

@q8wwe
Copy link

q8wwe commented Mar 21, 2020

plugin worked for me but I cant use it with depthimage to laser :

Could not convert depth image to laserscan: Cannot call rectifyPoint when distortion is unknown.

please advice how to solve the problem

@SyrianSpock
Copy link
Owner

Which ROS/Gazebo do you use?

@q8wwe
Copy link
Author

q8wwe commented Mar 21, 2020

I used Ros Kinetic with Gazebo 7

@drjsmith
Copy link

@q8wwe @SyrianSpock I encountered the same problem some time ago. The source of the error is that rectifyPoint requires a distortion model and no distortion model is being specified in the CameraInfo message. The fix-distortion-model branch of this repo contains my fix. This diff shows how the distortion model (which in this case indicates no distortion) can be set.

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

3 participants