Robotics StackExchange | Archived questions

stereo_image_proc: rotate cameras

Hello,

I'm trying to setup a stereovision system from two camera, so for that, I'm using stereoimageproc 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 stereoimageproc . 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 stereoimagepro 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

Asked by hachbani on 2019-06-25 03:14:54 UTC

Comments

Answers