We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afa13f3 commit dfac1d4Copy full SHA for dfac1d4
control_toolbox/include/control_toolbox/pid.hpp
@@ -135,11 +135,11 @@ struct AntiWindupStrategy
135
"AntiWindupStrategy 'back_calculation' requires a valid positive tracking time constant "
136
"(tracking_time_constant)");
137
}
138
- if (i_min >= i_max)
+ if (i_min > i_max)
139
{
140
throw std::invalid_argument(
141
fmt::format(
142
- "PID requires i_min < i_max if limits are finite (i_min: {}, i_max: {})", i_min, i_max));
+ "PID requires i_min <= i_max if limits are finite (i_min: {}, i_max: {})", i_min, i_max));
143
144
if (
145
type != NONE && type != UNDEFINED && type != LEGACY && type != BACK_CALCULATION &&
0 commit comments