ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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"