Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ros-simulation#408 GetLastMeasurementTime is the time of the image th…
…at has triggered the OnNewFrame, therefore it should go into the timestamp. (the OnNewFrame ought to contain the timestamp) There is no purpose to cur_time since the OnNewFrame is never triggered at a higher rate than gazebo sensor- maybe the idea was that a higher rate could be synthesized by sending the same image at the plugin rate even when the sensor rate was lower? Why does updateRate exist at all, it seems likely to cause confusion and be set to a non-zero number (like the same number as update_rate) that will result in skipped frames.
- Loading branch information