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

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

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

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
1

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

tfoote gravatar image

Yes it's ticketed at: https://github.com/ros2/rclcpp/issues... 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: https://github.com/ros2/ros2/issues/530

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 1,114 times

Last updated: Mar 25 '19