Open bsb808 opened 3 years ago
I remember seeing these warnings since the beginning but never paid much attention to them. It looks like this is a discrepancy between the EKF update rate and the sensor update rate.
In the upper question, there's a reply with two potential workarounds:
You have two options:
a) Change your transform_time_offset EKF parameter to some small positive value. This will future-date its transform it's generating.
b) Set predict_to_current_time to true for the EKF. That will force the EKF to make a prediction to the current ROS time before publishing, rather than just publishing the state estimate at the time of the most recent measurement.
When I run the VORC localization example from https://github.com/osrf/vorc/wiki/sensors
and then
I get the following transform warnings - perhaps a state publisher issue?
In the above, I'm using Melodic. There are other issues with Noetic - see https://github.com/bsb808/mrc_notes/issues/4