ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can get the period of the Rate object using the period()
method which is the the inverse of the "expectedCycleTime". The API was changed to be clearer about exactly what that datatype is returning. A cycle time is not clearly a rate.
2 | No.2 Revision |
You can get the period of the Rate object using the period()
method which is the the inverse of the "expectedCycleTime". The API was changed to be clearer about exactly what that datatype is returning. A cycle time is not clearly a rate.
API docs: http://docs.ros2.org/eloquent/api/rclcpp/classrclcpp_1_1GenericRate.html