[ros-users] image_proc doesn't work with camera1394

Blaise Gassend blaise at willowgarage.com
Thu Apr 1 15:57:11 UTC 2010


I have a ticket open for getting camera_calibration to also spit out
a .yaml file. https://code.ros.org/trac/ros-pkg/ticket/3745 If you think
that would be useful, add a vote to it, as I got the feel that people
didn't think there was a pressing need for this feature.

On Wed, 2010-03-31 at 22:53 -0400, Eric Perko wrote:
> Hi Dejan,
> 
> I think I did about the same as you the first time. I had no idea what
> to do with that ost.txt file, as the format didn't match anything I
> was familiar with. Since the camera1394 driver provides that info
> manager class, I used the upload functionality of
> camera_calibration/cameracalibrator.py (or whichever is in the
> monocular calibration tutorial). This saved a file to the /tmp
> directory that was called something like
> calibration_<camera_node_name>.yaml or something similar. I then
> copied that file to the directory in my launch file and loaded it into
> the driver.
> 
> As Jack mentioned, there may be issues with setting the
> camera_info_manager/url parameter before you do the calibration. I
> didn't try that method and just allowed it to save to /tmp, which
> worked out just fine for me.
> 
> - Eric
> 
> On Wed, Mar 31, 2010 at 10:38 PM, Dejan Pangercic
> <dejan.pangercic at gmail.com> wrote:
> > Hi Eric,
> >> <launch>
> >> <node pkg="camera1394" type="camera1394" name="left">
> >> <param name="guid" value="00b09d010061ab25" />
> >> <param name="video_mode" value="640x480_rgb" />
> >> <param name="camera_info_manager/url"
> >> value="file:///home/eric/code/cwrucam/cwrucam/calibration/calibration_left.yaml"
> >> />
> >> </node>
> > Could you maybe tell me how did you get your yaml file? I namely
> > calibrated one of my cameras today (for the first time using
> > camera_calibration pkg) and all I got when I hit "Save" button was an
> > attached "ost.txt" file. Did you by chance perform manual conversion
> > to yaml format?
> > @Patrick, James: the format of that "ost.txt" actually discerns from
> > the one described here:
> > http://www.ros.org/wiki/camera_calibration/Tutorials/MonocularCalibration.
> > Is  this intentional?
> >
> > Furthermore just to clarify it, camera1394 does not do the
> > undistortion, it just publishes CameraInfo to be used in image_proc
> > correct?
> >
> > cheers, D.
> > --
> > MSc. Dejan Pangercic
> > PhD Student/Researcher
> > Computer Science IX
> > Technische Universität München
> > Telephone: +49 (89) 289-17780
> > E-Mail: dejan.pangercic at in.tum.de
> > WWW: http://ias.cs.tum.edu/people/pangercic
> >
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users





More information about the ros-users mailing list