1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntuでsumoの「Tutorials/quick start」を実行してみる

Last updated at Posted at 2019-10-24

Tutorials/quick startを実行する

続きです
まだ見てなかったら先に見てください。

sumo公式-Tutorials/quick startを実行してみる

環境確認

公式サイトには**/docs/tutorial/quickstart**のディレクトリにあるよと書いてある。
実際にみてみる

cd $SUMO_HOME
ls
bin data tools

これしか表示されなかった。
インストール時にsumo-docをインストールしたどこにあるのか探す。

dpkg -L sumo-doc |grep sumo-doc
# 以下のものがでる
/usr/share/doc/sumo-doc ←見つけた
/usr/share/doc/sumo-doc/changelog.Debian.gz
/usr/share/doc/sumo-doc/examples

移動してみる

# 移動してみる
cd /usr/share/doc/sumo-doc
# ファイル確認
ls
changelog.Debian.gz  copyright  doxygen  examples  pydoc  tutorial

tutorial発見

cd tutorial/quickstart/data
ls
quickstart.con.xml  quickstart.edg.xml  quickstart.netccfg  quickstart.net.xml.gz  quickstart.nod.xml  quickstart.rou.xml.gz  quickstart.sumocfg  quickstart.typ.xml

これでアプリケーションが動きそう。ここでquickstart.net.xml.gzquickstart.rou.xml.gzが圧縮(gz)されていたので解凍する

解凍
gzip -d quickstart.net.xml.gz
gzip -d quickstart.rou.xml.gz

実行

準備おっけい

実行
sumo-gui quickstart.sumocfg 

Screenshot from 2019-10-24 18-39-09.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?