-
Notifications
You must be signed in to change notification settings - Fork 332
Description
When I set a 2D nav goal, Some errors have occurred:
[ INFO] [1702973286.012369648, 1702008461.360194988]: Got new plan
[ERROR] [1702973286.415246430, 1702008461.763362587]: Extrapolation Error: Lookup would require extrapolation 0.191100147s into the future. Requested time 1702008461.731280565 but the latest data is at time 1702008461.540180445, when looking up transform from frame [odom_est] to frame [map]
[ERROR] [1702973286.415310592, 1702008461.763362587]: Global Frame: odom_est Plan Frame size 79: map
[ WARN] [1702973286.415354428, 1702008461.763362587]: Could not transform the global plan to the frame of the controller
[ERROR] [1702973286.415398697, 1702008461.763362587]: Could not get local plan
I compare tf broadcaster in hdl_localization and AMCL, and then I modify the code for both L415 and L422 to "odom_trans.header.stamp = stamp + ros::Duration(0.2);".
There are no errors and it can work. But I don't know why it went wrong and I don't know if my workaround is correct.