Respect the use_sim_time parameter for rclpy nodes #240
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
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:rclpy/rclpy/rclpy/node.py
Line 97 in 62012d3
As of #214, parameters are available in rclpy.
Tasks to get rclpy nodes to respond to the
use_sim_time
parameter:use_sim_time
has been set on the node.use_sim_time
parameter and the presence of a/clock
publisher. These are the tests in rclcpp.The text was updated successfully, but these errors were encountered: