]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/commitdiff
Update readme
authorJiri Hubacek <hubacji1@fel.cvut.cz>
Wed, 4 Jul 2018 09:52:08 +0000 (11:52 +0200)
committerJiri Hubacek <hubacji1@fel.cvut.cz>
Wed, 4 Jul 2018 09:52:08 +0000 (11:52 +0200)
README.md

index 75e345c87d9e0595fa485c39b2ebb214f935c15d..b1f7d67d70bd5933969cc0355150d5cc03276970 100644 (file)
--- a/README.md
+++ b/README.md
@@ -19,40 +19,12 @@ make
 [CMake]: https://cmake.org/
 
 # Run
+The scenarios may be run and plot by the following example command from root:
 ```
-{
-        "init": [0, 0, 0],
-        "goal": [9, 9, 0],
-        "obst": [
-                {
-                        "segment": [
-                                [3, 3],
-                                [7, 3]
-                        ]
-                },
-                {
-                        "segment": [
-                                [7, 3],
-                                [7, 7]
-                        ]
-                },
-                {
-                        "segment": [
-                                [7, 7],
-                                [3, 7]
-                        ]
-                },
-                {
-                        "segment": [
-                                [3, 7],
-                                [3, 3]
-                        ]
-                }
-        ]
-}
+SC=lpar && cat $SC.json | ./build/go_car_go > traj.json &&
+python plot.py $SC.json traj.json
 ```
 
-
 # Scenarios
 The `go_car_go` program expects json formatted on std input. The output is json
 formatted to std output.