]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/commitdiff
First steer to goal
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Tue, 10 Sep 2019 16:03:40 +0000 (18:03 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Tue, 10 Sep 2019 16:03:40 +0000 (18:03 +0200)
base/main.cc

index 77ab2e1bffdf69059c57ef237c9a3e1d29c62fde..115fa095dfbf748cdbabfd5c471cfb4ef7489454 100644 (file)
@@ -162,6 +162,7 @@ int main()
                         jvi["goal"][2].asFloat()
                 )
         );
+        p.firsts().push(p.goal());
         jvo["init"][0] = p.root()->x();
         jvo["init"][1] = p.root()->y();
         jvo["init"][2] = p.root()->h();