Command Line Interface (CLI) and other tools for developing, testing, debugging, and data visualization of line follower robots.
For a Graphic User Interface (GUI) Controller, use the Dashboard.
GitHub Repository: Tamandutech/LineFollower_CCenter_Code.
# On macOS and Linux.
$ curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# With pip.
$ pip install uv$ uv tool install ruffThe main application provides a CLI interface for communicating with IoT devices using the Nordic UART Service:
$ uv run src/main.pyFeatures:
- 🔍 Automatic BLE device scanning
- 📱 Device selection interface
- 📤 Send messages to connected IoT devices
- 📨 Receive and display messages from devices
- 🔌 Automatic connection management
- 🎨 Colorized terminal output
Usage:
- Run the script and select a device from the list
- Type messages to send to the connected device
- Messages from the device will appear automatically
- Type
quit,exit, orcloseto disconnect
Test the Nordic UART Service implementation:
$ uv run src/test_nus.pyhttps://docs.astral.sh/uv/guides/integration/jupyter/
$ uv run --with jupyter jupyter lab