realsense_gazebo_plugin icon indicating copy to clipboard operation
realsense_gazebo_plugin copied to clipboard

depthimage_to_laser ' Cannot call rectifyPoint when distortion is unknown.'

Open q8wwe opened this issue 4 years ago • 3 comments

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

q8wwe avatar Mar 21 '20 15:03 q8wwe

Which ROS/Gazebo do you use?

SyrianSpock avatar Mar 21 '20 16:03 SyrianSpock

I used Ros Kinetic with Gazebo 7

q8wwe avatar Mar 21 '20 16:03 q8wwe

@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.

drjsmith avatar Oct 10 '20 00:10 drjsmith