[ros-users] [Discourse.ros.org] [Next Generation ROS] ROS 2 …

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: andreaspasternak via ros-users
Date:  
To: ros-users
CC: andreaspasternak
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] ROS 2 Time vs std::chrono


@sloretz: Oh, that is a really good point! Thank you!

They should have designed `std::chrono` as they fixed `std::allocators`. :slight_smile:

This has the interesting implication that ROS 2 time can never be converted to `std::chrono` time and used with the standard library as it is not determinable from which clock the time came.

I will check if it is possible to create a `std::chrono` clock which at least works on a global level such that an error is produces when someone tries to switch a node to a different time than some global setting.





---
[Visit Topic](https://discourse.ros.org/t/ros-2-time-vs-std-chrono/6293/7) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>