Function rclcpp::operator==

Function Documentation

bool rclcpp::operator==(const ::rclcpp::Rate &r1, const ::rclcpp::Rate &r2)

Test two rates for equality.

Parameters:
  • r1[in] First rate.

  • r2[in] Second rate.

Returns:

Whether the rates are exactly equal and use the same clock type.