Setup¶
This is the general software setup process with slight variations on different platforms. For additional setup of specific platforms such as Jetson Orin, ROG Ally X, and Steam Deck, please refer to the corresponding sections.
Set up the Repo¶
Run the following commands to clone the repo:
mkdir ~/projects
cd ~/projects
git clone git@github.com:hshi74/toddlerbot.git
cd toddlerbot
git submodule update --init --recursive
Follow the steps on this page to set up SSH keys for GitHub if needed.
Install Miniforge¶
If conda
is not installed yet, we recommend installing Miniforge.
Run the following commands to determine your system architecture:
uname -m
Based on your system architecture, download the appropriate Miniforge installer. For example,
for a Linux machine with arm64
architecture, download Linux aarch64 (arm64)
from their website.
Do NOT run the install script with sudo.
Answer yes
to all the options.
Run source ~/.bashrc
to activate the conda environment.
Set up Conda Environment¶
conda create --name toddlerbot python=3.10
conda activate toddlerbot
pip install -e toddlerbot/brax
pip install -e ".[linux]"
CONDA_SUBDIR=osx-arm64 conda create -n toddlerbot python=3.10
conda activate toddlerbot
conda config --env --set subdir osx-arm64
pip install -e toddlerbot/brax
pip install -e ".[macos]"
CONDA_SUBDIR=osx-64 conda create -n toddlerbot python=3.10
conda activate toddlerbot
conda config --env --set subdir osx-64
pip install -e toddlerbot/brax
pip install -e ".[macos]"
conda create --name toddlerbot python=3.10
conda activate toddlerbot
pip install -e toddlerbot/brax
pip install -e ".[windows]"
conda create --name toddlerbot python=3.10
conda activate toddlerbot
pip install -e toddlerbot/brax
pip install -e ".[jetson]"
conda create --name toddlerbot python=3.10
conda activate toddlerbot
pip install -e toddlerbot/brax
pip install -e "."
conda create --name toddlerbot python=3.10
conda activate toddlerbot
pip install -e toddlerbot/brax
pip install -e "."