what does "ros::WallTime::now().toSec()" returns?
I am trying to print the current time in this format hr:min:sec .
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
I am trying to print the current time in this format hr:min:sec .
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2019-09-06 13:31:58 -0600
Seen: 350 times
Last updated: Sep 06 '19