Failed to compute odometry pose
Hi, i'm trying to use nav2d package to make autonomous exploration with a turtlebot3 burger. When i roslaunch my robot, before starting mapping and exploration, rviz says that no map is received and trying to debug with rqt_console i've found this warnings/errors:
Failed to compute odometry pose, skipping scan (Lookup would require extrapolation into the past. Requested time 1455208818.863310001 but the earliest data is at time 1531473492.888660568, when looking up transform from frame [base_scan] to frame [offset])
and:
Costmap2DROS transform timeout. Current time: 1531473499.6759, global_pose stamp: 1455208815.6299, tolerance: 0.3000
I haven't found a solution through other questions on this forum, i have a problem with sync time i suppose, but even if i tried to change something( clicking on reset like is said here link text or setting true on sim_time), nothing changed and i don't understand how to solve this problem. On this question link text was suggested to use this command`
$ sudo ntpdate ntp.ubuntu.com
but it says that no suitable server for synchronization is found.
Thanks for help!!
`
Asked by ryuzaki on 2018-07-13 05:07:49 UTC
Comments
Do you have a working internet connection from both computer?
Asked by Humpelstilzchen on 2018-07-13 07:18:31 UTC
no, computers are connected through a router, without internet connection. Could it be that the problem? If yes, could you explain me why? Thanks!!
Asked by ryuzaki on 2018-07-13 08:02:10 UTC
If you want to reach the internet ntp server at ubuntu.com you need internet, yes.
Asked by Humpelstilzchen on 2018-07-13 10:52:17 UTC
wait, maybe i don't know well how it works, do i need internet on both computers to use the ntp server? Because the computer i've launched the command on had internet access, but the robot hasn't internet connection
Asked by ryuzaki on 2018-07-14 08:57:37 UTC
however, just to update, i've connected everything to internet, nothing changed, i've tried to launch the ntp command on both machines, but the error is still there. I've looked for a solution and i've found some references about chrony, but i don't really know if that could be the solution
Asked by ryuzaki on 2018-07-19 07:46:42 UTC
Which error is still there? The ntp error? You need to fix that one first.
Asked by Humpelstilzchen on 2018-07-19 08:39:37 UTC
Updates on this? I have the same problem even though I synced the robot and computer clock
Asked by rezenders on 2021-03-23 09:06:51 UTC