Default unit of ros::Time::now()
Hi All,
Could you please let me know the default unit of ros::Time::now()
Snippet of the code is given below
ros::Time ros_time;
while (ros::ok())
{
ros_time = ros::Time::now();
//Some code
rate.sleep();
ros::spinOnce();
}
The output what I am getting is as below
1530606380.304236318
1530606380.323266596
1530606380.343226943
1530606380.364454049
1530606380.383265757
1530606380.403270513
1530606380.423227417
1530606380.443286735
1530606380.463231277
and so on..
Current system time is 14:00
Excuse me if the question is too simple.
Thank you. KK
i have same question