]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/commitdiff
Start from original goal
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 12 Jun 2019 08:32:43 +0000 (10:32 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 12 Jun 2019 08:34:13 +0000 (10:34 +0200)
The problem is with parallel parking.

base/main.cc

index 3b1751d88e3a0ce7b324209cb2a4575cd5767be3..9779164f37564762067fa219b8f7c9afca4c0447 100644 (file)
@@ -272,6 +272,8 @@ int main()
                         p.tlog(p.findt());
                 }
         }
+        if (ps.slotType() == PARALLEL)
+                p.tlog(p.findt(p.slot_cusp().back()));
 #elif defined USE_PTHREAD
         bool gf = false;
         RRTNode *ron = nullptr;