How kcy0428/c40 works
This repository is an investigation and design project for a one-click floor-change workflow on a Keenon C40 cleaning robot; it does not contain the planned app implementation. The README describes the intended sequence: select a floor, switch maps, set a position, confirm localization, and start cleaning. Research documents and extracted API, configuration, and database references inform that design. The only sampled runtime code is a WebView-to-native JavaScript bridge. The workflow links below reflect the README’s documented sequence, not verified implementation calls; unsampled internals are represented only where the README identifies them.
Main entry points: 01_robot_investigation.md Robot investigation · 03_app_design.md Floor selection · 02_clean_app_internals.md Cleaning app internals · WebViewJavascriptBridge.js WebView bridge
Components 12
Planned workflow
- Floor selection
docs/03_app_design.md - Map switching
docs/03_app_design.md - Position setting
docs/03_app_design.md - Localization check
docs/03_app_design.md - Cleaning start
docs/03_app_design.md
Robot research
- Robot investigation
docs/01_robot_investigation.md - Cleaning app internals
docs/02_clean_app_internals.md - API references
reference/api - Map and pose data
reference/db
App interface
- WebView bridge
reference/api/WebViewJavascriptBridge.js
Other components
- Operator
- Android app interface
Connections 9
- Operator → Floor selection: selects
README.md - Floor selection → Map switching: then switches
README.md - Map switching → Position setting: then sets
README.md - Position setting → Localization check: then confirms
README.md - Localization check → Cleaning start: then starts
README.md - Robot investigation → Cleaning app internals: informs
README.md - Cleaning app internals → API references: documents interfaces
README.md - Robot investigation → Map and pose data: documents robot data
README.md - WebView bridge → Android app interface: calls handlers
reference/api/WebViewJavascriptBridge.js