起動手順
各コンポーネント(smabo-brain / smabo-web / smabo-app / esp32)の起動・接続手順をまとめた共通ページです。各ガイドの「動作手順」から参照されます。
スマホ、PC、SBC、ESP32は全て「同一ネットワーク」に接続した状態で、以下手順を実行してください。
smabo-brainの起動
Section titled “smabo-brainの起動”最初に、PC/SBCからsmabo-brainを起動します。
cd ~/smabo-brainpython3 -m brainsmabo-brain-rosの起動
Section titled “smabo-brain-rosの起動”最初に、PC/SBCからsmabo-brain-rosを起動します。
cd ~/smabo-brain-rosdocker compose upsmabo-webの起動
Section titled “smabo-webの起動”次に、PCからsmabo-webを起動します。
cd ~/smabo-webnpm run devこの状態で、ブラウザからhttp://localhost:5173にアクセスしてください。
smabo-brain <-> smabo-webの接続
Section titled “smabo-brain <-> smabo-webの接続”smabo-webアクセス時に、右下に「Brain connected」と表示されればOKです。

smabo-brain-ros <-> smabo-webの接続
Section titled “smabo-brain-ros <-> smabo-webの接続”smabo-webは、Navigationタブの「Start SLAM」「Start Navigation」や、Motion Planタブの「Start Motion Plan」を押したときに、smabo-brain-rosへ自動で接続します。接続後、インジケーターが緑色になればOKです。

smabo-appの接続
Section titled “smabo-appの接続”smabo-appを起動し、しばらくして「Brain connected」と表示されればOKです。

smabo-brain <-> esp32の接続
Section titled “smabo-brain <-> esp32の接続”smabo-webの「Config」タブにて、「WS (brain <-> ESP32)」の右側にある「Ping」ボタンをクリックし、OKと表示されれば良いです。

smabo-web <-> esp32の接続
Section titled “smabo-web <-> esp32の接続”「Config」タブの「REST (web <-> ESP32)」の右の「Ping」ボタンをクリックし、OKと表示されれば良いです。
