Skip to content

Commit

Permalink
change error to warn for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ipa-vsp committed Nov 3, 2023
1 parent 92ed7f1 commit 7cde31f
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void NodeCanopenBaseDriver<rclcpp_lifecycle::LifecycleNode>::configure(bool call
}
catch (...)
{
RCLCPP_ERROR(this->node_->get_logger(), "Could not polling from config, setting to true.");
RCLCPP_WARN(this->node_->get_logger(), "Could not polling from config, setting to true.");
polling_ = true;
}
if (polling_)
Expand All @@ -64,7 +64,7 @@ void NodeCanopenBaseDriver<rclcpp_lifecycle::LifecycleNode>::configure(bool call
}
catch (...)
{
RCLCPP_ERROR(this->node_->get_logger(), "Could not read period from config, setting to 10ms");
RCLCPP_WARN(this->node_->get_logger(), "Could not read period from config, setting to 10ms");
period_ms_ = 10;
}
}
Expand All @@ -76,7 +76,7 @@ void NodeCanopenBaseDriver<rclcpp_lifecycle::LifecycleNode>::configure(bool call
}
catch (...)
{
RCLCPP_ERROR(
RCLCPP_WARN(
this->node_->get_logger(),
"Could not read enable diagnostics from config, setting to false.");
diagnostic_enabled_ = false;
Expand Down Expand Up @@ -120,7 +120,7 @@ void NodeCanopenBaseDriver<rclcpp::Node>::configure(bool called_from_base)
}
catch (...)
{
RCLCPP_ERROR(this->node_->get_logger(), "Could not polling from config, setting to true.");
RCLCPP_WARN(this->node_->get_logger(), "Could not polling from config, setting to true.");
polling_ = true;
}
if (polling_)
Expand All @@ -131,7 +131,7 @@ void NodeCanopenBaseDriver<rclcpp::Node>::configure(bool called_from_base)
}
catch (...)
{
RCLCPP_ERROR(this->node_->get_logger(), "Could not read period from config, setting to 10ms");
RCLCPP_WARN(this->node_->get_logger(), "Could not read period from config, setting to 10ms");
period_ms_ = 10;
}
}
Expand All @@ -143,7 +143,7 @@ void NodeCanopenBaseDriver<rclcpp::Node>::configure(bool called_from_base)
}
catch (...)
{
RCLCPP_ERROR(
RCLCPP_WARN(
this->node_->get_logger(),
"Could not read enable diagnostics from config, setting to false.");
diagnostic_enabled_ = false;
Expand All @@ -156,7 +156,7 @@ void NodeCanopenBaseDriver<rclcpp::Node>::configure(bool called_from_base)
}
catch (...)
{
RCLCPP_ERROR(
RCLCPP_WARN(
this->node_->get_logger(),
"Could not read diagnostics period from config, setting to 1000ms");
diagnostic_period_ms_ = 1000;
Expand Down

0 comments on commit 7cde31f

Please sign in to comment.