Skip to content

Commit

Permalink
minor rebase corrections ros-controls#3
Browse files Browse the repository at this point in the history
  • Loading branch information
VX792 committed Sep 9, 2021
1 parent febf658 commit 1f18afa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1253,8 +1253,15 @@ void ControllerManager::RTControllerListWrapper::wait_until_rt_not_using(
}
}

int ControllerManager::get_update_rate() const {
int ControllerManager::get_update_rate() const
{
return update_rate_;
}

void ControllerManager::configure() {
if (!get_parameter("update_rate", update_rate_)) {
RCLCPP_WARN(get_logger(), "'update_rate' parameter not set, using default value.");
}
}

} // namespace controller_manager

0 comments on commit 1f18afa

Please sign in to comment.