NDT Localizer doesn't work when simulator is restarted by F12 and published 2d pose estimate from rviz
Description
NDT Localizer doesn't work when the simulator is reinitialized by f12.
How to Reproduce
- start lgsvl simulator
- launch avp demo
- publish 2d pose estimate from rviz and check the NDT localizetion starts
- move the car in simulator to somewhere else from the starting point
- push f12 button on keyboard to reinitialize the car position
- publish 2d pose estimate from rviz again
Current Behavior
NDT Localizer doesn't work when the simulator is reinitialized and 2d pose estimate is republished.
Expected behavior
NDT Localizer works when the simulator is reinitialized and 2d pose estimate is republished.