Installation#
This page summarizes user installation. The source of truth is:
Note
If command behavior differs from this page, follow INSTALL.md first.
1. Clone and prerequisites#
git clone https://github.com/Royalvice/OmniNav.git
cd OmniNav
git lfs install
git submodule update --init external/Genesis
git submodule update --init external/genesis_ros
cd external/Genesis
git submodule update --init doc
cd ../..
git lfs pull
2. Pure Python environment#
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cuxxx
pip install -r requirements.txt
pip install -e .
Tip
python -m style launch is recommended for examples under examples/getting_started:
python -m examples.getting_started.run_getting_started
4. Verify#
python -c "import omninav; print('omninav import ok')"
python examples/05_waypoint_navigation.py --test-mode --smoke-fast --max-steps 40 --no-show-viewer