stereo_image_proc: rotate cameras
Hello,
I'm trying to setup a stereovision system from two camera, so for that, I'm using stereo_image_proc node. In a first glance, I was getting a good disparity image, but the PointCloud i was getting was not in the right direction (It was on the top of my robot while the obstacle was in front of it). so changed the orientation of the camera's axis to match the description in the stereo_image_proc . Now, the pointcloud is good, but since I changed the orientation of the cameras, the images I'm getting are rotated, hence, the disparity image I'm getting is not correct.
I think I need a way to rotate the left and right images before publishing them to the stereo_image_pro node.
here's a link to my project: https://github.com/hachbani2019/mitu.git
Thnaks in advance, feel free to ask for any additional information