[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: Sloretz via ros-users
Date:  
To: ros-users
CC: Sloretz
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] ROS 2 Time vs std::chrono


Is it important for your product to support being used by two nodes in the same process at the same time?

If `rclcpp` used [std::chrono](https://en.cppreference.com/w/cpp/named_req/Clock) then there could only be one clock per clock type per process. If a process with two nodes starts and a user sets `use_sim_time` to `true` on one node and `false` on the other then what time should `ros2_clock::now()` return?





---
[Visit Topic](https://discourse.ros.org/t/ros-2-time-vs-std-chrono/6293/4) 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>