ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Yes, what you're getting is the time in microseconds. May I suggest one QoL change to that line:
auto num_of_us = diff.to_chrono<std::chrono::microseconds>();