You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Respect the use_sim_time parameter for rclpy nodes #240
There is support for Clocks that use ROS Time as described in this design document. It was added in this PR.
Clocks can be set to have ROS time "active" (will use the value seen on the /clock topic as its time) by calling time_source.ros_time_is_active = True.
A node has a time source associated with it (added in #210). At the time of that PR, parameters were not available in rclpy, so the node's time source does not respond to the use_sim_time parameter:
Tasks to get rclpy nodes to respond to the use_sim_time parameter:
Add a parameter callback that detects if use_sim_time has been set on the node.
Add tests that the node's clock output matches what's expected based on the combination of use_sim_time parameter and the presence of a /clock publisher. These are the tests in rclcpp.
I can't assign the issue to you (isaacs/github#100), but your contribution is still very welcome. When you make a pull request add the text connects to ros2/rclpy#240 to the PR description. That will link the PR and issue on the waffle board.
Activity
shivangg commentedon Sep 25, 2018
@dhood I'd like to work on this issue. Can you assign it to me?
sloretz commentedon Sep 25, 2018
@shivangg Thanks!
I can't assign the issue to you (isaacs/github#100), but your contribution is still very welcome. When you make a pull request add the text
connects to ros2/rclpy#240to the PR description. That will link the PR and issue on the waffle board.mkhansenbot commentedon Nov 14, 2018
@shivangg - I'm in need of this functionality now for testing ROS2 Navigation, did you get this to work?
jacobperron commentedon Apr 1, 2019
Resolved by #297