fix stamp of odom and imu

Fix time stamp of odom and imu for using ros::time if ros is running with simulation time.