ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
From wiki/roscpp/Overview/Time - Getting the Current Time:
ros::Time::now()
Get the current time as a
ros::Time
instance:ros::Time begin = ros::Time::now();
via Google: "ros get current time"