X-Git-Url: http://rtime.felk.cvut.cz/gitweb/hubacji1/bcar.git/blobdiff_plain/90b43d4539fb17d137cbdf5fd5bd0931e5ad22af..90aaab774560abaca0b0088ab9a1ac6b8b412b79:/src/pslot.cc diff --git a/src/pslot.cc b/src/pslot.cc index 6966377..4644375 100644 --- a/src/pslot.cc +++ b/src/pslot.cc @@ -209,7 +209,6 @@ ParkingSlot::steer_in_slot(BicycleCar c) c.st(c.st() * -1.0); } } - path.push_back(c); return path; } @@ -266,8 +265,7 @@ PoseRange ParkingSlot::recompute_entry(PoseRange p) { p.rotate(Point(0.0, 0.0), this->h()); - p.x(p.x() + this->lrx()); - p.y(p.y() + this->lry()); + p.translate(this->border_[0]); if (!this->right()) { p.reflect(this->entry_); }