Skip to content

Commit

Permalink
reset controller server back to previous stat: remove cycle duration
Browse files Browse the repository at this point in the history
Signed-off-by: stevedan <[email protected]>
  • Loading branch information
stevedanomodolor committed Mar 25, 2024
1 parent cedfd53 commit 39be473
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nav2_controller/src/controller_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ void ControllerServer::computeControl()
break;
}

auto cycle_duration = this->now() - start_time;
if (!loop_rate.sleep()) {
RCLCPP_WARN(
get_logger(), "Control loop missed its desired rate of %.4fHz",
Expand Down

0 comments on commit 39be473

Please sign in to comment.