Skip to content

Commit

Permalink
add info log
Browse files Browse the repository at this point in the history
  • Loading branch information
ioio2995 committed Jun 12, 2024
1 parent a47ecd1 commit d50922f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ namespace myactuator_rmd_hardware {
timeout_ = std::chrono::milliseconds(0);
RCLCPP_INFO(getLogger(), "Timeout not set, defaulting to '%ld' ms", timeout_.count());
}

if (timeout_ == std::chrono::milliseconds(0)) {
RCLCPP_INFO(getLogger(), "Timeout set to 0ms, it will not be used!");
}
driver_ = std::make_unique<myactuator_rmd::CanDriver>(ifname_);
actuator_interface_ = std::make_unique<myactuator_rmd::ActuatorInterface>(*driver_, actuator_id_);
if (!actuator_interface_) {
Expand Down

0 comments on commit d50922f

Please sign in to comment.