[ros-users] [Discourse.ros.org] [Next Generation ROS] Of clocks and simulation, betimes and otherwise

Brannon King ros.discourse at gmail.com
Thu Apr 20 22:05:15 UTC 2017




It would seem that rclcpp::Time::now() -- a static method -- would not be what we want if that method is built from subscribed data. Instead, it would need to live on node. You would call a node instance method to get the current time, which time would be computed or pulled from the system clock if there is nothing to compute the time from. That way, the node could subscribe for whatever global messages it wants to behind the scenes.






---
[Visit Topic](https://discourse.ros.org/t/of-clocks-and-simulation-betimes-and-otherwise/1587/5) or reply to this email to respond.




More information about the ros-users mailing list