# BotBrain **Repository Path**: xhamigua/BotBrain ## Basic Information - **Project Name**: BotBrain - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-01 - **Last Updated**: 2026-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
One Brain, any Bot.
BotBrain is a modular collection of open source software and hardware components that lets you drive, see, map, navigate (manually or autonomously), monitor, and manage legged (quadrupeds, bipeds and humanoids) or wheeled ROS2 robots from a simple but powerful web UI. The hardware gives you 3D printable mounts and an outer case so you can put BotBrain on your robot without guesswork.
- Designed around Intel RealSense D435i and the NVIDIA Jetson line
- Officially supported boards: Jetson Nano, Jetson Orin Nano (support for AGX and Thor coming soon)
- Everything is modular - you don't need to run every module (some heavy AI modules require Orin AGX)
πΉ Watch BotBrain intro video πΉ
πΉ Watch BotBrain complete 1 hour of autonomous patrols in our office
![]() Dashboard & Fleet ControlComplete dashboard to see status, robot info and quickly jump to other sections |
![]() CockPitPredefined control page with full front/back camera, 3D model, map and navigation as well as quick controls |
![]() My UICustomizable control interface with all the features of cockpit |
![]() MissionsCreate missions for the robot to execute and navigate autonomously |
![]() HealthView BotBrain's complete health: CPU/GPU/RAM usage, state machine nodes control and status, wifi connection control |
![]() User ProfileCustomize the look and feel of BotBrain, set custom colors, and speed profiles |

Quick to 3D print, easy to build, and designed to snap onto any robot. Get your robot running with BotBrain in less than 30 minutes.
πΉ Watch BotBrain hardware assembly guide
## Compleate features list ### Multi-Robot Platform Support - **Unitree Go2 & Go2-W** - Quadruped robots with full hardware interface and control - **Unitree G1** - Humanoid with upper-body pose control and FSM transitions - **DirectDrive Tita** - Biped with full control - **Custom robots** - Extensible framework for adding any ROS2-compatible platform - **Legged & wheeled** - Architecture supports both locomotion types ### Hardware & Sensors - **3D printable enclosure** - Snap-fit design with robot-specific mounting adapters (Go2, G1, and Direct drive Tita) - **Intel RealSense D435i** - Dual camera support for viewing and SLAM/Navigation - **IMU & odometry** - Real-time pose estimation from all supported platforms - **Battery monitoring** - Per-robot battery state with runtime estimation ### AI & Perception (Coming Soon) - **YOLOv8/v11 object detection** - 80+ classes, TensorRT-optimized, real-time tracking on BotBrain (Coming Soon) - **ROSA natural language control** - Conversational robot commands via LLM - **Detection history** - Searchable log with image and information / description (Coming Soon) ### Autonomous Navigation - **RTABMap SLAM** - Visual mapping with single or dual RealSense D435i cameras - **Nav2 integration** - Path planning, dynamic obstacle avoidance, recovery behaviors - **Mission planning** - Create and execute multi-waypoint autonomous patrols - **Click-to-navigate** - Set goals directly on the map interface - **Map management** - Save, load, switch, and set home positions ### System Orchestration - **Lifecycle management** - Coordinated node startup/shutdown with dependency ordering - **State machine** - system states with automatic on/off - **Priority-based velocity control** - 6-level command arbitration (joystick > nav > AI) - **Dead-man switch** - Hardware/software safety lock for all motion commands - **Emergency stop** - Comprehensive e-stop sequence ### Control Interfaces - **CockPit** - Pre-configured control page with cameras, 3D model, map, and quick actions - **My UI** - Drag-and-drop customizable dashboard with resizable widgets - **Virtual joysticks** - Touch/mouse dual-stick control with velocity tuning - **Gamepad support** - PS5, Xbox or generic joystick with custom button mapping and mode switching - **Keyboard control** - WASD controls - **Speed profiles** - Multiple velocity presets for different operational modes (Beginner, Normal and Insane mode) - **Robot actions** - Stand/sit, lock/unlock, gait selection, lights, mode transitions ### Camera & Video - **Multi-camera streaming** - Dynamic discovery for front, rear, and custom topics - **H.264/H.265 codecs** - Resolution scaling, frame rate control, bandwidth optimization - **In-browser recording** - Record video from cameras and save them to your downloads folder - **3D visualization** - URDF-based robot model with laser scan overlay and navigation path ### System Monitoring - **Jetson stats** - Board model, JetPack version, power mode, uptime - **CPU/GPU monitoring** - Per-core usage, frequency, memory, thermal throttling - **Power tracking** - Per-rail voltage, current, and wattage with peak detection - **Thermals & fans** - CPU/GPU/SOC temps with fan speed control - **Storage & memory** - Disk usage alerts, RAM/swap monitoring ### Networking & Fleet - **WiFi control panel** - Network scanning, switching, and signal monitoring - **Connection modes** - WiFi, Ethernet, 4G, hotspot with latency tracking - **Multi-robot fleet** - Simultaneous connections, fleet-wide commands, status dashboard - **Diagnostics** - Node health, error/warning logs, state machine visualization ### Customization & UX - **Light/dark themes** - Custom accent colors, persistent preferences - **Responsive layouts** - Mobile, tablet, and desktop with touch support - **User profiles** - Avatar, display name, theme color via Supabase Auth - **Multi-language** - English and Portuguese with regional formats - **Audit logging** - Searchable event history across 10+ categories with CSV export - **Activity analytics** - Usage heatmaps and robot utilization tracking ## Table of Contents - [Overview](#overview) - [Project Structure](#project-structure) - [Requirements](#requirements) - [Installation](#installation) - [Hardware Setup](#1-hardware-setup) - [Supabase Setup](#2-supabase-setup) - [Software Setup](#3-software-setup) - [Frontend Development](#frontend-development) - [Features](#features) - [Configuration](#configuration) - [Custom Robots](#add-support-for-other-robots--custom-robots) - [Troubleshooting](#troubleshooting) - [Contributing](#contributing) - [License](#license--citation) ## Overview BotBrain consists of three main components: ### Hardware A 3D printable enclosure with internal mounts designed to house an NVIDIA Jetson board and two Intel RealSense D435i cameras. The modular design allows you to attach BotBrain to various robot platforms without custom fabrication. ### Frontend A Next.js 15 web dashboard built with React 19 and TypeScript. It provides real-time robot control, camera streaming, map visualization, mission planning, system monitoring, and fleet managementβall accessible from any browser on your network. ### Robot (ROS2 Workspace) A collection of ROS2 Humble packages that handle: - **Bringup & Orchestration** (`bot_bringup`) - System launch and coordination - **Localization** (`bot_localization`) - RTABMap-based SLAM for mapping and positioning - **Navigation** (`bot_navigation`) - Nav2 integration for autonomous movement - **Perception** (`bot_yolo`) - YOLOv8/v11 object detection - **Robot Drivers** - Platform-specific packages for Unitree Go2/G1, DirectDrive Tita, and custom robotsJoin our discord server for discussion on BotBrain and Robotics
--- ## Project Structure ``` BotBrain/ βββ frontend/ # Next.js 15 web dashboard (React 19, TypeScript) βββ botbrain_ws/ # ROS 2 Humble workspace β βββ src/ β βββ bot_bringup/ # Main launch & system orchestration β βββ bot_custom_interfaces/# Custom ROS 2 messages, services, actions β βββ bot_description/ # URDF/XACRO models & robot_state_publisher β βββ bot_jetson_stats/ # Jetson hardware monitoring β βββ bot_localization/ # RTABMap SLAM β βββ bot_navigation/ # Nav2 autonomous navigation β βββ bot_rosa/ # ROSA AI natural language control β βββ bot_state_machine/ # Lifecycle & state management β βββ bot_yolo/ # YOLOv8/v11 object detection β βββ g1_pkg/ # Unitree G1 support β βββ go2_pkg/ # Unitree Go2 support β βββ joystick-bot/ # Game controller interface β βββ tita_pkg/ # DirectDrive Tita robot support βββ hardware/ # 3D printable enclosure (STL/STEP/3MF) βββ docs/ # Documentation ``` --- ## Requirements ### Hardware | Component | Requirement | |-----------|-------------| | **Compute** | NVIDIA Jetson (Nano, Orin Nano, or AGX series) | | **Cameras** | 2x Intel RealSense D435i | | **Robot** | ROS2 Humble robot or Unitree Go2 and Go2-W, Unitree G1, Direct Drive Tita, or [custom robot](botbrain_ws/README.md#creating-a-custom-robot-package) | | **Network** | Ethernet or WiFi connection | ### Software | Component | Requirement | |-----------|-------------| | **OS** | JetPack 6.2 (Ubuntu 22.04) recommended | | **Container** | Docker & Docker Compose | | **Node.js** | v20+ (for local frontend development only) | --- ## Installation BotBrain has two main components: **hardware** (3D printed enclosure and internal components) and **software** (frontend web app and ROS2 workspace). ### 1. Hardware Setup 3D print the enclosure and assemble the electronics. **Key Parts:** 3D printer, PLA filament, NVIDIA Jetson, 2x RealSense D435i, voltage converter. > **[Hardware Assembly Guide](hardware/README.md)** - Detailed instructions on how to build your BotBrain > > **[Complete Assembly Video](https://youtu.be/xZ5c619bTEQ)** - Full step-by-step video walkthrough of the BotBrain assembly process ### 2. Supabase Setup The web dashboard requires Supabase for authentication and data storage. You'll need to create your own free Supabase project. > **[Supabase Setup Guide](docs/SUPABASE_SETUP.md)** - Complete instructions with database schema **Quick summary:** 1. Create a project at [supabase.com](https://supabase.com) 2. Run the SQL migrations from the setup guide 3. Copy your API keys for the next step ### 3. Software Setup > **[G1 WiFi Setup Guide](docs/g1-wifi-setup.md)** - If you are using G1 robot, please refeer to this docs before. #### External Dependencies **Operating System:** - **NVIDIA JetPack 6.2** (recommended) - Other Linux distributions may work but are not officially supported **Docker & Docker Compose:** Required for containerized deployment: 1. Install Docker: ```bash # Add Docker's official GPG key: sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # Add the repository to Apt sources: echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update # Install Docker packages: sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin ``` See [official Docker installation guide](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository) for more details. 2. Enable Docker without sudo: ```bash sudo groupadd docker sudo usermod -aG docker $USER newgrp docker ``` See [post-installation steps](https://docs.docker.com/engine/install/linux-postinstall/) for more details. #### Installation Steps **Step 1: Clone the Repository** ```bash git clone https://github.com/botbotrobotics/BotBrain.git cd BotBrain ``` **Step 2: Run Installation Script** The automated installation script will configure your robot and set up the autostart service: ```bash sudo ./install.sh ``` More details about the information asked in the installer can be found [here](docs/installation-guide.md) **Step 3: Reboot the System** ```bash sudo reboot ``` Once rebooted, the system will automatically start the Docker containers for all ROS2 nodes and the web server. **Step 4: Access the Web Interface** | Access Method | URL | |---------------|-----| | Same computer | `http://localhost` | | Network access | `http://
Made with π in Brazil