>From the sound of it, this matches the failure mode we see when there are not enough sample images to compute the correct calibration.  I'd suggest gathering more images before hitting the 'calibrate' button.  Try to get the checkerboard:<br>
<ul><li>filling the entire frame</li><li>very distant, in the four corners of the frame</li><li>both face-on and skewed for the above cases</li></ul>Then hit 'calibrate'.  The gui uses a simple heuristic for when it thinks it has enough calibration data, which seems to predict quite well for the PR2's stereo cameras.  It is likely that your custom setup is sufficiently different that the heuristic is being overly optimistic.<br>
<br>J<br><br><div class="gmail_quote">On Mon, Oct 11, 2010 at 6:57 AM, Jeff Hyams <span dir="ltr"><<a href="mailto:jeff.hyams@resquared.com">jeff.hyams@resquared.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to run the camera_calibration to calibrate a simple custom setup stereo pair.  I am using the uvc_stereo package to publish the raw camera images.<br><br>I get through the calibration (using a 5x4 checkerboard at the moment) after a minute of moving the checkerboard to the various positions around the image.  But once the calibrate button lights up and I hit it, it seems to still be looking for the checkerboard.  It also shows images which look to be zoomed in samples of the actual images, rather than what I would expect for poorly calibrated rectified images.  It also seems to be constantly recalculating the epipolar error (really high, usually over 10.0) whenever it finds the checkerboard after I have hit the calibrate button, or reporting the checkerboard not found if it's not in the image.<br>

<br>Based on the wiki page, I expected it to sample the images, then once the button was hit, to calculate and then print out or save the results.  Is this expected behavior, or am I doing something drastically wrong here?  Am I just getting a really bad set of images for calibration that is screwing up the calculations?<br>

<br>I am only running the image_raw publisher(s).  Do I need to also be running the stereo_image_proc while doing calibration?<br><br>Thanks,<br><font color="#888888"><br>Jeff Hyams<br>RE2, Inc.<br>
</font><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>J.<br><br>