ros2 / rclcpp

rclcpp (ROS Client Library for C++)
Apache License 2.0
536 stars 417 forks source link

Support simulation clock in `TimersManager` / `EventExecutor` #2457

Closed fujitatomoya closed 6 months ago

fujitatomoya commented 6 months ago

Feature request

Feature description

Originally comes from https://github.com/ros2/rclcpp/pull/2453#issuecomment-2008192061. Currently TimersManager does not support simulation clock, so some unit tests implemented with simulation clock cannot be executed with EventExecutor. (since EventExecutor is now experimental, this should be fine.)

besides that, it would be nice to support EventExecutor with simulation clock for user application experience.

Implementation considerations

T.B.D

fujitatomoya commented 6 months ago

CC: @alsora