Hi, thank you both. So far, I have tried roswtf and it found no problems: "running tf checks, this will take a second... ... tf checks complete" I'll try the second approach as well. Actually it's the other way round - the transform is rarely received correctly. Could the problem be in my code, something like asking for the transform when it's not available? Thanks very much, Michal > Michal, > I'd also suggest that you try running roswtf when things are running with > problems. That has a tf plugin to try to help detect common problems. > > Tully > > On Fri, Jul 2, 2010 at 9:29 AM, Brian Gerkey > wrote: > >> hi Michal, >> >> The fact that it's only rarely received incorrectly is peculiar. >> Sounds like part of the system is occasionally, or slowly, publishing >> a conflicting transform. I would log all the tf data during a run: >> rosbag record tf >> Then search through the resulting bag for the problem. Something like >> this will pull out all the messages that declare a transform with >> base_footprint as the child: >> rosbag filter in.bag out.bag 'topic == "tf" and >> m.transforms[0].header.frame_id == "base_footprint"' >> (where in.bag should be replaced by the name of bag created by the >> record step). You can examine the filtered data with rostopic: >> rostopic echo -b out.bag tf >> Presumably, in that data stream, you'll see occasional conflicting >> declarations of the parent of base_footprint. >> >> brian. >> >> On Fri, Jul 2, 2010 at 3:42 AM, wrote: >> > Hi, >> > >> > thanks for the reply. Gmapping is configured with > name="odom_frame" >> > value="odom_combined"/> >> > >> > i'm launching this configuration: >> > >> > >> > >> > > /> >> > >> > > /> >> > >> > >> > >> > >> > where slam_gmapping.xml is: >> > >> > >> > > > output="screen"> >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > sometimes (quite rarely) the transform is received correctly. >> > >> > Thanks very much, >> > >> > Michal >> > >> >> Perhaps gmapping is configured with odom_frame == base_footprint? >> >> >> >> brian. >> >> >> >> On Fri, Jun 25, 2010 at 10:32 AM, Wim Meeussen >> >> wrote: >> >>> Michal, >> >>> >> >>>> RESULTS: for /map to /base_footprint >> >>>> Chain is: /map -> /base_footprint -> /odom_combined >> >>>> Net delay avg = 0.020768: max = 0.064 >> >>> >> >>> [...] >> >>> >> >>>> the only weird thing is, that in rviz the transform arrows shows >> like >> >>>> this: /base_footprint -> /odom_combined -> /map >> >>>> might this be a sign of some problem? >> >>> >> >>> Yes, This is most likely your problem. It appears that you have a tf >> >>> publisher from map to base_footprint, and another publisher from >> >>> odom_combined to base_footprint. So the base_footprint frame has two >> >>> parents. In our setup we have amcl publish the transform from map >> to >> >>> odom combined, and the robot pose ekf publish the transform from >> >>> odom_combined to base_footprint. What setup are you running? Did >> you >> >>> reconfigure amcl to publish a different tf transform? >> >>> >> >>> Wim >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> -- >> >>> Wim Meeussen >> >>> Willow Garage Inc. >> >>> > >>> _______________________________________________ >> >>> ros-users mailing list >> >>> ros-users@code.ros.org >> >>> https://code.ros.org/mailman/listinfo/ros-users >> >>> >> >> _______________________________________________ >> >> ros-users mailing list >> >> ros-users@code.ros.org >> >> https://code.ros.org/mailman/listinfo/ros-users >> >> >> > >> > >> > _______________________________________________ >> > ros-users mailing list >> > ros-users@code.ros.org >> > https://code.ros.org/mailman/listinfo/ros-users >> > >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> > > > > -- > Tully Foote > Systems Engineer > Willow Garage, Inc. > tfoote@willowgarage.com > (650) 475-2827 > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >