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 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?