From: Jiri Hubacek Date: Wed, 4 Jul 2018 09:52:08 +0000 (+0200) Subject: Update readme X-Git-Tag: v0.1.0~12 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/hubacji1/iamcar.git/commitdiff_plain/6422984a433884a1c08db13b715e233dda5d838a Update readme --- diff --git a/README.md b/README.md index 75e345c..b1f7d67 100644 --- 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.