ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It looks like you're off by 2 tenths of a second still. Waiting will almost never resolve an extrapolation into the past.
My guess is that you'll get that error for a little bit, and then it will go away as time moves forward and the cache extends beyond 5 seconds into the past.
Your posted code isn't printing the exceptions so I'm guessing there are other local changes besides the sleep.