We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce412e commit a28d84bCopy full SHA for a28d84b
1 file changed
src/lib/servoarray.cpp
@@ -31,6 +31,7 @@ ServoArray::ServoArray(const std::string& name, const DriverParams& params, Driv
31
32
for (const auto& p : manager.config().offset().offsets()) {
33
if (p.first >= this->size()) {
34
+ // TODO: ignore this with warning
35
throw std::runtime_error("Offset index out of range");
36
}
37
0 commit comments