Get the current time
How can I get current time in ros, because I want to have two dimensional array, one dimension would be int, another current time, and I want to have function and loop which will go through array, and keep one int value for some exact period of time, for ex. 60sec number will be 100, then next 80sec number will be 80 etc. p.s. sorry for bad tags