ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rclcpp::Rate doesn't use ROS time (use_sim_time)

asked 2019-03-25 18:30:19 -0500

clyde gravatar image

It appears that rclcpp::Rate uses std::chrono::system_clock, which of course doesn't use ROS time, so it doesn't honor use_sim_time.

Any plans to add a version of Rate that uses ROS time?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-25 19:32:11 -0500

tfoote gravatar image

Yes it's ticketed at: If anyone has time to help out with a proposed implementation it would be appreciated.

There's several other related enhancements we're tracking at:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-03-25 18:30:19 -0500

Seen: 1,004 times

Last updated: Mar 25 '19