gearSetup BrainPack

System Setup

This guide walks you through setting up a fresh Nvidia Thor system running JetPack 7.0, to run OM1. Follow each section in order and verify installations as you go.

Quick Checklist

  • Python 3.10+ installed

  • uv package manager

  • Docker

  • Docker Compose

  • Audio support (PyAudio + PortAudio)

  • FFmpeg for video processing

  • Chrome browser

  • ROS2

  • CycloneDDS

uv

Use curl to download and install uv:

curl -LsSf https://astral.sh/uv/install.sh | sh

Docker

Docker is pre-installed on JetPack 7.0 systems, but you need to configure permissions:

You should see docker in the list of groups. If not, log out and log back in, then check again.

docker-compose

Download and install Docker Compose with the following commands:

Make it executable:

Verify the installation:

Poetry (Optional)

Install Poetry using the official installation script:

Install poetry shell for the environment management:

Pyaudio (For microphone support)

Required for microphone input and audio processing:

FFmpeg (For video processing)

Install FFmpeg using the following command:

Chrome (For web interface)

Download and install Google Chrome:

Hold snap updates to prevent automatic updates:

ROS2 (Optional)

Follow the official ROS2 installation guide for Ubuntu: ROS2 Installationarrow-up-right.

After installing ROS2, source the ROS2 setup script:

You can add this line to your ~/.bashrc file to source it automatically on terminal startup.

CycloneDDS Binary (Optional)

Install CycloneDDS for ROS2 communication:

Now, set CycloneDDS as the default RMW implementation by adding the following line to your ~/.bashrc file:

You can restart your ROS2 daemon with the following command:

CycloneDDS Build from Source (Optional)

If you prefer to build CycloneDDS from source, use the following commands:

Then you need to set the following environment variables in your ~/.bashrc file:

Configure Network Settings (Unitree Only)

You need to open the network settings and find the network interface that the robot connected. In IPv4 settings, set the method to Manual and add the following IP address:

192.168.123.xxx

and set the subnet mask to

255.255.255.0

CycloneDDS Configuration (Optional)

You can create a CycloneDDS configuration file to customize its behavior. Create a file named cyclonedds.xml in your home directory:

Then, set the CYCLONEDDS_URI environment variable in your ~/.bashrc file:

v4l2-ctl (For camera configuration)

Install v4l2-ctl using the following command:

For next steps, you will need the BrainPack. If you don't have the BrainPack yet, you can skip this.

Follow the guide here, to proceed.

Last updated

Was this helpful?