Skip to content

Commit

Permalink
Fixing pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Oct 17, 2024
1 parent 00228c4 commit df9378f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ class ControllerInterfaceBase : public rclcpp_lifecycle::node_interfaces::Lifecy
*
* \param[in] time The time at the start of this control loop iteration
* \param[in] period The measured time taken by the last control loop iteration
* \returns A pair with the first element being a boolean indicating if the async callback method was triggered and the second element being the last return value of the async function. For more details check the AsyncFunctionHandler implementation in `realtime_tools` package.
* \returns A pair with the first element being a boolean indicating if the async callback method
* was triggered and the second element being the last return value of the async function. For
* more details check the AsyncFunctionHandler implementation in `realtime_tools` package.
*/
CONTROLLER_INTERFACE_PUBLIC
std::pair<bool, return_type> trigger_update(
Expand Down
4 changes: 3 additions & 1 deletion controller_interface/src/controller_interface_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ const rclcpp_lifecycle::State & ControllerInterfaceBase::configure()
{
const unsigned int thread_priority =
static_cast<unsigned int>(get_node()->get_parameter("thread_priority").as_int());
RCLCPP_INFO(get_node()->get_logger(), "Starting async handler with scheduler priority: %d", thread_priority);
RCLCPP_INFO(
get_node()->get_logger(), "Starting async handler with scheduler priority: %d",
thread_priority);
async_handler_ = std::make_unique<realtime_tools::AsyncFunctionHandler<return_type>>();
async_handler_->init(
std::bind(
Expand Down

0 comments on commit df9378f

Please sign in to comment.