<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br></div><div>It still didn't work for me at first … there was a library issue and I added a couple lines to your make file to fix it. Error shown below:</div><div><br></div><div><div>[kevin@TARDIS libuvc_camera]$ rosrun libuvc_camera camera_node </div><div>dyld: Library not loaded: libuvc.dylib</div><div>  Referenced from: /Users/kevin/ros_sandbox/libuvc_ros/libuvc_camera/bin/camera_node</div><div>  Reason: image not found</div><div>Trace/BPT trap: 5</div></div><div><br></div><div>Once the library issue was fixed I still can't run it. Not sure what I am supposed to do? It doesn't find the camera on my macbook pro, am I supposed to pass camera_node something? Maybe my built in camera is not a UVC camera??? I tried giving it vendor and product id, but that didn't help.</div><div><br></div><div><div>[kevin@TARDIS libuvc_camera]$ rosrun libuvc_camera camera_node</div><div>[ INFO] [1329608705.284208000]: using default calibration URL</div><div>[ INFO] [1329608705.285405000]: camera calibration URL: <a href="file:///Users/kevin/.ros/camera_info/camera.yaml">file:///Users/kevin/.ros/camera_info/camera.yaml</a></div><div>[ERROR] [1329608705.285662000]: Unable to open camera calibration file [/Users/kevin/.ros/camera_info/camera.yaml]</div><div>[ WARN] [1329608705.285929000]: Camera calibration file /Users/kevin/.ros/camera_info/camera.yaml not found.</div><div>[ INFO] [1329608705.332974000]: Opening camera with vendor=0x0, product=0x0, serial="", index=0</div><div>uvc_open: Unknown error (-99)</div></div><div><br></div><div>I tried a Logitech c270 which is uvc and it gave me the same answer except for the error changed to:</div><div><br></div><div>uvc: device has a status interrupt endpoint, but unable to read from it</div><div>uvc_open: Unknown error (-99)</div><div><br></div><div>However, once I told it vendor and product code for the Logitech camera, it worked!!</div><div><br></div><div>rosrun libuvc_camera camera_node _vendor:="0x046 _product:="0x0825" </div><div><br></div><br><div><div>On Feb 18, 2012, at 3:47 PM, Ken Tossell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Sat, Feb 18, 2012 at 9:48 AM, Kevin Walchko <span dir="ltr"><<a href="mailto:kevin.walchko@gmail.com" target="_blank">kevin.walchko@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div style="word-wrap:break-word"><div>Here is a patch for the rosdep.yaml for OSX for lib-usb.</div></div></blockquote><div class="gmail_quote"><br></div>Applied, thanks! </div><div class="gmail_quote"><br></div><div class="gmail_quote">


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I tried to compile this on my Mac and it failed complaining:  ld: library not found for -lrosthread. I haven't heard of that library before.</div>


</div></blockquote><div><br></div>I've taken -lrosthread out of libuvc's manifest.xml. I'm assuming it was removed recently, like -lros was removed in Fuerte, though both of those flags are still suggested on <<a href="http://ros.org/wiki/Manifest#Example" target="_blank">http://ros.org/wiki/Manifest#Example</a>> and <<a href="http://www.ros.org/doc/api/rospkg/html/manifest_xml.html#export-cpp" target="_blank">http://www.ros.org/doc/api/rospkg/html/manifest_xml.html#export-cpp</a>>. Anyway, libuvc didn't need to use any ROS libraries.</div>

<div class="gmail_quote"><br></div><div class="gmail_quote"> - Ken</div>
_______________________________________________<br>ros-users mailing list<br><a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>https://code.ros.org/mailman/listinfo/ros-users<br></blockquote></div><br></body></html>