初回起動時
ログファイルの初期パスはH:になっているのでご自分の環境に合わせて変更してください。
次回起動時は変更したパスが適用されます。
ログファイル
ログファイルはカンマ区切りのCSVファイルで構成されています。
1行目は変数名、2行目以降に値が記録されています。
変数の増減、変数名に制限はありません。ただしコース描画をするには時間、速度、角速度が必要になります。
CSVファイル例
ファイル名は半角数字+拡張子で作成してください。
例
100.csv
cntlog,patternTrace,checkMarker,encCurrentN,encTotalN,angleSensor,modeCurve,gyroVal_Z,angle_Z,rawCurrentR,rawCurrentL,
7,11,0,1,11,-97,0,232,1,-18,-243,
17,11,0,9,73,-119,0,12,-2,-21,10,
47,11,0,18,512,-107,0,-277,-2,2,-123,
コース描画
コース描画には時間と速度、角速度の情報が必要になります。
MATLAB Appでは変数名で認識する事ができるのでコード内の時間、速度、角速度の変数名を修正してください。
App Designerを起動し、設計ビューからUIデザイン内の設定タブを開き、各式のテキストエリアを編集してください。
注意事項
- 必ず変数名を最初に書く。
- 演算子、数値の間は半角スペースを1つ入れる。
- 使用できる演算子は乗算、除算のみです。
例
encCurrentN / 60.074 * 1000
初期フォルダ
アプリ起動時に読み込むフォルダを設定します。
SDカードをマウントしたときのフォルダパスがおすすめです。
Cite As
Natsuki Kageyama (2026). csvLogAnalysis (https://github.com/Kageyana/robotracelogviewer/releases/tag/1.0.6), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with R2022b to R2023a
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.6.0 | See release notes for this release on GitHub: https://github.com/Kageyana/robotracelogviewer/releases/tag/1.0.6 |
||
| 1.0.3.0 | See release notes for this release on GitHub: https://github.com/Kageyana/robotracelogviewer/releases/tag/1.0.3 |
||
| 1.0.2 | See release notes for this release on GitHub: https://github.com/Kageyana/robotracelogviewer/releases/tag/1.0.2 |
||
| 1.0.1 | 説明文を追記 |
||
| 1.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
