stereo_image_proc origin of stereo camera system? [closed]
I’m currently working on a stereo vision system. I have successfully implemented the stereo system using the stereo_image_proc node.
I indexed the sensor_msgs::Pointcloud2
message and got the average value for a 5 pixel window, in order to perform range measurements of a target placed in space. However from the results it seems that the origin of the stereo system is approximately 10cm in front of the stereo cameras. But I believe it should be close to the left sensors origin?
Im pretty confused as to why that is? When I perform the same indexing process with the kinect point clouds I get more accurate range measurements.
Where or what do you think is the source of this offset? does it have to do with tf?
Im confused....
Do you remember the pixel error you obtained at the calibration step? Knowing the error, the pixel size and the camera focal may give you some insight on what's happening.
To add to @Miquel Massot, make sure you've gone through the calibration process. http://wiki.ros.org/camera_calibratio...