File tree 3 files changed +15
-0
lines changed
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,11 @@ bool ExponentialFilter<T>::configure()
92
92
parameter_handler_.reset ();
93
93
return false ;
94
94
}
95
+ catch (...) {
96
+ RCLCPP_ERROR ((*logger_), " Caught unknown exception while configuring Exponential filter" );
97
+ parameter_handler_.reset ();
98
+ return false ;
99
+ }
95
100
}
96
101
parameters_ = parameter_handler_->get_params ();
97
102
Original file line number Diff line number Diff line change @@ -118,6 +118,11 @@ bool LowPassFilter<T>::configure()
118
118
parameter_handler_.reset ();
119
119
return false ;
120
120
}
121
+ catch (...) {
122
+ RCLCPP_ERROR ((*logger_), " Caught unknown exception while configuring LowPass filter" );
123
+ parameter_handler_.reset ();
124
+ return false ;
125
+ }
121
126
}
122
127
parameters_ = parameter_handler_->get_params ();
123
128
lpf_ = std::make_shared<control_toolbox::LowPassFilter<T>>(
Original file line number Diff line number Diff line change @@ -95,6 +95,11 @@ bool RateLimiter<T>::configure()
95
95
parameter_handler_.reset ();
96
96
return false ;
97
97
}
98
+ catch (...) {
99
+ RCLCPP_ERROR ((*logger_), " Caught unknown exception while configuring Rate Limiter filter" );
100
+ parameter_handler_.reset ();
101
+ return false ;
102
+ }
98
103
}
99
104
parameters_ = parameter_handler_->get_params ();
100
105
limiter = std::make_shared<control_toolbox::RateLimiter<T>>(
You can’t perform that action at this time.
0 commit comments