if (this->ps().right())
dts = - M_PI / 2;
if (this->ps().parallel()) {
- dts *= 0.99; // precision workaround
x += (this->gc().w() / 2 + 0.01) * cos(h + dts);
x += (this->gc().dr() + 0.01) * cos(h);
y += (this->gc().w() / 2 + 0.01) * sin(h + dts);
}
// BFS - find entry current car `cc` and corresponding goal car `gc`
unsigned int iter_cntr = 0;
- while (!q.empty() && iter_cntr < 9) {
+ while (!q.empty() && iter_cntr < 100) {
this->cc() = BicycleCar(q.front());
q.pop();
while (