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

Revision history [back]

Both, ros::durationBase (API Doc) as well as ros::timeBase (API Doc) contain the respective toSec() functions which return a double. What you did is not required!