ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AFAIK the parameter roi in CameraInfo.msg can be used to choose a region of interest. Try republishing a camera info with the roi set to your object region. And use that to feed stereo_image_proc. If you just need some sampled 3D points you should use StereoCameraModel::projectDisparityTo3d. This is way faster than constructing a whole disparity image.