this->ps().x2() - this->ps().x1()
);
while (h < 0) h += 2 * M_PI;
- x += this->gc().dr() * cos(h + M_PI);
- y += this->gc().dr() * sin(h + M_PI);
+ x += 2 * this->gc().dr() * cos(h);
+ y += 2 * this->gc().dr() * sin(h);
#else
// Backward parking
double entry_width = edist(
// zig-zag out from the slot
this->cc() = BicycleCar(this->gc());
this->cc().sp(0.1);
+ lm.push_back(BicycleCar(this->cc()));
while (!this->left()) {
while (!this->collide() && !this->left()) {
this->cc().next();