<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for your help on this matter Eitan and Eric!<div><br></div><div>I'll run a few experiments with various settings and report back the results soon.</div><div><br></div><div>Also on this subject, some of our Roombas are equipped with sonar arrays of 5 sonars arranged in</div><div><br></div><div>-PI/2 -PI/4 0 PI/4 PI/2</div><div><br></div><div>Do you think it would be a viable option to feed the sonar data into the nav stack in the form of a point cloud? Or is it not even worth trying as the amount of data produced is extremely small when compared to that of a laser range finder?</div><div><br></div><div>Thanks,</div><div><br></div><div>Gonçalo Cabrita</div><div>ISR - University of Coimbra</div><div>Portugal</div><div><br><div><div>On Jul 7, 2010, at 7:08 PM, Eitan Marder-Eppstein wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Goncalo,<br><br>There are a few basic things that you can do to help with performance:<br><br>1) You can increase the resolution of the costmaps. Since a Roomba is so small, even 10cm resolution should probably be sufficient for navigation. See the resolution parameter of the costmap: <a href="http://www.ros.org/wiki/costmap_2d#Map_management_parameters">http://www.ros.org/wiki/costmap_2d#Map_management_parameters</a><br>
<br>2) You can decrease the update rate of the costmaps from 5Hz to something lower depending on your tolerance for seeing an obstacle. At 5Hz, it'll take about 1/5th of a second to react to an obstacle, at 3Hz 1/3rd of a second, etc. See the update_frequency parameter for the costmap: <a href="http://www.ros.org/wiki/costmap_2d#Rate_parameters">http://www.ros.org/wiki/costmap_2d#Rate_parameters</a>.<br>
<br>3) You can control the Roomba at a lower rate... maybe something like 10Hz instead of 20Hz. For that you can set the controller_frequency parameter on move_base: <a href="http://www.ros.org/wiki/move_base#Parameters">http://www.ros.org/wiki/move_base#Parameters</a>.<br>
<br>Hope this helps,<br><br>Eitan<br><br><div class="gmail_quote">2010/7/7 Gonçalo Cabrita <span dir="ltr"><<a href="mailto:goncabrita@gmail.com">goncabrita@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi everyone!<div><br></div><div>Here at the lab we use Roomba robots with Eee PCs on top. The Eee PCs have a single core Intel Atom processor, not the quickest thing around! Each Roomba is also equiped with an Hokuyo laser. </div>

<div><br></div><div>So I've recently been playing around with the ROS nav stack. I've tried to make it as simple as possible according to the various tutorials and mailing list msgs I've came across with, however I'm always getting a warning that it is running below the 20Hz frequency. It is also noticeable the fact that the robot does not move properly, and eventually crashes.</div>

<div><br></div><div>Previously I experimented the same setup on an Erratic robot with a Celeron, and although it was taking pretty much all of the processor to run the nav stack, it was able to move pretty well around the lab according to the commands I was issuing from rviz.</div>

<div><br></div><div>So my question is, how can I use the nav stack in its simplest form, in order to have it running smoothly on the Eee PCs?</div><div><br></div><div>I'm attaching the .yaml files I'm using for configuring the nav stack.</div>

<div><br></div><div>Thanks in advance!</div><div><br></div><font color="#888888"><div>Gonçalo Cabrita</div><div><br></div><div><br></div>
</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>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></div></body></html>