bool RRTS::should_finish()
{
// decide finish conditions (maybe comment some lines)
- if (this->icnt_ > 999) return true;
- if (this->scnt_ > 10) return true;
+ //if (this->icnt_ > 999) return true;
+ if (this->scnt_ > 5) return true;
if (this->gf()) return true;
// but continue by default
return false;
bool RRTS::should_break()
{
// decide break conditions (maybe comment some lines)
- if (this->scnt_ - this->pcnt_ > 2) return true;
+ //if (this->scnt_ - this->pcnt_ > 2) return true;
// but continue by default
return false;
}