58 Rate(
double frequency);
WallDuration expected_cycle_time_
Time representation. May either represent wall clock time or ROS clock time.
Class to help run loops at a desired frequency.
Duration representation for use with the WallTime class.
WallDuration expectedCycleTime() const
Get the expected cycle time – one over the frequency passed in to the constructor.
Class to help run loops at a desired frequency. This version always uses wall-clock time...
Time representation. Always wall-clock time.
Duration expected_cycle_time_
Duration representation for use with the Time class.
Duration expectedCycleTime() const
Get the expected cycle time – one over the frequency passed in to the constructor.