when looking up transform from frame [odom] to frame [map] amclのエラー


Extrapolation Error: Lookup would require extrapolation into the future.  Requested time ?.? but the latest data is at time ?.?, when looking up transform from frame [odom] to frame [map]

Could not transform the global plan to the frame of the controller

amclを動かそうとするとこのエラーが出た.
amclをlaunchするときのパラーメータに下記を追加すると動いた

<node name="amcl" pkg="amcl" type="amcl">
~~
<param name="transform_tolerance" value="1.0"/>
~~
</node>