]> rtime.felk.cvut.cz Git - hubacji1/psp.git/commitdiff
Fix possible goal for right parallel slot
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 15 Apr 2020 08:57:30 +0000 (10:57 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 15 Apr 2020 08:57:30 +0000 (10:57 +0200)
src/psp.cc

index 583bad203cdd0b67541542f10dd5e9ce6ef58a44..f1965bf49974b7f81c318af398dd88d4a1aa4803 100644 (file)
@@ -212,8 +212,6 @@ std::vector<BicycleCar> PSPlanner::possible_goals(
         else
                 this->cc().sp(-1);
         this->cc().sp(this->cc().sp() * dist);
-        if (this->ps().right())
-                this->cc().st(this->cc().st() * -1);
         BicycleCar orig_cc(this->cc());
         for (unsigned int i = 0; i < cnt; i++) {
                 this->cc().next();