<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Eric,<br>
    <br>
        I tried the cameras on another computer with different
    hardware(still running ubuntu lucid) and had the same problem. 
    Unfortunately the node doesn't die when the camera fails, it would
    make life much easier if it did.  <br>
    <br>
    Thanks for the tips though, maybe the manufacturer can help, it
    sounds the whole 1394 system can be a bit finicky sometimes, I never
    thought of the 1394 card being part of the problem, but I've seen a
    lot of issues with the Linux drivers.<br>
    <br>
    -Kim<br>
    <br>
    On 07/11/2010 12:11 AM, Eric Perko wrote:
    <blockquote
      cite="mid:AANLkTinpFZ_V8pBNCRO9MPkgogKpj2PPAVqvSOvN8WV7@mail.gmail.com"
      type="cite">
      <div>Kim,</div>
      <div><br>
      </div>
      Another possibility would be to add the 'respawn="true"' attribute
      to the camera1394_node tag in your launch file as long as
      camera1394 is exiting when the camera doesn't start. See <a
        moz-do-not-send="true"
        href="http://www.ros.org/wiki/roslaunch/XML/node">http://www.ros.org/wiki/roslaunch/XML/node</a> for
      the docs. 
      <div>
        <br>
      </div>
      <div>Making the driver more tolerant of finicky cameras wouldn't
        be a bad thing though, in my opinion. We'd have to test it, but
        I can't see trying n open attempts if the first (n-1) fail
        causing problems with cameras that already open on the first
        try.
        <div>
          <br>
        </div>
        <div>Does the camera have that same behavior on any computer you
          try? I've seen some really crappy 1394 hardware that can make
          1394 cameras behave badly or just randomly die.<br>
          <div><br>
          </div>
          <div>Another option would be to contact the manufacturer and
            see if that might be corrected by a firmware update or a
            warranty repair :)</div>
          <div><br>
          </div>
          <div>- Eric</div>
          <div><br>
            <div class="gmail_quote">On Sun, Jul 11, 2010 at 12:32 AM,
              Kim Houck <span dir="ltr"><<a moz-do-not-send="true"
                  href="mailto:kim_houck@yahoo.com">kim_houck@yahoo.com</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">
                I was wondering if anyone else has seen issues with
                camera1394 throwing<br>
                an exception after failing to start the camera.  I have
                been dealing<br>
                with an older firewire camera(dc1394 A) that often fails
                to start on the<br>
                first try(this also occurs using the camera with opencv
                or the dc1394<br>
                interface directly).<br>
                <br>
                When the camera fails to start properly the camera1394
                node needs to be<br>
                restarted to get get the camera to work, which isn't a
                problem for a<br>
                stand alone node but gets aggravating when using launch
                files.  I made a<br>
                change to openCamera in camera1394.cpp to have it try
                again to open the<br>
                camera if it fails the first time and only give up and
                throw an<br>
                exception if it fails twice.  I was wondering if anyone
                else has<br>
                encountered this problem and if so if have they found a
                better solution<br>
                for it?<br>
                <br>
                I'm not sure if this constitutes a bug/change request
                for camera1394,<br>
                since it may be limited to a very small subset of
                hardware and I'm not<br>
                sure if fixing this would cause problems for other
                camera hardware.<br>
                <br>
                Thanks.<br>
                <br>
                -Kim<br>
                <br>
                _______________________________________________<br>
                ros-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
                <a moz-do-not-send="true"
                  href="https://code.ros.org/mailman/listinfo/ros-users"
                  target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ros-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a>
<a class="moz-txt-link-freetext" href="https://code.ros.org/mailman/listinfo/ros-users">https://code.ros.org/mailman/listinfo/ros-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>