-
Notifications
You must be signed in to change notification settings - Fork 93
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
missing /pepper_robot/camera/depth_registered/points because of empty distortion #91
Comments
its working fine for me :) |
My guess for this to be commented out (@Karsten1987 may be able to confirm) is that we didn't have the distortion parameters for the depth camera. The currently commented line is using the distortion values of the RGB camera so uncommenting it without updating the values will likely result in weirdly distorted depth images. So if we have access to the real value it would be worth updating them, otherwise no accurate distortion is better than no image at all 👍 Regarding the distortion model it may be more future-proof to use the models defined in sensor_msgs rather than a litteral string. |
The distortion values are different for each robot. I can provide values for one of them, but it will not be the exact value for every robot. It is better to leave zero distortion. |
I use the commented variables but when i compiled with catkin_make in my ros repository it shows :
Any idea why ? I only have some basis in c++ so i don't fully understand the error |
@tomkimsour if I remember correctly you could use that version of the camera info definition header, it should solve your problem. Ultimately, we could open a PR to replace the current definition by the one of the fork (getting rid of boost and respecting the c++98 standard), or a more recent one using the standard lib. |
Thanks to your file, now it compiles properly. I uninstalled naoqi_driver globaly with This didn't solve my problem but at least now the message looks normal. |
@tomkimsour Did you resolve the issue? Even I am getting the same issue when I uncomment those lines(197 and 198) |
No i never been able to solve this unfortunatly. |
It seems that /pepper_robot/camera/depth_registered/points is empty because commented distortion in naoqi_driver lines 197 and 198 https://github.com/ros-naoqi/naoqi_driver/blob/master/src/converters/camera_info_definitions.hpp#L197
Should we finally uncomment it to make the pointcloud working?
The text was updated successfully, but these errors were encountered: