Robotics StackExchange | Archived questions

what does "ros::WallTime::now().toSec()" returns?

I am trying to print the current time in this format hr:min:sec .

Asked by samyak jain on 2019-09-06 13:31:58 UTC

Comments

Answers

Unix time, in a C++ double type

ei 1567827230.4325 when I read this question. Check out ctime and other time libraries, there's multiple solutions to convert unix time to any arbitrary human readable format.

Asked by stevemacenski on 2019-09-06 22:36:45 UTC

Comments