@@ -47,7 +47,7 @@ ParameterService::ParameterService(
47
47
response->values .push_back (param.get_value_message ());
48
48
}
49
49
} catch (const rclcpp::exceptions::ParameterNotDeclaredException & ex) {
50
- RCLCPP_WARN (rclcpp::get_logger (" rclcpp" ), " Failed to get parameters: %s" , ex.what ());
50
+ RCLCPP_DEBUG (rclcpp::get_logger (" rclcpp" ), " Failed to get parameters: %s" , ex.what ());
51
51
}
52
52
},
53
53
qos_profile, nullptr );
@@ -68,7 +68,7 @@ ParameterService::ParameterService(
68
68
return static_cast <rclcpp::ParameterType>(type);
69
69
});
70
70
} catch (const rclcpp::exceptions::ParameterNotDeclaredException & ex) {
71
- RCLCPP_WARN (rclcpp::get_logger (" rclcpp" ), " Failed to get parameter types: %s" , ex.what ());
71
+ RCLCPP_DEBUG (rclcpp::get_logger (" rclcpp" ), " Failed to get parameter types: %s" , ex.what ());
72
72
}
73
73
},
74
74
qos_profile, nullptr );
@@ -89,7 +89,7 @@ ParameterService::ParameterService(
89
89
result = node_params->set_parameters_atomically (
90
90
{rclcpp::Parameter::from_parameter_msg (p)});
91
91
} catch (const rclcpp::exceptions::ParameterNotDeclaredException & ex) {
92
- RCLCPP_WARN (rclcpp::get_logger (" rclcpp" ), " Failed to set parameter: %s" , ex.what ());
92
+ RCLCPP_DEBUG (rclcpp::get_logger (" rclcpp" ), " Failed to set parameter: %s" , ex.what ());
93
93
result.successful = false ;
94
94
result.reason = ex.what ();
95
95
}
@@ -117,7 +117,7 @@ ParameterService::ParameterService(
117
117
auto result = node_params->set_parameters_atomically (pvariants);
118
118
response->result = result;
119
119
} catch (const rclcpp::exceptions::ParameterNotDeclaredException & ex) {
120
- RCLCPP_WARN (
120
+ RCLCPP_DEBUG (
121
121
rclcpp::get_logger (" rclcpp" ), " Failed to set parameters atomically: %s" , ex.what ());
122
122
response->result .successful = false ;
123
123
response->result .reason = " One or more parameters were not declared before setting" ;
@@ -137,7 +137,7 @@ ParameterService::ParameterService(
137
137
auto descriptors = node_params->describe_parameters (request->names );
138
138
response->descriptors = descriptors;
139
139
} catch (const rclcpp::exceptions::ParameterNotDeclaredException & ex) {
140
- RCLCPP_WARN (rclcpp::get_logger (" rclcpp" ), " Failed to describe parameters: %s" , ex.what ());
140
+ RCLCPP_DEBUG (rclcpp::get_logger (" rclcpp" ), " Failed to describe parameters: %s" , ex.what ());
141
141
}
142
142
},
143
143
qos_profile, nullptr );
0 commit comments