Skip to content

Startup Procedure

Startup and connection procedures for each component (smabo-brain / smabo-web / smabo-app / esp32). Referenced from "Operation" sections in individual guides.

All devices (smartphone, PC, SBC, ESP32) must be connected to the same network before proceeding.

First, launch smabo-brain from your PC or SBC.

cd ~/smabo-brain
python3 -m brain

First, launch smabo-brain-ros from your PC/SBC.

cd ~/smabo-brain-ros
docker compose up

Next, launch smabo-web from your PC.

cd ~/smabo-web
npm run dev

Then open your browser and access http://localhost:5173.

When smabo-web loads, "Brain connected" should appear in the bottom-right corner.

Brain connected shown at the bottom right of smabo-web

smabo-web connects to smabo-brain-ros automatically when you press "Start SLAM" or "Start Navigation" on the "Navigation" tab, or "Start Motion Plan" on the "Motion Plan" tab. You're set once the indicator turns green.

The green indicator after smabo-web's Navigation tab has connected to smabo-brain-ros

Launch smabo-app and wait a moment. When "Brain connected" appears, the connection is established.

Brain connected shown in smabo-app

Click the "Ping" button to the right of "WS (brain <-> ESP32)". If "OK" is displayed, the connection is successful.

WebSocket ping from smabo-web to the ESP32 returning OK

In the "Config" tab, click the "Ping" button to the right of "REST (web <-> ESP32)". If "OK" is displayed, the connection is successful.

REST ping from smabo-web to the ESP32 returning OK