Main Content
reset
Syntax
Description
reset(
resets the state of the
rate
)ros2rate
object, including the elapsed time and all statistics about
previous periods. reset
is useful if you want to run multiple successive
loops at the same rate, or if the object is created before the loop is executed.
Input Arguments
Version History
Introduced in R2022b