Go to the documentation of this file.
40 double frequency(const ::ros::Rate& rate,
bool maxCycleTimeMeansZero =
false);
48 double frequency(const ::ros::WallRate& rate,
bool maxCycleTimeMeansZero =
false);
107 bool operator==(const ::ros::Rate& r1, const ::ros::Rate& r2);
115 bool operator==(const ::ros::WallRate& r1, const ::ros::WallRate& r2);
::ros::Time saturateAdd(const ::ros::Time &time, const ::ros::Duration &duration)
Add the given duration to the given time, but saturate the result instead of throwing exception on ov...
bool operator==(const ::ros::Rate &r1, const ::ros::Rate &r2)
Test two rates for equality.
::ros::Duration operator*(const ::ros::Duration &val1, const ::ros::Duration &val2)
Multiply two durations. The units of the result are [s^2].
double frequency(const ::ros::Rate &rate, bool maxCycleTimeMeansZero=false)
Return the frequency represented by the given rate.
::ros::Duration operator/(const ::ros::Duration &numerator, const ::ros::Duration &denominator)
Divide duration val1 by val2. The result is unitless.
::ros::Rate safeRate(double frequency)
Return a rate representing the given frequency. If the frequency is zero or too small,...
::ros::WallRate safeWallRate(double frequency)
Return a rate representing the given frequency. If the frequency is zero or too small,...
::ros::Duration remainingTime(const ::ros::Time &query, double timeout)
Return remaining time to timeout from the query time.
::ros::Time nowFallbackToWall()
Return current ROS time if it has already been initialized, or current wall time.
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sun Jan 14 2024 03:48:14