ros duration to seconds code example
Example: ros duration to seconds
double secs =ros::Time::now().toSec();
ros::Duration d(0.5);
secs = d.toSec();
double secs =ros::Time::now().toSec();
ros::Duration d(0.5);
secs = d.toSec();