I have a problem in ros installation.I am using Debian version 5.0.4.I installed by copying required folders for ROS installation from the USB. I followed the same procedure as you mentioned.<br>I got the following error:<br>
<br>make: rosmake: Command not found<br>make: *** [core_tools] Error 127<br><br>Can u suggest a remedy for this?<br>Awaiting the reply.....<br>I have to start my work in ROS as soon as possible.....<br><br><div class="gmail_quote">
On Thu, May 27, 2010 at 1:35 PM, Miguel Prada <span dir="ltr"><<a href="mailto:miguel.register@gmail.com">miguel.register@gmail.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;">
Hi, one last thing.<br>
<br>
Is there any issue with 640x480_yuv411 mode?<br>
<br>
I'm almost sure I made it work yesterday, but today I cannot make the camera output nothing that makes sense if I use that mode, even if it works fine when using coriander. Also I saw that's not on the supported mode list on camera1394 wiki page.<br>

<br>
Regards,<br>
Miguel.<br>
<br>
El 26/05/2010, a las 20:19, Jack O'Quin escribió:<br>
<br>
> On Wed, May 26, 2010 at 11:05 AM, Miguel Prada<br>
> <<a href="mailto:miguel.register@gmail.com">miguel.register@gmail.com</a>> wrote:<br>
>> Hi,<br>
>><br>
>> First of all the camera now works. While I was following Erics suggestion of copying coriander's settings to the camera yaml I suddenly realised the camera_info_url parameter was wrong. The reason for this was that I was using the sample unibrain.yaml file in camera1394 package wich had a hardcoded absolute path which, of course, didn't exist on my machine. After fixing this parameter everything has started to work and I'm now trying different sets of parameters to see what best fits my application.<br>

>><br>
>> I've just 'svn up'ed the camera1394 package and this absolute path is still there in unibrain.yaml file. This should be changed to something more portable, removed or at least commented somehow IMO.<br>

><br>
> This package is currently undergoing an API review. I'll make a note<br>
> of that problem.<br>
><br>
> Those launch files are purely for testing, not intended to be part of<br>
> the package interface. I'm planning to move them from 'launch' to<br>
> 'test' and add some comments to make that clearer.<br>
><br>
>> Thanks to both of you for your quick replies.<br>
>><br>
>> PS: For the record, I'm answering your coments inline, Jack.<br>
>><br>
>> El 26/05/2010, a las 17:23, Jack O'Quin escribió:<br>
>><br>
>>> On Wed, May 26, 2010 at 9:28 AM, Miguel Prada <<a href="mailto:miguel.register@gmail.com">miguel.register@gmail.com</a>> wrote:<br>
>>>> Hi,<br>
>>>><br>
>>>> I'm trying to replace a usb webcam I'm using for a firewire Unibrain Fire-i camera, but I'm having some trouble using it with ROS. There are two issues I honestly don't know how to deal with.<br>

>>><br>
>>> For the record: what OS, ROS and camera driver versions are you running?<br>
>><br>
>> The machine I'm trying this on is running Ubuntu 9.10, and the camera drivers are the ones apt has installed for me by default (libdc1394-22 package, version 2.1.2; libraw1394-11, version 2.0.4)<br>
>><br>
>> As for the ROS version I think it's 'latest', but I must admit I'm not sure. I installed it a while ago (before boxturtle came out) and cannot remember what did I do, mostly because back then I didn't know very well what I was doing either ;)<br>

>><br>
>>>> 1- If I run camera1394_node using 'rosrun camera1394 camera1394_node' the camera seems to work, but when I try to visualize the images published on /camera/image_raw topic using image_view the image that shows is completely messed up. However, when I visualize the camera output with coriander it looks perfect. Check the images linked below to see what I mean.<br>

>>>><br>
>>>> camera1394->image_view: <a href="http://www.flickr.com/photos/migueluli/4641459303/in/set-72157624016324875/" target="_blank">http://www.flickr.com/photos/migueluli/4641459303/in/set-72157624016324875/</a><br>

>>>> Coriander:                                      <a href="http://www.flickr.com/photos/migueluli/4641459171/in/set-72157624016324875/" target="_blank">http://www.flickr.com/photos/migueluli/4641459171/in/set-72157624016324875/</a><br>

>>><br>
>>> You need to set the correct video_mode. For your fire-i, this should work:<br>
>>><br>
>>> $ rosrun camera1394 camera1394_node _video_mode:=640x480_rgb<br>
>>><br>
>>> If you use the current SVN trunk camera1394 with ROS latest, you<br>
>>> should be able to try different parameters using dynamic reconfigure:<br>
>>><br>
>>> $ rosrun dynamic_reconfigure reconfigure_gui<br>
>>><br>
>>> But, note that some video_mode settings are not compatible with this<br>
>>> camera. If you request an unsupported one, the camera may hang in some<br>
>>> way that requires resetting.<br>
>><br>
>> After fixing the path issue I mention above I've been able to try different video modes. 640x480_yuv411 and 640x480_mono work fine, which are the ones that interest me most since they're the only ones capable of achieving 30fps at that resolution (according to specs).<br>

>><br>
>> I've been having some trouble with 640x480_rgb even if according to the manufacturer it is supported.<br>
><br>
> It works fine at 15 fps, I don't think I've succeeded at 30 fps.<br>
><br>
>>>> 2- If I use roslaunch instead of rosrun I'm unable to start the camera. I've tried to look at the two launch files found in camera1394 package, as well as the camera configuration yaml files, but I can't think of anything inside those that may cause this problems. For the output I get (pasted below), it looks like it has something to do with not being able to set the appropriate iso level on the camera, but I find it strange that the same doesn't happen when using rosrun.<br>

>>><br>
>>> Bus screw-ups are a common problem with the Linux 1394 drivers. In<br>
>>> many (not all) cases, running dc1394_reset_bus will clear the problem.<br>
>>> That command is found in the libdc1394-utils package on recent Ubuntu<br>
>>> distributions.<br>
>><br>
>> I've still noticed some issues now and then. When fiddling a lot with different modes and framerates somethimes the video goes back to the weird thing I posted on the first mail. I'll try if this fixes it the next time it happens, otherwise, taking the power off the camera seems to do the trick too.<br>

>><br>
>>>> One last thing that might be related. I have to give read and write permissions to /dev/raw1394 and /dev/video1394/0 for all users in order to make any of the above stated work at all.<br>
>>><br>
>>> The permission problem exists with almost all distributions using the<br>
>>> old 1394 driver stack. The new (Juju) firewire stack is supposed to<br>
>>> have fixed that issue. But, who knows what new problems they<br>
>>> introduce?<br>
>><br>
>> I have no idea of how to find out which stack I'm using. In any case changing permisions is not much of an issue right now.<br>
><br>
> Karmic has the older 1394 stack by default. If you run this command:<br>
><br>
> $ lsmod | grep 1394<br>
><br>
> It should show four drivers, all with 1394 in the name. The Juju<br>
> drivers have "firewire" in the names.<br>
><br>
>>>> Has anyone experienced similar problems? If so, have you fixed it? And how?<br>
>>><br>
>>> Yes, I've seen most of these problems. Getting firewire cameras<br>
>>> working solidly takes some fiddling. I'll add a Troubleshooting page<br>
>>> to the camera1394 wiki, when I can find time.<br>
>>><br>
>>> The good news is that I've been testing the driver extensively with a<br>
>>> similar Unibrain Fire-i. Once you get the parameters dialed in<br>
>>> correctly, it should work quite reliably. For $100, that's a very nice<br>
>>> camera.<br>
>><br>
>> Now that the camera works I'm anxious to try if the performance of my application improves with respect to using a cheap usb webcam.<br>
><br>
> Good. Please let us know what you find.<br>
> --<br>
> joq<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>
_______________________________________________<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>
</blockquote></div><br>