Skip to content

Commit

Permalink
Fix parameter loading log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk authored and bmagyar committed Jun 30, 2022
1 parent e13643b commit f610c33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pid_ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ PidROS::getDoubleParam(const std::string & param_name, double & value)
return false;
}
value = param.as_double();
RCLCPP_INFO_STREAM(
RCLCPP_DEBUG_STREAM(
node_logging_->get_logger(),
"parameter '" << param_name << "' in node '" << node_base_->get_name() <<
"' value is " << value << std::endl);
return true;
} else {
RCLCPP_INFO_STREAM(
RCLCPP_ERROR_STREAM(
node_logging_->get_logger(),
"parameter '" << param_name << "' in node '" << node_base_->get_name() <<
"' does not exists" << std::endl);
Expand Down

0 comments on commit f610c33

Please sign in to comment.