+/*
+ * SPDX-FileCopyrightText: 2021 Jiri Vlasak <jiri.vlasak.2@cvut.cz>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
#include "rrtext.hh"
namespace rrts {
bool
RRTExt17::should_finish() const
{
- return this->goal_.p() != nullptr || this->icnt_ > 1000;
+ return this->goal_.p() != nullptr || this->icnt_ > this->_imax;
}
} // namespace rrts