I am seeing your tf tree as this: /map -> /odom -> /base_link.  Which is ok, but you do not have a laser link so the laser data is not being transformed.  The laser data's frame is laser, but you don't have a joint between the base_link and the laser link, this causes it to not be viewable in rviz or be used by gmapping.  You need to define the geometric relationship between the position of the laser sensor and the base of the robot (/base_link -> /laser).<div>

<br></div><div>I would recommend reading this bit of the wiki: <a href="http://www.ros.org/wiki/tf/FAQ#Can_I_declare_static_transforms.3F">http://www.ros.org/wiki/tf/FAQ#Can_I_declare_static_transforms.3F</a></div><div><br>

</div><div>Hope that helps,</div><div><br clear="all">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>William Woodall<br>Graduate Software Engineering<br>Auburn University<br><a href="mailto:w@auburn.edu">w@auburn.edu</a><br><a href="mailto:wjwwood@gmail.com">wjwwood@gmail.com</a><br>

256-345-9938<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br><br><div class="gmail_quote">On Thu, Jul 22, 2010 at 10:34 AM, Rishi Bedi <span dir="ltr"><<a href="mailto:rbedi100@gmail.com">rbedi100@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

David - I'm running Ubuntu 10.04, ROS 1.1.13-12 (installed through<br>
synaptic), revision 107 of p2os (modified 2010-07-13).<br>
Full SVN info output for p2os:<br>
<br>
Path: .<br>
URL: <a href="https://usc-ros-pkg.svn.sourceforge.net/svnroot/usc-ros-pkg/trunk/p2os" target="_blank">https://usc-ros-pkg.svn.sourceforge.net/svnroot/usc-ros-pkg/trunk/p2os</a><br>
Repository Root: <a href="https://usc-ros-pkg.svn.sourceforge.net/svnroot/usc-ros-pkg" target="_blank">https://usc-ros-pkg.svn.sourceforge.net/svnroot/usc-ros-pkg</a><br>
Repository UUID: 157d20ef-4c6e-4bb2-9484-52dd339cd29c<br>
Revision: 107<br>
Node Kind: directory<br>
Schedule: normal<br>
Last Changed Author: dfseifer<br>
Last Changed Rev: 106<br>
Last Changed Date: 2010-07-13 17:11:49 -0400 (Tue, 13 Jul 2010)<br>
<br>
Here is the bagfile that I just recorded: <a href="http://www.rbedi.net/2010-07-22-11-29-38.bag" target="_blank">www.rbedi.net/2010-07-22-11-29-38.bag</a><br>
<br>
William - I didn't set anything up for my transforms -- I just set ROS<br>
to record the /tf topic -- is there any setting up I need to do?<br>
<br>
Thanks for all your help,<br>
Rishi<br>
<br>
<br>
On Thu, Jul 22, 2010 at 1:53 AM, David Feil-Seifer<br>
<div class="im"><<a href="mailto:david.feilseifer@gmail.com">david.feilseifer@gmail.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> We at USC have been using P2OS concurrently with gmapping for months<br>
> now, so I know that it CAN work. Let me help you debug this problem in<br>
> more detail. Can you do me a favor and send me a link to that bag file<br>
> that you recorded? Also, can you fill me in on what OS, ros release<br>
> and version of the p2os stack (preferably the output of svn info from<br>
> the p2os stack directory). That will help me figure this out in more<br>
> detail.<br>
><br>
> On Wed, Jul 21, 2010 at 10:02 PM, William Woodall <<a href="mailto:wjwwood@gmail.com">wjwwood@gmail.com</a>> wrote:<br>
>> I can't think of any reason why gmapping could not run concurrently with the<br>
>> p2os driver.  All that the gmapping slam node needs is published laser scans<br>
>> and correct TF data.  I have not used the p2os, but I would think it gives<br>
>> this information already, if the gmapping system isn't working correctly<br>
>> then I would look at the laser topic and the transforms to make sure that<br>
>> they are publishing the correct data.  Specifically make sure your<br>
>> transforms are setup correctly.  Judging from your error: "...TF_OLD_DATA<br>
>> ignoring data from the past for frame /base_link at time..." I would say<br>
>> that there is something wrong with the transformations you have setup.<br>
>> Hope that helps,<br>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
>> William Woodall<br>
>> Graduate Software Engineering<br>
>> Auburn University<br>
>> <a href="mailto:w@auburn.edu">w@auburn.edu</a><br>
>> <a href="mailto:wjwwood@gmail.com">wjwwood@gmail.com</a><br>
>> 256-345-9938<br>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
>><br>
>><br>
>> On Wed, Jul 21, 2010 at 10:41 PM, nitinDhiman <<a href="mailto:nitinkdhiman@gmail.com">nitinkdhiman@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi Rishi,<br>
>>> Then does that mean we cannot do concurrent mapping with currently ROS<br>
>>> packages. For pioneer, I heavily relying on p2os drivers.<br>
>>><br>
>>> Has any one tried concurrent localisation and mapping? May be using some<br>
>>> other setup??<br>
>>><br>
>>> Thank you,<br>
>>> Nitin<br>
>>> --<br>
>>> View this message in context:<br>
>>> <a href="http://ros-users.122217.n3.nabble.com/gmapping-errors-tp981480p986050.html" target="_blank">http://ros-users.122217.n3.nabble.com/gmapping-errors-tp981480p986050.html</a><br>
>>> Sent from the ROS-Users mailing list archive at Nabble.com.<br>
>>><br>
>>><br>
>>> ------------------------------------------------------------------------------<br>
>>> This SF.net email is sponsored by Sprint<br>
>>> What will you do first with EVO, the first 4G phone?<br>
>>> Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
>>> _______________________________________________<br>
>>> ros-users mailing list<br>
>>> <a href="mailto:ros-users@lists.sourceforge.net">ros-users@lists.sourceforge.net</a><br>
>>> <a href="https://lists.sourceforge.net/lists/listinfo/ros-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/ros-users</a><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>
>> _______________________________________________<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>
><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>
</div></div></blockquote></div><br></div>