depthimage_to_laserscan outputs laserscan upside down
Hi everyone, Im having trouble with depthimage_to_laserscan, its essentially upside down, if i try rotate the TF by 180 degrees the map is offset from the laserscan? is there anyway to flip the depthimage_to_laserscan?
Did you try to flip your depth image?
How is that done?
Use OpenCV function
flip
: http://docs.opencv.org/modules/core/d...See this post for details http://stackoverflow.com/questions/16...
I know there is a way with OpenCV but this would consume much more processing power flipping each depth image?
This will not affect performance at all if you are working on a desktop or on a laptop.
The other way to do image processing is by means of
image_transport
but I did not find a method for image flipping. Or you can tryimage_rotate
package http://wiki.ros.org/image_rotate but it does the same opencv operations.The depth camera is on a Raspberry Pi.I will try that, thanks for the help.