Renato, <div>Looking at your bag file.  The tf data and laser scans all look up to date and are synced nicely.  However, the error above comes from the observation_buffer.cpp in the costmap2d package.  Which I don't believe is used in the linked launch file.  Is there something else running?  You can get more info on ROS_ERROR messages from rxconsole.  </div>

<div><br></div><div>As for the error message it suggests that data is being stored for more than 10 seconds.  And the default tf cache is 10 seconds so as soon as the data is 10 seconds old it errors as above.  </div><div>

<br></div><div>Tully<br><br><div class="gmail_quote">On Wed, Aug 11, 2010 at 11:38 AM, David Feil-Seifer <span dir="ltr"><<a href="mailto:david.feilseifer@gmail.com">david.feilseifer@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Renato, I don't know about the ROS ARIA node for the pioneer, however,<br>
there is a ROS driver for the pioneer in the usc-ros-pkgs repository.<br>
The stack has tutorials for using the gmapping package with a pioneer<br>
and laser.<br>
<br>
<a href="http://www.ros.org/wiki/p2os/Tutorials/Getting%20Started%20with%20p2os" target="_blank">http://www.ros.org/wiki/p2os/Tutorials/Getting%20Started%20with%20p2os</a><br>
<div><div></div><div class="h5"><br>
On Wed, Aug 11, 2010 at 6:07 AM, Renato Samperio<br>
<<a href="mailto:mintaka_alnitak@hotmail.com">mintaka_alnitak@hotmail.com</a>> wrote:<br>
> Dear ROS users,<br>
><br>
> I would like to know if somebody can help me with my problem. I want to map<br>
> with a Pioneer robot (with a ROSARIA node) and Sick laser (with a modified<br>
> version of sicktoolbox_wrapper). They are producing a tf tree as showed in:<br>
><br>
> <a href="http://yfrog.com/f/jkrobotframesp/" target="_blank">http://yfrog.com/f/jkrobotframesp/</a><br>
> *In case could be necessary I can share the launch file.<br>
><br>
> The error I am obtaining is:<br>
><br>
> "TF Exception that should never happen for sensor frame: , cloud frame:<br>
> /base_scan, You requested a transform that is 9.976 seconds in the past,<br>
> but the tf buffer only has a history of 9.971 seconds.<br>
>  When trying to transform between /base_scan and /map."<br>
><br>
> I thought the problem was the tf was not publishing the laser scans but the<br>
> static scan transform seems to be faster than the C++ broadcaster. The last<br>
> output from tf_monitor is:<br>
><br>
> RESULTS: for all Frames<br>
><br>
> Frames:<br>
> Frame: /base_link published by /ROSARIA_client Average Delay: 0.00239482 Max<br>
> Delay: 0.028034<br>
> Frame: /base_scan published by /sscrovers_tf_static Average Delay:<br>
> -0.0179362 Max Delay: 0.010168<br>
> Frame: /odom published by /Gmapping Average Delay: 0.00222625 Max Delay:<br>
> 0.026887<br>
><br>
> All Broadcasters:<br>
> Node: /Gmapping 20.0193 Hz, Average Delay: 0.00222625 Max Delay: 0.026887<br>
> Node: /ROSARIA_client 10.0096 Hz, Average Delay: 0.00239482 Max Delay:<br>
> 0.028034<br>
> Node: /sscrovers_tf_static 45.3095 Hz, Average Delay: -0.0179362 Max Delay:<br>
> 0.010168<br>
><br>
><br>
> The problem is when I want to map as the scans are not representing the<br>
> robot surroundings. The same tf tree structure works with simulated data on<br>
> Stage for Gmapping but not in the robot. How can I assure Gmapping is<br>
> obtaining scans and tf tree correctly?<br>
> *In case could be useful, the bag I produced is here.<br>
><br>
><br>
> Many thanks.<br>
><br>
> Renato.<br>
><br>
</div></div>> _______________________________________________<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>
_______________________________________________<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><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>
</div>