]> rtime.felk.cvut.cz Git - hubacji1/psp.git/commitdiff
Scale speed for fer perpendicular
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Fri, 23 Aug 2019 19:23:47 +0000 (21:23 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Fri, 23 Aug 2019 19:23:47 +0000 (21:23 +0200)
src/psp.cc

index c64acd01c8dc7677c75febbd0b6333d7f574a2c1..395deecffc0436ea5cb4cc1f096978a2bf302708 100644 (file)
@@ -384,9 +384,9 @@ void PSPlanner::fer_perpendicular()
         this->cc().h(cc_h);
         // get current car `cc` out of slot
         if (this->forward())
-                this->cc().sp(-0.1);
+                this->cc().sp(-0.01);
         else
-                this->cc().sp(0.1);
+                this->cc().sp(0.01);
         this->cc().st(this->cc().wb() / this->cc().mtr());
         if (this->ps().right())
                 this->cc().st(this->cc().st() * -1);