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