ダウンロードと
インストール
- JDKのインストール
Kikoriをインストールする前に予め、JDKのVer.10以上をインストールしておいて下さい。 - ダウンロード
Kikoriはこちらのサイトから入手可能です。バイナリとソースからビルドする方法があります。- ソース
Readme.mdを参考にしながらビルドして下さい。 - バイナリ
バイナリはこちらからダウンロードします。
- ソース
- インストール
ここではlatestバイナリについて説明します。ダウンロードしたtar-ballを適当なディレクトリに展開します。web-masterは ~/Documents/ 以下に code を作り(~/Documents/code/)に展開しています。
ダウンロードしたディレクトリ構造は以下になります。
12345678/home/ooo/Documents/code/kikori-system-master/├── kikori├── kikori-x.x.x-SNAPSHOT.jar├── modules│ ├── bme280.clj│ ├── d6t44l.clj│ └── gps.clj└── system.clj - system.cljの書き替え
使用するシステムに応じて、system.cljを書き替えます。書き替えと言ってもUARTで使うデバイスファイルの1行を書き替えるのみです。- Macintosh
1234;; If no :module is specified, it is queried by the second arity and called the read function defined on that.(config :UART {:path "/dev/tty.usbmodem1421" :baud-rate 9600});; Will be called read function by :module(place :UART {:name "GPS" :module :GPS}) - RasPi/Linux
1234;; If no :module is specified, it is queried by the second arity and called the read function defined on that.(config :UART {:path "/dev/ttyACM0" :baud-rate 9600});; Will be called read function by :module(place :UART {:name "GPS" :module :GPS})
- Macintosh